@azure/arm-hybridcompute 4.0.1-alpha.20241114.1 → 4.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/CHANGELOG.md +79 -9
  2. package/README.md +1 -1
  3. package/dist/index.js +4477 -2438
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/extensionMetadataGetSample.js +1 -1
  8. package/dist-esm/samples-dev/extensionMetadataListSample.js +1 -1
  9. package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.d.ts +2 -0
  10. package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.js +44 -0
  12. package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.js.map +1 -0
  13. package/dist-esm/samples-dev/gatewaysDeleteSample.d.ts +2 -0
  14. package/dist-esm/samples-dev/gatewaysDeleteSample.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/gatewaysDeleteSample.js +39 -0
  16. package/dist-esm/samples-dev/gatewaysDeleteSample.js.map +1 -0
  17. package/dist-esm/samples-dev/gatewaysGetSample.d.ts +2 -0
  18. package/dist-esm/samples-dev/gatewaysGetSample.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/gatewaysGetSample.js +39 -0
  20. package/dist-esm/samples-dev/gatewaysGetSample.js.map +1 -0
  21. package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.d.ts +2 -0
  22. package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.js +54 -0
  24. package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.js.map +1 -0
  25. package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.js +53 -0
  28. package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.js.map +1 -0
  29. package/dist-esm/samples-dev/gatewaysUpdateSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/gatewaysUpdateSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/gatewaysUpdateSample.js +40 -0
  32. package/dist-esm/samples-dev/gatewaysUpdateSample.js.map +1 -0
  33. package/dist-esm/samples-dev/licenseProfilesCreateOrUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/licenseProfilesDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/licenseProfilesGetSample.js +1 -1
  36. package/dist-esm/samples-dev/licenseProfilesListSample.js +1 -1
  37. package/dist-esm/samples-dev/licenseProfilesUpdateSample.js +1 -1
  38. package/dist-esm/samples-dev/licensesCreateOrUpdateSample.js +1 -1
  39. package/dist-esm/samples-dev/licensesDeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/licensesGetSample.js +1 -1
  41. package/dist-esm/samples-dev/licensesListByResourceGroupSample.js +1 -1
  42. package/dist-esm/samples-dev/licensesListBySubscriptionSample.js +1 -1
  43. package/dist-esm/samples-dev/licensesUpdateSample.js +1 -1
  44. package/dist-esm/samples-dev/licensesValidateLicenseSample.js +1 -1
  45. package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +1 -1
  46. package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +1 -1
  47. package/dist-esm/samples-dev/machineExtensionsGetSample.js +1 -1
  48. package/dist-esm/samples-dev/machineExtensionsListSample.js +1 -1
  49. package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +3 -3
  50. package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.d.ts +2 -0
  51. package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.d.ts.map +1 -0
  52. package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.js +53 -0
  53. package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.js.map +1 -0
  54. package/dist-esm/samples-dev/machineRunCommandsDeleteSample.d.ts +2 -0
  55. package/dist-esm/samples-dev/machineRunCommandsDeleteSample.d.ts.map +1 -0
  56. package/dist-esm/samples-dev/machineRunCommandsDeleteSample.js +39 -0
  57. package/dist-esm/samples-dev/machineRunCommandsDeleteSample.js.map +1 -0
  58. package/dist-esm/samples-dev/machineRunCommandsGetSample.d.ts +2 -0
  59. package/dist-esm/samples-dev/machineRunCommandsGetSample.d.ts.map +1 -0
  60. package/dist-esm/samples-dev/machineRunCommandsGetSample.js +39 -0
  61. package/dist-esm/samples-dev/machineRunCommandsGetSample.js.map +1 -0
  62. package/dist-esm/samples-dev/machineRunCommandsListSample.d.ts +2 -0
  63. package/dist-esm/samples-dev/machineRunCommandsListSample.d.ts.map +1 -0
  64. package/dist-esm/samples-dev/machineRunCommandsListSample.js +54 -0
  65. package/dist-esm/samples-dev/machineRunCommandsListSample.js.map +1 -0
  66. package/dist-esm/samples-dev/machinesAssessPatchesSample.js +1 -1
  67. package/dist-esm/samples-dev/machinesDeleteSample.js +1 -1
  68. package/dist-esm/samples-dev/machinesGetSample.js +2 -2
  69. package/dist-esm/samples-dev/machinesInstallPatchesSample.js +1 -1
  70. package/dist-esm/samples-dev/machinesListByResourceGroupSample.js +1 -1
  71. package/dist-esm/samples-dev/machinesListBySubscriptionSample.js +1 -1
  72. package/dist-esm/samples-dev/networkProfileGetSample.js +1 -1
  73. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetByPrivateLinkScopeSample.js +1 -1
  74. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByPrivateLinkScopeSample.js +1 -1
  75. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeSample.js +1 -1
  76. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  77. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  78. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  79. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  80. package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +1 -1
  81. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  82. package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +1 -1
  83. package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +2 -2
  84. package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
  85. package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
  86. package/dist-esm/samples-dev/privateLinkScopesGetValidationDetailsForMachineSample.js +1 -1
  87. package/dist-esm/samples-dev/privateLinkScopesGetValidationDetailsSample.js +1 -1
  88. package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
  89. package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
  90. package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
  91. package/dist-esm/samples-dev/settingsGetSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/settingsGetSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/settingsGetSample.js +42 -0
  94. package/dist-esm/samples-dev/settingsGetSample.js.map +1 -0
  95. package/dist-esm/samples-dev/settingsPatchSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/settingsPatchSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/settingsPatchSample.js +45 -0
  98. package/dist-esm/samples-dev/settingsPatchSample.js.map +1 -0
  99. package/dist-esm/samples-dev/settingsUpdateSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/settingsUpdateSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/settingsUpdateSample.js +45 -0
  102. package/dist-esm/samples-dev/settingsUpdateSample.js.map +1 -0
  103. package/dist-esm/samples-dev/upgradeExtensionsSample.js +1 -1
  104. package/dist-esm/src/hybridComputeManagementClient.d.ts +4 -1
  105. package/dist-esm/src/hybridComputeManagementClient.d.ts.map +1 -1
  106. package/dist-esm/src/hybridComputeManagementClient.js +6 -3
  107. package/dist-esm/src/hybridComputeManagementClient.js.map +1 -1
  108. package/dist-esm/src/models/index.d.ts +506 -14
  109. package/dist-esm/src/models/index.d.ts.map +1 -1
  110. package/dist-esm/src/models/index.js +24 -0
  111. package/dist-esm/src/models/index.js.map +1 -1
  112. package/dist-esm/src/models/mappers.d.ts +29 -1
  113. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  114. package/dist-esm/src/models/mappers.js +987 -111
  115. package/dist-esm/src/models/mappers.js.map +1 -1
  116. package/dist-esm/src/models/parameters.d.ts +12 -2
  117. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  118. package/dist-esm/src/models/parameters.js +99 -4
  119. package/dist-esm/src/models/parameters.js.map +1 -1
  120. package/dist-esm/src/operations/gateways.d.ts +99 -0
  121. package/dist-esm/src/operations/gateways.d.ts.map +1 -0
  122. package/dist-esm/src/operations/gateways.js +495 -0
  123. package/dist-esm/src/operations/gateways.js.map +1 -0
  124. package/dist-esm/src/operations/index.d.ts +3 -0
  125. package/dist-esm/src/operations/index.d.ts.map +1 -1
  126. package/dist-esm/src/operations/index.js +3 -0
  127. package/dist-esm/src/operations/index.js.map +1 -1
  128. package/dist-esm/src/operations/machineExtensions.d.ts +2 -2
  129. package/dist-esm/src/operations/machineExtensions.js +2 -2
  130. package/dist-esm/src/operations/machineRunCommands.d.ts +81 -0
  131. package/dist-esm/src/operations/machineRunCommands.d.ts.map +1 -0
  132. package/dist-esm/src/operations/machineRunCommands.js +372 -0
  133. package/dist-esm/src/operations/machineRunCommands.js.map +1 -0
  134. package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
  135. package/dist-esm/src/operations/privateLinkScopes.js +1 -1
  136. package/dist-esm/src/operations/settingsOperations.d.ts +45 -0
  137. package/dist-esm/src/operations/settingsOperations.d.ts.map +1 -0
  138. package/dist-esm/src/operations/settingsOperations.js +163 -0
  139. package/dist-esm/src/operations/settingsOperations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/gateways.d.ts +63 -0
  141. package/dist-esm/src/operationsInterfaces/gateways.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/gateways.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/gateways.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  145. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  146. package/dist-esm/src/operationsInterfaces/index.js +3 -0
  147. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  148. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +2 -2
  149. package/dist-esm/src/operationsInterfaces/machineRunCommands.d.ts +56 -0
  150. package/dist-esm/src/operationsInterfaces/machineRunCommands.d.ts.map +1 -0
  151. package/dist-esm/src/operationsInterfaces/machineRunCommands.js +9 -0
  152. package/dist-esm/src/operationsInterfaces/machineRunCommands.js.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/settingsOperations.d.ts +37 -0
  154. package/dist-esm/src/operationsInterfaces/settingsOperations.d.ts.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/settingsOperations.js +9 -0
  156. package/dist-esm/src/operationsInterfaces/settingsOperations.js.map +1 -0
  157. package/package.json +5 -3
  158. package/review/arm-hybridcompute.api.md +389 -0
  159. package/src/hybridComputeManagementClient.ts +14 -2
  160. package/src/models/index.ts +572 -14
  161. package/src/models/mappers.ts +1105 -150
  162. package/src/models/parameters.ts +112 -3
  163. package/src/operations/gateways.ts +641 -0
  164. package/src/operations/index.ts +3 -0
  165. package/src/operations/machineExtensions.ts +2 -2
  166. package/src/operations/machineRunCommands.ts +511 -0
  167. package/src/operations/privateEndpointConnections.ts +1 -1
  168. package/src/operations/privateLinkScopes.ts +1 -1
  169. package/src/operations/settingsOperations.ts +213 -0
  170. package/src/operationsInterfaces/gateways.ts +127 -0
  171. package/src/operationsInterfaces/index.ts +3 -0
  172. package/src/operationsInterfaces/machineExtensions.ts +2 -2
  173. package/src/operationsInterfaces/machineRunCommands.ts +115 -0
  174. package/src/operationsInterfaces/settingsOperations.ts +76 -0
  175. package/tsconfig.json +2 -2
  176. package/types/arm-hybridcompute.d.ts +712 -4
@@ -102,9 +102,9 @@ export declare type AgentConfigurationMode = string;
102
102
  export declare interface AgentUpgrade {
103
103
  /** Specifies the version info w.r.t AgentUpgrade for the machine. */
104
104
  desiredVersion?: string;
105
- /** The correlation ID passed in from RSM per upgrade. */
105
+ /** The correlation ID associated with an agent upgrade operation. */
106
106
  correlationId?: string;
107
- /** Specifies if RSM should try to upgrade this machine */
107
+ /** Specifies if the machine's agent should be upgraded */
108
108
  enableAutomaticUpgrade?: boolean;
109
109
  /**
110
110
  * Specifies the version of the last attempt
@@ -128,6 +128,24 @@ export declare interface AgentUpgrade {
128
128
  readonly lastAttemptMessage?: string;
129
129
  }
130
130
 
131
+ /** Describes properties of Agent Version. */
132
+ export declare interface AgentVersion {
133
+ /** Represents the agent version. */
134
+ agentVersion?: string;
135
+ /** Represents the download link of specific agent version. */
136
+ downloadLink?: string;
137
+ /** Defines the os type. */
138
+ osType?: string;
139
+ }
140
+
141
+ /** Describes AgentVersions List. */
142
+ export declare interface AgentVersionsList {
143
+ /** The list of available Agent Versions. */
144
+ value?: AgentVersion[];
145
+ /** The URI to fetch the next 10 available Agent Versions. */
146
+ nextLink?: string;
147
+ }
148
+
131
149
  /**
132
150
  * Defines values for ArcKindEnum. \
133
151
  * {@link KnownArcKindEnum} can be used interchangeably with ArcKindEnum,
@@ -265,6 +283,24 @@ export declare interface ConnectionDetail {
265
283
  */
266
284
  export declare type CreatedByType = string;
267
285
 
286
+ /** Describes a disk on the machine */
287
+ export declare interface Disk {
288
+ /** The path of the disk. */
289
+ path?: string;
290
+ /** The type of the disk. */
291
+ diskType?: string;
292
+ /** The generated ID of the disk. */
293
+ generatedId?: string;
294
+ /** The ID of the disk. */
295
+ id?: string;
296
+ /** The name of the disk. */
297
+ name?: string;
298
+ /** The size of the disk, in bytes */
299
+ maxSizeInBytes?: number;
300
+ /** The amount of space used on the disk, in bytes */
301
+ usedSpaceInBytes?: number;
302
+ }
303
+
268
304
  /** The resource management error additional info. */
269
305
  export declare interface ErrorAdditionalInfo {
270
306
  /**
@@ -308,12 +344,47 @@ export declare interface ErrorDetail {
308
344
  readonly additionalInfo?: ErrorAdditionalInfo[];
309
345
  }
310
346
 
347
+ /** The error detail. */
348
+ export declare interface ErrorDetailAutoGenerated {
349
+ /**
350
+ * The error code.
351
+ * NOTE: This property will not be serialized. It can only be populated by the server.
352
+ */
353
+ readonly code?: string;
354
+ /**
355
+ * The error message.
356
+ * NOTE: This property will not be serialized. It can only be populated by the server.
357
+ */
358
+ readonly message?: string;
359
+ /**
360
+ * The error target.
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
+ */
363
+ readonly target?: string;
364
+ /**
365
+ * The error details.
366
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
+ */
368
+ readonly details?: ErrorDetailAutoGenerated[];
369
+ /**
370
+ * The error additional info.
371
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
+ */
373
+ readonly additionalInfo?: ErrorAdditionalInfo[];
374
+ }
375
+
311
376
  /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
312
377
  export declare interface ErrorResponse {
313
378
  /** The error object. */
314
379
  error?: ErrorDetail;
315
380
  }
316
381
 
382
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
383
+ export declare interface ErrorResponseAutoGenerated {
384
+ /** The error object. */
385
+ error?: ErrorDetailAutoGenerated;
386
+ }
387
+
317
388
  /**
318
389
  * Defines values for EsuEligibility. \
319
390
  * {@link KnownEsuEligibility} can be used interchangeably with EsuEligibility,
@@ -353,6 +424,21 @@ export declare type EsuKeyState = string;
353
424
  */
354
425
  export declare type EsuServerType = string;
355
426
 
427
+ /**
428
+ * Defines values for ExecutionState. \
429
+ * {@link KnownExecutionState} can be used interchangeably with ExecutionState,
430
+ * this enum contains the known values that the service supports.
431
+ * ### Known values supported by the service
432
+ * **Unknown** \
433
+ * **Pending** \
434
+ * **Running** \
435
+ * **Failed** \
436
+ * **Succeeded** \
437
+ * **TimedOut** \
438
+ * **Canceled**
439
+ */
440
+ export declare type ExecutionState = string;
441
+
356
442
  /** Interface representing a ExtensionMetadata. */
357
443
  export declare interface ExtensionMetadata {
358
444
  /**
@@ -439,6 +525,210 @@ export declare interface ExtensionValueListResult {
439
525
  readonly value?: ExtensionValue[];
440
526
  }
441
527
 
528
+ /** Describes the firmware of the machine */
529
+ export declare interface FirmwareProfile {
530
+ /**
531
+ * The serial number of the firmware
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
533
+ */
534
+ readonly serialNumber?: string;
535
+ /**
536
+ * The type of the firmware
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly type?: string;
540
+ }
541
+
542
+ /** Describes an Arc Gateway. */
543
+ export declare interface Gateway extends TrackedResourceAutoGenerated {
544
+ /**
545
+ * The provisioning state, which only appears in the response.
546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
+ */
548
+ readonly provisioningState?: ProvisioningState;
549
+ /**
550
+ * A unique, immutable, identifier for the Gateway.
551
+ * NOTE: This property will not be serialized. It can only be populated by the server.
552
+ */
553
+ readonly gatewayId?: string;
554
+ /** The type of the Gateway resource. */
555
+ gatewayType?: GatewayType;
556
+ /**
557
+ * The endpoint fqdn for the Gateway.
558
+ * NOTE: This property will not be serialized. It can only be populated by the server.
559
+ */
560
+ readonly gatewayEndpoint?: string;
561
+ /** Specifies the list of features that are enabled for this Gateway. */
562
+ allowedFeatures?: string[];
563
+ }
564
+
565
+ /** Interface representing a Gateways. */
566
+ export declare interface Gateways {
567
+ /**
568
+ * The operation to get all gateways of a non-Azure machine
569
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
570
+ * @param options The options parameters.
571
+ */
572
+ listByResourceGroup(resourceGroupName: string, options?: GatewaysListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Gateway>;
573
+ /**
574
+ * The operation to get all gateways of a non-Azure machine
575
+ * @param options The options parameters.
576
+ */
577
+ listBySubscription(options?: GatewaysListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Gateway>;
578
+ /**
579
+ * The operation to create or update a gateway.
580
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
581
+ * @param gatewayName The name of the Gateway.
582
+ * @param parameters Parameters supplied to the Create gateway operation.
583
+ * @param options The options parameters.
584
+ */
585
+ beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GatewaysCreateOrUpdateResponse>, GatewaysCreateOrUpdateResponse>>;
586
+ /**
587
+ * The operation to create or update a gateway.
588
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
589
+ * @param gatewayName The name of the Gateway.
590
+ * @param parameters Parameters supplied to the Create gateway operation.
591
+ * @param options The options parameters.
592
+ */
593
+ beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<GatewaysCreateOrUpdateResponse>;
594
+ /**
595
+ * The operation to update a gateway.
596
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
597
+ * @param gatewayName The name of the Gateway.
598
+ * @param parameters Parameters supplied to the Update gateway operation.
599
+ * @param options The options parameters.
600
+ */
601
+ update(resourceGroupName: string, gatewayName: string, parameters: GatewayUpdate, options?: GatewaysUpdateOptionalParams): Promise<GatewaysUpdateResponse>;
602
+ /**
603
+ * Retrieves information about the view of a gateway.
604
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
605
+ * @param gatewayName The name of the Gateway.
606
+ * @param options The options parameters.
607
+ */
608
+ get(resourceGroupName: string, gatewayName: string, options?: GatewaysGetOptionalParams): Promise<GatewaysGetResponse>;
609
+ /**
610
+ * The operation to delete a gateway.
611
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
612
+ * @param gatewayName The name of the Gateway.
613
+ * @param options The options parameters.
614
+ */
615
+ beginDelete(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GatewaysDeleteResponse>, GatewaysDeleteResponse>>;
616
+ /**
617
+ * The operation to delete a gateway.
618
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
619
+ * @param gatewayName The name of the Gateway.
620
+ * @param options The options parameters.
621
+ */
622
+ beginDeleteAndWait(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<GatewaysDeleteResponse>;
623
+ }
624
+
625
+ /** Defines headers for Gateways_createOrUpdate operation. */
626
+ export declare interface GatewaysCreateOrUpdateHeaders {
627
+ /** The URL of the resource used to check the status of the asynchronous operation. */
628
+ location?: string;
629
+ /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
630
+ retryAfter?: number;
631
+ /** The URI to poll for completion status. */
632
+ azureAsyncOperation?: string;
633
+ }
634
+
635
+ /** Optional parameters. */
636
+ export declare interface GatewaysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
637
+ /** Delay to wait until next poll, in milliseconds. */
638
+ updateIntervalInMs?: number;
639
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
640
+ resumeFrom?: string;
641
+ }
642
+
643
+ /** Contains response data for the createOrUpdate operation. */
644
+ export declare type GatewaysCreateOrUpdateResponse = Gateway;
645
+
646
+ /** Defines headers for Gateways_delete operation. */
647
+ export declare interface GatewaysDeleteHeaders {
648
+ /** The URL of the resource used to check the status of the asynchronous operation. */
649
+ location?: string;
650
+ /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
651
+ retryAfter?: number;
652
+ /** The URI to poll for completion status. */
653
+ azureAsyncOperation?: string;
654
+ }
655
+
656
+ /** Optional parameters. */
657
+ export declare interface GatewaysDeleteOptionalParams extends coreClient.OperationOptions {
658
+ /** Delay to wait until next poll, in milliseconds. */
659
+ updateIntervalInMs?: number;
660
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
661
+ resumeFrom?: string;
662
+ }
663
+
664
+ /** Contains response data for the delete operation. */
665
+ export declare type GatewaysDeleteResponse = GatewaysDeleteHeaders;
666
+
667
+ /** Optional parameters. */
668
+ export declare interface GatewaysGetOptionalParams extends coreClient.OperationOptions {
669
+ }
670
+
671
+ /** Contains response data for the get operation. */
672
+ export declare type GatewaysGetResponse = Gateway;
673
+
674
+ /** Optional parameters. */
675
+ export declare interface GatewaysListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
676
+ }
677
+
678
+ /** Contains response data for the listByResourceGroupNext operation. */
679
+ export declare type GatewaysListByResourceGroupNextResponse = GatewaysListResult;
680
+
681
+ /** Optional parameters. */
682
+ export declare interface GatewaysListByResourceGroupOptionalParams extends coreClient.OperationOptions {
683
+ }
684
+
685
+ /** Contains response data for the listByResourceGroup operation. */
686
+ export declare type GatewaysListByResourceGroupResponse = GatewaysListResult;
687
+
688
+ /** Optional parameters. */
689
+ export declare interface GatewaysListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
690
+ }
691
+
692
+ /** Contains response data for the listBySubscriptionNext operation. */
693
+ export declare type GatewaysListBySubscriptionNextResponse = GatewaysListResult;
694
+
695
+ /** Optional parameters. */
696
+ export declare interface GatewaysListBySubscriptionOptionalParams extends coreClient.OperationOptions {
697
+ }
698
+
699
+ /** Contains response data for the listBySubscription operation. */
700
+ export declare type GatewaysListBySubscriptionResponse = GatewaysListResult;
701
+
702
+ /** The List license operation response. */
703
+ export declare interface GatewaysListResult {
704
+ /** The list of Gateways. */
705
+ value: Gateway[];
706
+ /** The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways. */
707
+ nextLink?: string;
708
+ }
709
+
710
+ /** Optional parameters. */
711
+ export declare interface GatewaysUpdateOptionalParams extends coreClient.OperationOptions {
712
+ }
713
+
714
+ /** Contains response data for the update operation. */
715
+ export declare type GatewaysUpdateResponse = Gateway;
716
+
717
+ /**
718
+ * Defines values for GatewayType. \
719
+ * {@link KnownGatewayType} can be used interchangeably with GatewayType,
720
+ * this enum contains the known values that the service supports.
721
+ * ### Known values supported by the service
722
+ * **Public**
723
+ */
724
+ export declare type GatewayType = string;
725
+
726
+ /** Describes a License Update. */
727
+ export declare interface GatewayUpdate extends ResourceUpdate {
728
+ /** Specifies the list of features that are enabled for this Gateway. */
729
+ allowedFeatures?: string[];
730
+ }
731
+
442
732
  /**
443
733
  * Given the last `.value` produced by the `byPage` iterator,
444
734
  * returns a continuation token that can be used to begin paging from
@@ -448,6 +738,25 @@ export declare interface ExtensionValueListResult {
448
738
  */
449
739
  export declare function getContinuationToken(page: unknown): string | undefined;
450
740
 
741
+ /** Describes the hardware of the machine */
742
+ export declare interface HardwareProfile {
743
+ /**
744
+ * The total physical memory on the machine
745
+ * NOTE: This property will not be serialized. It can only be populated by the server.
746
+ */
747
+ readonly totalPhysicalMemoryInBytes?: number;
748
+ /**
749
+ * The total number of CPU sockets available on the machine
750
+ * NOTE: This property will not be serialized. It can only be populated by the server.
751
+ */
752
+ readonly numberOfCpuSockets?: number;
753
+ /**
754
+ * The physical processors of the machine.
755
+ * NOTE: This property will not be serialized. It can only be populated by the server.
756
+ */
757
+ readonly processors?: Processor[];
758
+ }
759
+
451
760
  /**
452
761
  * Defines values for HotpatchEnablementStatus. \
453
762
  * {@link KnownHotpatchEnablementStatus} can be used interchangeably with HotpatchEnablementStatus,
@@ -497,6 +806,9 @@ export declare class HybridComputeManagementClient extends coreClient.ServiceCli
497
806
  extensionMetadata: ExtensionMetadata;
498
807
  operations: Operations;
499
808
  networkProfileOperations: NetworkProfileOperations;
809
+ machineRunCommands: MachineRunCommands;
810
+ gateways: Gateways;
811
+ settingsOperations: SettingsOperations;
500
812
  privateLinkScopes: PrivateLinkScopes;
501
813
  privateLinkResources: PrivateLinkResources;
502
814
  privateEndpointConnections: PrivateEndpointConnections;
@@ -563,6 +875,27 @@ export declare interface HybridComputePrivateLinkScopeProperties {
563
875
  readonly privateEndpointConnections?: PrivateEndpointConnectionDataModel[];
564
876
  }
565
877
 
878
+ /** Defines the HybridIdentityMetadata. */
879
+ export declare interface HybridIdentityMetadata extends ProxyResourceAutoGenerated {
880
+ /** The unique identifier for the resource. */
881
+ vmId?: string;
882
+ /** The Public Key. */
883
+ publicKey?: string;
884
+ /**
885
+ * Identity for the resource.
886
+ * NOTE: This property will not be serialized. It can only be populated by the server.
887
+ */
888
+ readonly identity?: Identity;
889
+ }
890
+
891
+ /** List of HybridIdentityMetadata. */
892
+ export declare interface HybridIdentityMetadataList {
893
+ /** Url to follow for getting next page of HybridIdentityMetadata. */
894
+ nextLink?: string;
895
+ /** Array of HybridIdentityMetadata */
896
+ value: HybridIdentityMetadata[];
897
+ }
898
+
566
899
  /** Identity for the resource. */
567
900
  export declare interface Identity {
568
901
  /**
@@ -724,6 +1057,30 @@ export declare enum KnownEsuServerType {
724
1057
  Datacenter = "Datacenter"
725
1058
  }
726
1059
 
1060
+ /** Known values of {@link ExecutionState} that the service accepts. */
1061
+ export declare enum KnownExecutionState {
1062
+ /** Unknown */
1063
+ Unknown = "Unknown",
1064
+ /** Pending */
1065
+ Pending = "Pending",
1066
+ /** Running */
1067
+ Running = "Running",
1068
+ /** Failed */
1069
+ Failed = "Failed",
1070
+ /** Succeeded */
1071
+ Succeeded = "Succeeded",
1072
+ /** TimedOut */
1073
+ TimedOut = "TimedOut",
1074
+ /** Canceled */
1075
+ Canceled = "Canceled"
1076
+ }
1077
+
1078
+ /** Known values of {@link GatewayType} that the service accepts. */
1079
+ export declare enum KnownGatewayType {
1080
+ /** Public */
1081
+ Public = "Public"
1082
+ }
1083
+
727
1084
  /** Known values of {@link HotpatchEnablementStatus} that the service accepts. */
728
1085
  export declare enum KnownHotpatchEnablementStatus {
729
1086
  /** Unknown */
@@ -1758,6 +2115,21 @@ export declare interface Machine extends TrackedResource {
1758
2115
  readonly agentConfiguration?: AgentConfiguration;
1759
2116
  /** Statuses of dependent services that are reported back to ARM. */
1760
2117
  serviceStatuses?: ServiceStatuses;
2118
+ /**
2119
+ * Information about the machine's hardware
2120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2121
+ */
2122
+ readonly hardwareProfile?: HardwareProfile;
2123
+ /**
2124
+ * Information about the machine's storage
2125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2126
+ */
2127
+ readonly storageProfile?: StorageProfile;
2128
+ /**
2129
+ * Information about the machine's firmware
2130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2131
+ */
2132
+ readonly firmwareProfile?: FirmwareProfile;
1761
2133
  /** The metadata of the cloud environment (Azure/GCP/AWS/OCI...). */
1762
2134
  cloudMetadata?: CloudMetadata;
1763
2135
  /** The info of the machine w.r.t Agent Upgrade */
@@ -2011,7 +2383,7 @@ export declare interface MachineExtensions {
2011
2383
  */
2012
2384
  beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtension, options?: MachineExtensionsCreateOrUpdateOptionalParams): Promise<MachineExtensionsCreateOrUpdateResponse>;
2013
2385
  /**
2014
- * The operation to update the extension.
2386
+ * The operation to create or update the extension.
2015
2387
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2016
2388
  * @param machineName The name of the machine where the extension should be created or updated.
2017
2389
  * @param extensionName The name of the machine extension.
@@ -2020,7 +2392,7 @@ export declare interface MachineExtensions {
2020
2392
  */
2021
2393
  beginUpdate(resourceGroupName: string, machineName: string, extensionName: string, extensionParameters: MachineExtensionUpdate, options?: MachineExtensionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MachineExtensionsUpdateResponse>, MachineExtensionsUpdateResponse>>;
2022
2394
  /**
2023
- * The operation to update the extension.
2395
+ * The operation to create or update the extension.
2024
2396
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2025
2397
  * @param machineName The name of the machine where the extension should be created or updated.
2026
2398
  * @param extensionName The name of the machine extension.
@@ -2266,6 +2638,204 @@ export declare interface MachineListResult {
2266
2638
  nextLink?: string;
2267
2639
  }
2268
2640
 
2641
+ /** Describes a Run Command */
2642
+ export declare interface MachineRunCommand extends TrackedResource {
2643
+ /** The source of the run command script. */
2644
+ source?: MachineRunCommandScriptSource;
2645
+ /** The parameters used by the script. */
2646
+ parameters?: RunCommandInputParameter[];
2647
+ /** The parameters used by the script. */
2648
+ protectedParameters?: RunCommandInputParameter[];
2649
+ /** Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete. */
2650
+ asyncExecution?: boolean;
2651
+ /** Specifies the user account on the machine when executing the run command. */
2652
+ runAsUser?: string;
2653
+ /** Specifies the user account password on the machine when executing the run command. */
2654
+ runAsPassword?: string;
2655
+ /** The timeout in seconds to execute the run command. */
2656
+ timeoutInSeconds?: number;
2657
+ /** Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. */
2658
+ outputBlobUri?: string;
2659
+ /** Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter. */
2660
+ errorBlobUri?: string;
2661
+ /** User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged */
2662
+ outputBlobManagedIdentity?: RunCommandManagedIdentity;
2663
+ /** User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged */
2664
+ errorBlobManagedIdentity?: RunCommandManagedIdentity;
2665
+ /**
2666
+ * The provisioning state, which only appears in the response.
2667
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2668
+ */
2669
+ readonly provisioningState?: string;
2670
+ /**
2671
+ * The machine run command instance view.
2672
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2673
+ */
2674
+ readonly instanceView?: MachineRunCommandInstanceView;
2675
+ }
2676
+
2677
+ /** The instance view of a machine run command. */
2678
+ export declare interface MachineRunCommandInstanceView {
2679
+ /** Script execution status. */
2680
+ executionState?: ExecutionState;
2681
+ /** Communicate script configuration errors or execution messages. */
2682
+ executionMessage?: string;
2683
+ /** Exit code returned from script execution. */
2684
+ exitCode?: number;
2685
+ /** Script output stream. */
2686
+ output?: string;
2687
+ /** Script error stream. */
2688
+ error?: string;
2689
+ /** Script start time. */
2690
+ startTime?: Date;
2691
+ /** Script end time. */
2692
+ endTime?: Date;
2693
+ /** The status information. */
2694
+ statuses?: ExtensionsResourceStatus[];
2695
+ }
2696
+
2697
+ /** Interface representing a MachineRunCommands. */
2698
+ export declare interface MachineRunCommands {
2699
+ /**
2700
+ * The operation to get all the run commands of a non-Azure machine.
2701
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2702
+ * @param machineName The name of the hybrid machine.
2703
+ * @param options The options parameters.
2704
+ */
2705
+ list(resourceGroupName: string, machineName: string, options?: MachineRunCommandsListOptionalParams): PagedAsyncIterableIterator<MachineRunCommand>;
2706
+ /**
2707
+ * The operation to create or update a run command.
2708
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2709
+ * @param machineName The name of the hybrid machine.
2710
+ * @param runCommandName The name of the run command.
2711
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
2712
+ * @param options The options parameters.
2713
+ */
2714
+ beginCreateOrUpdate(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MachineRunCommandsCreateOrUpdateResponse>, MachineRunCommandsCreateOrUpdateResponse>>;
2715
+ /**
2716
+ * The operation to create or update a run command.
2717
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2718
+ * @param machineName The name of the hybrid machine.
2719
+ * @param runCommandName The name of the run command.
2720
+ * @param runCommandProperties Parameters supplied to the Create Run Command.
2721
+ * @param options The options parameters.
2722
+ */
2723
+ beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams): Promise<MachineRunCommandsCreateOrUpdateResponse>;
2724
+ /**
2725
+ * The operation to delete a run command.
2726
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2727
+ * @param machineName The name of the hybrid machine.
2728
+ * @param runCommandName The name of the run command.
2729
+ * @param options The options parameters.
2730
+ */
2731
+ beginDelete(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MachineRunCommandsDeleteResponse>, MachineRunCommandsDeleteResponse>>;
2732
+ /**
2733
+ * The operation to delete a run command.
2734
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2735
+ * @param machineName The name of the hybrid machine.
2736
+ * @param runCommandName The name of the run command.
2737
+ * @param options The options parameters.
2738
+ */
2739
+ beginDeleteAndWait(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams): Promise<MachineRunCommandsDeleteResponse>;
2740
+ /**
2741
+ * The operation to get a run command.
2742
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2743
+ * @param machineName The name of the hybrid machine.
2744
+ * @param runCommandName The name of the run command.
2745
+ * @param options The options parameters.
2746
+ */
2747
+ get(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsGetOptionalParams): Promise<MachineRunCommandsGetResponse>;
2748
+ }
2749
+
2750
+ /** Defines headers for MachineRunCommands_createOrUpdate operation. */
2751
+ export declare interface MachineRunCommandsCreateOrUpdateHeaders {
2752
+ /** The URL of the resource used to check the status of the asynchronous operation. */
2753
+ location?: string;
2754
+ /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
2755
+ retryAfter?: number;
2756
+ /** The URI to poll for completion status. */
2757
+ azureAsyncOperation?: string;
2758
+ }
2759
+
2760
+ /** Optional parameters. */
2761
+ export declare interface MachineRunCommandsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2762
+ /** Delay to wait until next poll, in milliseconds. */
2763
+ updateIntervalInMs?: number;
2764
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2765
+ resumeFrom?: string;
2766
+ }
2767
+
2768
+ /** Contains response data for the createOrUpdate operation. */
2769
+ export declare type MachineRunCommandsCreateOrUpdateResponse = MachineRunCommand;
2770
+
2771
+ /** Describes the script sources for run command. Use only one of script, scriptUri, commandId. */
2772
+ export declare interface MachineRunCommandScriptSource {
2773
+ /** Specifies the script content to be executed on the machine. */
2774
+ script?: string;
2775
+ /** Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI. */
2776
+ scriptUri?: string;
2777
+ /** Specifies the commandId of predefined built-in script. */
2778
+ commandId?: string;
2779
+ /** User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. */
2780
+ scriptUriManagedIdentity?: RunCommandManagedIdentity;
2781
+ }
2782
+
2783
+ /** Defines headers for MachineRunCommands_delete operation. */
2784
+ export declare interface MachineRunCommandsDeleteHeaders {
2785
+ /** The URL of the resource used to check the status of the asynchronous operation. */
2786
+ location?: string;
2787
+ /** The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation. */
2788
+ retryAfter?: number;
2789
+ /** The URI to poll for completion status. */
2790
+ azureAsyncOperation?: string;
2791
+ }
2792
+
2793
+ /** Optional parameters. */
2794
+ export declare interface MachineRunCommandsDeleteOptionalParams extends coreClient.OperationOptions {
2795
+ /** Delay to wait until next poll, in milliseconds. */
2796
+ updateIntervalInMs?: number;
2797
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2798
+ resumeFrom?: string;
2799
+ }
2800
+
2801
+ /** Contains response data for the delete operation. */
2802
+ export declare type MachineRunCommandsDeleteResponse = MachineRunCommandsDeleteHeaders;
2803
+
2804
+ /** Optional parameters. */
2805
+ export declare interface MachineRunCommandsGetOptionalParams extends coreClient.OperationOptions {
2806
+ }
2807
+
2808
+ /** Contains response data for the get operation. */
2809
+ export declare type MachineRunCommandsGetResponse = MachineRunCommand;
2810
+
2811
+ /** Optional parameters. */
2812
+ export declare interface MachineRunCommandsListNextOptionalParams extends coreClient.OperationOptions {
2813
+ }
2814
+
2815
+ /** Contains response data for the listNext operation. */
2816
+ export declare type MachineRunCommandsListNextResponse = MachineRunCommandsListResult;
2817
+
2818
+ /** Optional parameters. */
2819
+ export declare interface MachineRunCommandsListOptionalParams extends coreClient.OperationOptions {
2820
+ /** The expand expression to apply on the operation. */
2821
+ expand?: string;
2822
+ }
2823
+
2824
+ /** Contains response data for the list operation. */
2825
+ export declare type MachineRunCommandsListResponse = MachineRunCommandsListResult;
2826
+
2827
+ /** Describes the Run Commands List Result. */
2828
+ export declare interface MachineRunCommandsListResult {
2829
+ /** The list of run commands */
2830
+ value?: MachineRunCommand[];
2831
+ /** The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands. */
2832
+ nextLink?: string;
2833
+ }
2834
+
2835
+ /** Describes a Machine Extension Update. */
2836
+ export declare interface MachineRunCommandUpdate extends ResourceUpdate {
2837
+ }
2838
+
2269
2839
  /** Interface representing a Machines. */
2270
2840
  export declare interface Machines {
2271
2841
  /**
@@ -2424,8 +2994,33 @@ export declare interface MachineUpdate extends ResourceUpdate {
2424
2994
  privateLinkScopeResourceId?: string;
2425
2995
  }
2426
2996
 
2997
+ export declare interface NetworkConfiguration extends ProxyResourceAutoGenerated {
2998
+ /** Resource location */
2999
+ location?: string;
3000
+ /**
3001
+ * Azure resource tenant Id
3002
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3003
+ */
3004
+ readonly tenantId?: string;
3005
+ /** Associated Network Configuration Scope Id (GUID) */
3006
+ networkConfigurationScopeId?: string;
3007
+ /** Associated Network Configuration Scope Resource Id */
3008
+ networkConfigurationScopeResourceId?: string;
3009
+ /**
3010
+ * Public key information for client authentication
3011
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3012
+ */
3013
+ readonly keyProperties?: KeyProperties;
3014
+ }
3015
+
2427
3016
  /** Describes a network interface. */
2428
3017
  export declare interface NetworkInterface {
3018
+ /** Represents MAC address of the network interface. */
3019
+ macAddress?: string;
3020
+ /** Represents the ID of the network interface. */
3021
+ id?: string;
3022
+ /** Represents the name of the network interface. */
3023
+ name?: string;
2429
3024
  /** The list of IP addresses in this interface. */
2430
3025
  ipAddresses?: IpAddress[];
2431
3026
  }
@@ -3267,6 +3862,20 @@ export declare interface PrivateLinkServiceConnectionStateProperty {
3267
3862
  readonly actionsRequired?: string;
3268
3863
  }
3269
3864
 
3865
+ /** Describes the firmware of the machine */
3866
+ export declare interface Processor {
3867
+ /**
3868
+ * The name of the processor.
3869
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3870
+ */
3871
+ readonly name?: string;
3872
+ /**
3873
+ * The total number of physical cores on the processor.
3874
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3875
+ */
3876
+ readonly numberOfCores?: number;
3877
+ }
3878
+
3270
3879
  /** Product Feature */
3271
3880
  export declare interface ProductFeature {
3272
3881
  /** Product feature name. */
@@ -3480,6 +4089,22 @@ export declare interface ResourceUpdate {
3480
4089
  };
3481
4090
  }
3482
4091
 
4092
+ /** Describes the properties of a run command parameter. */
4093
+ export declare interface RunCommandInputParameter {
4094
+ /** The run command parameter name. */
4095
+ name: string;
4096
+ /** The run command parameter value. */
4097
+ value: string;
4098
+ }
4099
+
4100
+ /** Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged. */
4101
+ export declare interface RunCommandManagedIdentity {
4102
+ /** Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. */
4103
+ clientId?: string;
4104
+ /** Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. */
4105
+ objectId?: string;
4106
+ }
4107
+
3483
4108
  /** Describes the status and behavior of a service. */
3484
4109
  export declare interface ServiceStatus {
3485
4110
  /** The current status of the service. */
@@ -3496,6 +4121,73 @@ export declare interface ServiceStatuses {
3496
4121
  guestConfigurationService?: ServiceStatus;
3497
4122
  }
3498
4123
 
4124
+ export declare interface Settings extends ProxyResourceAutoGenerated {
4125
+ /**
4126
+ * Azure resource tenant Id
4127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4128
+ */
4129
+ readonly tenantId?: string;
4130
+ /** Associated Gateway Resource Id */
4131
+ gatewayResourceId?: string;
4132
+ }
4133
+
4134
+ /** Optional parameters. */
4135
+ export declare interface SettingsGetOptionalParams extends coreClient.OperationOptions {
4136
+ }
4137
+
4138
+ /** Contains response data for the get operation. */
4139
+ export declare type SettingsGetResponse = Settings;
4140
+
4141
+ /** Interface representing a SettingsOperations. */
4142
+ export declare interface SettingsOperations {
4143
+ /**
4144
+ * Returns the base Settings for the target resource.
4145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4146
+ * @param baseProvider The name of the base Resource Provider.
4147
+ * @param baseResourceType The name of the base Resource Type.
4148
+ * @param baseResourceName The name of the base resource.
4149
+ * @param settingsResourceName The name of the settings resource.
4150
+ * @param options The options parameters.
4151
+ */
4152
+ get(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, options?: SettingsGetOptionalParams): Promise<SettingsGetResponse>;
4153
+ /**
4154
+ * Updates the base Settings of the target resource.
4155
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4156
+ * @param baseProvider The name of the base Resource Provider.
4157
+ * @param baseResourceType The name of the base Resource Type.
4158
+ * @param baseResourceName The name of the base resource.
4159
+ * @param settingsResourceName The name of the settings resource.
4160
+ * @param parameters Settings details
4161
+ * @param options The options parameters.
4162
+ */
4163
+ update(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, parameters: Settings, options?: SettingsUpdateOptionalParams): Promise<SettingsUpdateResponse>;
4164
+ /**
4165
+ * Update the base Settings of the target resource.
4166
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4167
+ * @param baseProvider The name of the base Resource Provider.
4168
+ * @param baseResourceType The name of the base Resource Type.
4169
+ * @param baseResourceName The name of the base resource.
4170
+ * @param settingsResourceName The name of the settings resource.
4171
+ * @param parameters Settings details
4172
+ * @param options The options parameters.
4173
+ */
4174
+ patch(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, parameters: Settings, options?: SettingsPatchOptionalParams): Promise<SettingsPatchResponse>;
4175
+ }
4176
+
4177
+ /** Optional parameters. */
4178
+ export declare interface SettingsPatchOptionalParams extends coreClient.OperationOptions {
4179
+ }
4180
+
4181
+ /** Contains response data for the patch operation. */
4182
+ export declare type SettingsPatchResponse = Settings;
4183
+
4184
+ /** Optional parameters. */
4185
+ export declare interface SettingsUpdateOptionalParams extends coreClient.OperationOptions {
4186
+ }
4187
+
4188
+ /** Contains response data for the update operation. */
4189
+ export declare type SettingsUpdateResponse = Settings;
4190
+
3499
4191
  /**
3500
4192
  * Defines values for StatusLevelTypes. \
3501
4193
  * {@link KnownStatusLevelTypes} can be used interchangeably with StatusLevelTypes,
@@ -3518,6 +4210,12 @@ export declare type StatusLevelTypes = string;
3518
4210
  */
3519
4211
  export declare type StatusTypes = string;
3520
4212
 
4213
+ /** Describes the storage configuration of the machine */
4214
+ export declare interface StorageProfile {
4215
+ /** The disks on the machine. */
4216
+ disks?: Disk[];
4217
+ }
4218
+
3521
4219
  /** Describes the subnet. */
3522
4220
  export declare interface Subnet {
3523
4221
  /** Represents address prefix. */
@@ -3558,6 +4256,16 @@ export declare interface TrackedResource extends Resource {
3558
4256
  location: string;
3559
4257
  }
3560
4258
 
4259
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
4260
+ export declare interface TrackedResourceAutoGenerated extends ResourceAutoGenerated {
4261
+ /** Resource tags. */
4262
+ tags?: {
4263
+ [propertyName: string]: string;
4264
+ };
4265
+ /** The geo-location where the resource lives */
4266
+ location: string;
4267
+ }
4268
+
3561
4269
  /** Optional parameters. */
3562
4270
  export declare interface UpgradeExtensionsOptionalParams extends coreClient.OperationOptions {
3563
4271
  /** Delay to wait until next poll, in milliseconds. */