@azure/arm-networkcloud 1.0.0-beta.2 → 1.0.0

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 (193) hide show
  1. package/CHANGELOG.md +1 -177
  2. package/README.md +1 -1
  3. package/dist/index.js +166 -647
  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/agentPoolsCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/agentPoolsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/agentPoolsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/agentPoolsListByKubernetesClusterSample.js +1 -1
  11. package/dist-esm/samples-dev/agentPoolsUpdateSample.js +1 -1
  12. package/dist-esm/samples-dev/bareMetalMachineKeySetsCreateOrUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/bareMetalMachineKeySetsDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/bareMetalMachineKeySetsGetSample.js +1 -1
  15. package/dist-esm/samples-dev/bareMetalMachineKeySetsListByClusterSample.js +1 -1
  16. package/dist-esm/samples-dev/bareMetalMachineKeySetsUpdateSample.js +1 -1
  17. package/dist-esm/samples-dev/bareMetalMachinesCordonSample.js +1 -1
  18. package/dist-esm/samples-dev/bareMetalMachinesCreateOrUpdateSample.js +1 -1
  19. package/dist-esm/samples-dev/bareMetalMachinesDeleteSample.js +1 -1
  20. package/dist-esm/samples-dev/bareMetalMachinesGetSample.js +1 -1
  21. package/dist-esm/samples-dev/bareMetalMachinesListByResourceGroupSample.js +1 -1
  22. package/dist-esm/samples-dev/bareMetalMachinesListBySubscriptionSample.js +1 -1
  23. package/dist-esm/samples-dev/bareMetalMachinesPowerOffSample.js +1 -1
  24. package/dist-esm/samples-dev/bareMetalMachinesReimageSample.js +1 -1
  25. package/dist-esm/samples-dev/bareMetalMachinesReplaceSample.js +1 -1
  26. package/dist-esm/samples-dev/bareMetalMachinesRestartSample.js +1 -1
  27. package/dist-esm/samples-dev/bareMetalMachinesRunCommandSample.js +1 -1
  28. package/dist-esm/samples-dev/bareMetalMachinesRunDataExtractsSample.js +1 -1
  29. package/dist-esm/samples-dev/bareMetalMachinesRunReadCommandsSample.js +1 -1
  30. package/dist-esm/samples-dev/bareMetalMachinesStartSample.js +1 -1
  31. package/dist-esm/samples-dev/bareMetalMachinesUncordonSample.js +1 -1
  32. package/dist-esm/samples-dev/bareMetalMachinesUpdateSample.js +1 -1
  33. package/dist-esm/samples-dev/bmcKeySetsCreateOrUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/bmcKeySetsDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/bmcKeySetsGetSample.js +1 -1
  36. package/dist-esm/samples-dev/bmcKeySetsListByClusterSample.js +1 -1
  37. package/dist-esm/samples-dev/bmcKeySetsUpdateSample.js +1 -1
  38. package/dist-esm/samples-dev/cloudServicesNetworksCreateOrUpdateSample.js +1 -1
  39. package/dist-esm/samples-dev/cloudServicesNetworksDeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/cloudServicesNetworksGetSample.js +1 -1
  41. package/dist-esm/samples-dev/cloudServicesNetworksListByResourceGroupSample.js +1 -1
  42. package/dist-esm/samples-dev/cloudServicesNetworksListBySubscriptionSample.js +1 -1
  43. package/dist-esm/samples-dev/cloudServicesNetworksUpdateSample.js +1 -1
  44. package/dist-esm/samples-dev/clusterManagersCreateOrUpdateSample.js +1 -1
  45. package/dist-esm/samples-dev/clusterManagersDeleteSample.js +1 -1
  46. package/dist-esm/samples-dev/clusterManagersGetSample.js +1 -1
  47. package/dist-esm/samples-dev/clusterManagersListByResourceGroupSample.js +1 -1
  48. package/dist-esm/samples-dev/clusterManagersListBySubscriptionSample.js +1 -1
  49. package/dist-esm/samples-dev/clusterManagersUpdateSample.js +1 -1
  50. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +1 -1
  51. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  52. package/dist-esm/samples-dev/clustersDeploySample.js +2 -2
  53. package/dist-esm/samples-dev/clustersGetSample.js +1 -1
  54. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
  55. package/dist-esm/samples-dev/clustersListBySubscriptionSample.js +1 -1
  56. package/dist-esm/samples-dev/clustersUpdateSample.js +2 -2
  57. package/dist-esm/samples-dev/clustersUpdateVersionSample.js +1 -1
  58. package/dist-esm/samples-dev/consolesCreateOrUpdateSample.js +1 -1
  59. package/dist-esm/samples-dev/consolesDeleteSample.js +1 -1
  60. package/dist-esm/samples-dev/consolesGetSample.js +1 -1
  61. package/dist-esm/samples-dev/consolesListByVirtualMachineSample.js +1 -1
  62. package/dist-esm/samples-dev/consolesUpdateSample.js +1 -1
  63. package/dist-esm/samples-dev/kubernetesClustersCreateOrUpdateSample.js +1 -1
  64. package/dist-esm/samples-dev/kubernetesClustersDeleteSample.js +1 -1
  65. package/dist-esm/samples-dev/kubernetesClustersGetSample.js +1 -1
  66. package/dist-esm/samples-dev/kubernetesClustersListByResourceGroupSample.js +1 -1
  67. package/dist-esm/samples-dev/kubernetesClustersListBySubscriptionSample.js +1 -1
  68. package/dist-esm/samples-dev/kubernetesClustersRestartNodeSample.js +1 -1
  69. package/dist-esm/samples-dev/kubernetesClustersUpdateSample.js +1 -1
  70. package/dist-esm/samples-dev/l2NetworksCreateOrUpdateSample.js +1 -1
  71. package/dist-esm/samples-dev/l2NetworksDeleteSample.js +1 -1
  72. package/dist-esm/samples-dev/l2NetworksGetSample.js +1 -1
  73. package/dist-esm/samples-dev/l2NetworksListByResourceGroupSample.js +1 -1
  74. package/dist-esm/samples-dev/l2NetworksListBySubscriptionSample.js +1 -1
  75. package/dist-esm/samples-dev/l2NetworksUpdateSample.js +1 -1
  76. package/dist-esm/samples-dev/l3NetworksCreateOrUpdateSample.js +1 -1
  77. package/dist-esm/samples-dev/l3NetworksDeleteSample.js +1 -1
  78. package/dist-esm/samples-dev/l3NetworksGetSample.js +1 -1
  79. package/dist-esm/samples-dev/l3NetworksListByResourceGroupSample.js +1 -1
  80. package/dist-esm/samples-dev/l3NetworksListBySubscriptionSample.js +1 -1
  81. package/dist-esm/samples-dev/l3NetworksUpdateSample.js +1 -1
  82. package/dist-esm/samples-dev/metricsConfigurationsCreateOrUpdateSample.js +1 -1
  83. package/dist-esm/samples-dev/metricsConfigurationsDeleteSample.js +1 -1
  84. package/dist-esm/samples-dev/metricsConfigurationsGetSample.js +1 -1
  85. package/dist-esm/samples-dev/metricsConfigurationsListByClusterSample.js +1 -1
  86. package/dist-esm/samples-dev/metricsConfigurationsUpdateSample.js +1 -1
  87. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  88. package/dist-esm/samples-dev/rackSkusGetSample.js +1 -1
  89. package/dist-esm/samples-dev/rackSkusListBySubscriptionSample.js +1 -1
  90. package/dist-esm/samples-dev/racksCreateOrUpdateSample.js +1 -1
  91. package/dist-esm/samples-dev/racksDeleteSample.js +1 -1
  92. package/dist-esm/samples-dev/racksGetSample.js +1 -1
  93. package/dist-esm/samples-dev/racksListByResourceGroupSample.js +1 -1
  94. package/dist-esm/samples-dev/racksListBySubscriptionSample.js +1 -1
  95. package/dist-esm/samples-dev/racksUpdateSample.js +1 -1
  96. package/dist-esm/samples-dev/storageAppliancesCreateOrUpdateSample.js +1 -1
  97. package/dist-esm/samples-dev/storageAppliancesDeleteSample.js +1 -1
  98. package/dist-esm/samples-dev/storageAppliancesDisableRemoteVendorManagementSample.js +1 -1
  99. package/dist-esm/samples-dev/storageAppliancesEnableRemoteVendorManagementSample.js +1 -1
  100. package/dist-esm/samples-dev/storageAppliancesGetSample.js +1 -1
  101. package/dist-esm/samples-dev/storageAppliancesListByResourceGroupSample.js +1 -1
  102. package/dist-esm/samples-dev/storageAppliancesListBySubscriptionSample.js +1 -1
  103. package/dist-esm/samples-dev/storageAppliancesUpdateSample.js +1 -1
  104. package/dist-esm/samples-dev/trunkedNetworksCreateOrUpdateSample.js +1 -1
  105. package/dist-esm/samples-dev/trunkedNetworksDeleteSample.js +1 -1
  106. package/dist-esm/samples-dev/trunkedNetworksGetSample.js +1 -1
  107. package/dist-esm/samples-dev/trunkedNetworksListByResourceGroupSample.js +1 -1
  108. package/dist-esm/samples-dev/trunkedNetworksListBySubscriptionSample.js +1 -1
  109. package/dist-esm/samples-dev/trunkedNetworksUpdateSample.js +1 -1
  110. package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +1 -1
  111. package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +1 -1
  112. package/dist-esm/samples-dev/virtualMachinesGetSample.js +1 -1
  113. package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +1 -1
  114. package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +1 -1
  115. package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js +1 -1
  116. package/dist-esm/samples-dev/virtualMachinesReimageSample.js +1 -1
  117. package/dist-esm/samples-dev/virtualMachinesRestartSample.js +1 -1
  118. package/dist-esm/samples-dev/virtualMachinesStartSample.js +1 -1
  119. package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +1 -1
  120. package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js +1 -1
  121. package/dist-esm/samples-dev/volumesDeleteSample.js +1 -1
  122. package/dist-esm/samples-dev/volumesGetSample.js +1 -1
  123. package/dist-esm/samples-dev/volumesListByResourceGroupSample.js +1 -1
  124. package/dist-esm/samples-dev/volumesListBySubscriptionSample.js +1 -1
  125. package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
  126. package/dist-esm/src/models/index.d.ts +43 -115
  127. package/dist-esm/src/models/index.d.ts.map +1 -1
  128. package/dist-esm/src/models/index.js +0 -6
  129. package/dist-esm/src/models/index.js.map +1 -1
  130. package/dist-esm/src/models/mappers.d.ts +1 -8
  131. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  132. package/dist-esm/src/models/mappers.js +75 -147
  133. package/dist-esm/src/models/mappers.js.map +1 -1
  134. package/dist-esm/src/models/parameters.d.ts +0 -4
  135. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  136. package/dist-esm/src/models/parameters.js +2 -18
  137. package/dist-esm/src/models/parameters.js.map +1 -1
  138. package/dist-esm/src/networkCloud.js +2 -2
  139. package/dist-esm/src/networkCloud.js.map +1 -1
  140. package/dist-esm/src/operations/bareMetalMachines.d.ts +1 -17
  141. package/dist-esm/src/operations/bareMetalMachines.d.ts.map +1 -1
  142. package/dist-esm/src/operations/bareMetalMachines.js +40 -135
  143. package/dist-esm/src/operations/bareMetalMachines.js.map +1 -1
  144. package/dist-esm/src/operations/clusters.js +8 -8
  145. package/dist-esm/src/operations/clusters.js.map +1 -1
  146. package/dist-esm/src/operations/kubernetesClusters.js +4 -4
  147. package/dist-esm/src/operations/kubernetesClusters.js.map +1 -1
  148. package/dist-esm/src/operations/storageAppliances.d.ts +1 -17
  149. package/dist-esm/src/operations/storageAppliances.d.ts.map +1 -1
  150. package/dist-esm/src/operations/storageAppliances.js +8 -103
  151. package/dist-esm/src/operations/storageAppliances.js.map +1 -1
  152. package/dist-esm/src/operations/virtualMachines.d.ts +1 -33
  153. package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
  154. package/dist-esm/src/operations/virtualMachines.js +16 -206
  155. package/dist-esm/src/operations/virtualMachines.js.map +1 -1
  156. package/dist-esm/src/operationsInterfaces/bareMetalMachines.d.ts +1 -17
  157. package/dist-esm/src/operationsInterfaces/bareMetalMachines.d.ts.map +1 -1
  158. package/dist-esm/src/operationsInterfaces/storageAppliances.d.ts +1 -17
  159. package/dist-esm/src/operationsInterfaces/storageAppliances.d.ts.map +1 -1
  160. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +1 -33
  161. package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
  162. package/package.json +4 -3
  163. package/review/arm-networkcloud.api.md +32 -113
  164. package/src/models/index.ts +44 -137
  165. package/src/models/mappers.ts +76 -155
  166. package/src/models/parameters.ts +1 -24
  167. package/src/networkCloud.ts +2 -2
  168. package/src/operations/bareMetalMachines.ts +40 -177
  169. package/src/operations/clusters.ts +8 -8
  170. package/src/operations/kubernetesClusters.ts +4 -4
  171. package/src/operations/storageAppliances.ts +8 -153
  172. package/src/operations/virtualMachines.ts +16 -289
  173. package/src/operationsInterfaces/bareMetalMachines.ts +1 -35
  174. package/src/operationsInterfaces/storageAppliances.ts +1 -35
  175. package/src/operationsInterfaces/virtualMachines.ts +0 -67
  176. package/types/arm-networkcloud.d.ts +44 -197
  177. package/types/tsdoc-metadata.json +1 -1
  178. package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.d.ts +0 -2
  179. package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.d.ts.map +0 -1
  180. package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.js +0 -42
  181. package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.js.map +0 -1
  182. package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.d.ts +0 -2
  183. package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.d.ts.map +0 -1
  184. package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.js +0 -43
  185. package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.js.map +0 -1
  186. package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.d.ts +0 -2
  187. package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.d.ts.map +0 -1
  188. package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.js +0 -42
  189. package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.js.map +0 -1
  190. package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.d.ts +0 -2
  191. package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.d.ts.map +0 -1
  192. package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.js +0 -42
  193. package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.js.map +0 -1
@@ -1129,6 +1129,31 @@ export interface BareMetalMachineCordonParameters {
1129
1129
  evacuate?: BareMetalMachineEvacuate;
1130
1130
  }
1131
1131
 
1132
+ /** The current status of an async operation. */
1133
+ export interface OperationStatusResult {
1134
+ /** Fully qualified ID for the async operation. */
1135
+ id?: string;
1136
+ /**
1137
+ * Fully qualified ID of the resource against which the original async operation was started.
1138
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1139
+ */
1140
+ readonly resourceId?: string;
1141
+ /** Name of the async operation. */
1142
+ name?: string;
1143
+ /** Operation status. */
1144
+ status: string;
1145
+ /** Percent of the operation that is complete. */
1146
+ percentComplete?: number;
1147
+ /** The start time of the operation. */
1148
+ startTime?: Date;
1149
+ /** The end time of the operation. */
1150
+ endTime?: Date;
1151
+ /** The operations list. */
1152
+ operations?: OperationStatusResult[];
1153
+ /** If present, details of the operation error. */
1154
+ error?: ErrorDetail;
1155
+ }
1156
+
1132
1157
  /** BareMetalMachinePowerOffParameters represents the body of the request to power off bare metal machine. */
1133
1158
  export interface BareMetalMachinePowerOffParameters {
1134
1159
  /** The indicator of whether to skip the graceful OS shutdown and power off the bare metal machine immediately. */
@@ -1192,12 +1217,6 @@ export interface BareMetalMachineRunReadCommandsParameters {
1192
1217
  limitTimeSeconds: number;
1193
1218
  }
1194
1219
 
1195
- /** BareMetalMachineValidateHardwareParameters represents the body of the request to validate the physical hardware of a bare metal machine. */
1196
- export interface BareMetalMachineValidateHardwareParameters {
1197
- /** The category of hardware validation to perform. */
1198
- validationCategory: BareMetalMachineHardwareValidationCategory;
1199
- }
1200
-
1201
1220
  /** CloudServicesNetworkPatchParameters represents the body of the request to patch the cloud services network. */
1202
1221
  export interface CloudServicesNetworkPatchParameters {
1203
1222
  /** The Azure resource tags that will replace the existing ones. */
@@ -1406,25 +1425,6 @@ export interface StorageApplianceEnableRemoteVendorManagementParameters {
1406
1425
  supportEndpoints?: string[];
1407
1426
  }
1408
1427
 
1409
- /** StorageApplianceRunReadCommandsParameters represents the body of request containing list of read-only commands to run for a storage appliance. */
1410
- export interface StorageApplianceRunReadCommandsParameters {
1411
- /** The list of read-only commands to run. */
1412
- commands: StorageApplianceCommandSpecification[];
1413
- /**
1414
- * The maximum time the commands are allowed to run.
1415
- * If the execution time exceeds the maximum, the script will be stopped, any output produced until then will be captured, and the exit code matching a timeout will be returned (252).
1416
- */
1417
- limitTimeSeconds: number;
1418
- }
1419
-
1420
- /** StorageApplianceCommandSpecification represents the read-only command and optional arguments to execute against a storage appliance. */
1421
- export interface StorageApplianceCommandSpecification {
1422
- /** The list of string arguments that will be passed to the script in order as separate arguments. */
1423
- arguments?: string[];
1424
- /** The read-only command to execute against the storage appliance. */
1425
- command: string;
1426
- }
1427
-
1428
1428
  /** TrunkedNetworkPatchParameters represents the body of the request to patch the Trunked network. */
1429
1429
  export interface TrunkedNetworkPatchParameters {
1430
1430
  /** The Azure resource tags that will replace the existing ones. */
@@ -1439,12 +1439,6 @@ export interface VirtualMachinePatchParameters {
1439
1439
  vmImageRepositoryCredentials?: ImageRepositoryCredentials;
1440
1440
  }
1441
1441
 
1442
- /** VirtualMachineVolumeParameters represents the body of the request to handle attachment and detachment of volumes for the virtual machine. */
1443
- export interface VirtualMachineVolumeParameters {
1444
- /** The resource ID of the volume. */
1445
- volumeId: string;
1446
- }
1447
-
1448
1442
  /** ConsoleList represents a list of virtual machine consoles. */
1449
1443
  export interface ConsoleList {
1450
1444
  /** The link used to get the next page of operations. */
@@ -2576,12 +2570,6 @@ export interface BareMetalMachinesUncordonHeaders {
2576
2570
  location?: string;
2577
2571
  }
2578
2572
 
2579
- /** Defines headers for BareMetalMachines_validateHardware operation. */
2580
- export interface BareMetalMachinesValidateHardwareHeaders {
2581
- /** The URL to retrieve the status of the asynchronous operation. */
2582
- location?: string;
2583
- }
2584
-
2585
2573
  /** Defines headers for CloudServicesNetworks_createOrUpdate operation. */
2586
2574
  export interface CloudServicesNetworksCreateOrUpdateHeaders {
2587
2575
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -2738,12 +2726,6 @@ export interface StorageAppliancesEnableRemoteVendorManagementHeaders {
2738
2726
  location?: string;
2739
2727
  }
2740
2728
 
2741
- /** Defines headers for StorageAppliances_runReadCommands operation. */
2742
- export interface StorageAppliancesRunReadCommandsHeaders {
2743
- /** The URL to retrieve the status of the asynchronous operation. */
2744
- location?: string;
2745
- }
2746
-
2747
2729
  /** Defines headers for TrunkedNetworks_createOrUpdate operation. */
2748
2730
  export interface TrunkedNetworksCreateOrUpdateHeaders {
2749
2731
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -2774,18 +2756,6 @@ export interface VirtualMachinesUpdateHeaders {
2774
2756
  azureAsyncOperation?: string;
2775
2757
  }
2776
2758
 
2777
- /** Defines headers for VirtualMachines_attachVolume operation. */
2778
- export interface VirtualMachinesAttachVolumeHeaders {
2779
- /** The URL to retrieve the status of the asynchronous operation. */
2780
- location?: string;
2781
- }
2782
-
2783
- /** Defines headers for VirtualMachines_detachVolume operation. */
2784
- export interface VirtualMachinesDetachVolumeHeaders {
2785
- /** The URL to retrieve the status of the asynchronous operation. */
2786
- location?: string;
2787
- }
2788
-
2789
2759
  /** Defines headers for VirtualMachines_powerOff operation. */
2790
2760
  export interface VirtualMachinesPowerOffHeaders {
2791
2761
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -4559,21 +4529,6 @@ export enum KnownBareMetalMachineSkipShutdown {
4559
4529
  */
4560
4530
  export type BareMetalMachineSkipShutdown = string;
4561
4531
 
4562
- /** Known values of {@link BareMetalMachineHardwareValidationCategory} that the service accepts. */
4563
- export enum KnownBareMetalMachineHardwareValidationCategory {
4564
- /** BasicValidation */
4565
- BasicValidation = "BasicValidation"
4566
- }
4567
-
4568
- /**
4569
- * Defines values for BareMetalMachineHardwareValidationCategory. \
4570
- * {@link KnownBareMetalMachineHardwareValidationCategory} can be used interchangeably with BareMetalMachineHardwareValidationCategory,
4571
- * this enum contains the known values that the service supports.
4572
- * ### Known values supported by the service
4573
- * **BasicValidation**
4574
- */
4575
- export type BareMetalMachineHardwareValidationCategory = string;
4576
-
4577
4532
  /** Known values of {@link BareMetalMachineKeySetDetailedStatus} that the service accepts. */
4578
4533
  export enum KnownBareMetalMachineKeySetDetailedStatus {
4579
4534
  /** AllActive */
@@ -4995,7 +4950,7 @@ export interface BareMetalMachinesCordonOptionalParams
4995
4950
  }
4996
4951
 
4997
4952
  /** Contains response data for the cordon operation. */
4998
- export type BareMetalMachinesCordonResponse = BareMetalMachinesCordonHeaders;
4953
+ export type BareMetalMachinesCordonResponse = OperationStatusResult;
4999
4954
 
5000
4955
  /** Optional parameters. */
5001
4956
  export interface BareMetalMachinesPowerOffOptionalParams
@@ -5009,7 +4964,7 @@ export interface BareMetalMachinesPowerOffOptionalParams
5009
4964
  }
5010
4965
 
5011
4966
  /** Contains response data for the powerOff operation. */
5012
- export type BareMetalMachinesPowerOffResponse = BareMetalMachinesPowerOffHeaders;
4967
+ export type BareMetalMachinesPowerOffResponse = OperationStatusResult;
5013
4968
 
5014
4969
  /** Optional parameters. */
5015
4970
  export interface BareMetalMachinesReimageOptionalParams
@@ -5021,7 +4976,7 @@ export interface BareMetalMachinesReimageOptionalParams
5021
4976
  }
5022
4977
 
5023
4978
  /** Contains response data for the reimage operation. */
5024
- export type BareMetalMachinesReimageResponse = BareMetalMachinesReimageHeaders;
4979
+ export type BareMetalMachinesReimageResponse = OperationStatusResult;
5025
4980
 
5026
4981
  /** Optional parameters. */
5027
4982
  export interface BareMetalMachinesReplaceOptionalParams
@@ -5035,7 +4990,7 @@ export interface BareMetalMachinesReplaceOptionalParams
5035
4990
  }
5036
4991
 
5037
4992
  /** Contains response data for the replace operation. */
5038
- export type BareMetalMachinesReplaceResponse = BareMetalMachinesReplaceHeaders;
4993
+ export type BareMetalMachinesReplaceResponse = OperationStatusResult;
5039
4994
 
5040
4995
  /** Optional parameters. */
5041
4996
  export interface BareMetalMachinesRestartOptionalParams
@@ -5047,7 +5002,7 @@ export interface BareMetalMachinesRestartOptionalParams
5047
5002
  }
5048
5003
 
5049
5004
  /** Contains response data for the restart operation. */
5050
- export type BareMetalMachinesRestartResponse = BareMetalMachinesRestartHeaders;
5005
+ export type BareMetalMachinesRestartResponse = OperationStatusResult;
5051
5006
 
5052
5007
  /** Optional parameters. */
5053
5008
  export interface BareMetalMachinesRunCommandOptionalParams
@@ -5059,7 +5014,7 @@ export interface BareMetalMachinesRunCommandOptionalParams
5059
5014
  }
5060
5015
 
5061
5016
  /** Contains response data for the runCommand operation. */
5062
- export type BareMetalMachinesRunCommandResponse = BareMetalMachinesRunCommandHeaders;
5017
+ export type BareMetalMachinesRunCommandResponse = OperationStatusResult;
5063
5018
 
5064
5019
  /** Optional parameters. */
5065
5020
  export interface BareMetalMachinesRunDataExtractsOptionalParams
@@ -5071,7 +5026,7 @@ export interface BareMetalMachinesRunDataExtractsOptionalParams
5071
5026
  }
5072
5027
 
5073
5028
  /** Contains response data for the runDataExtracts operation. */
5074
- export type BareMetalMachinesRunDataExtractsResponse = BareMetalMachinesRunDataExtractsHeaders;
5029
+ export type BareMetalMachinesRunDataExtractsResponse = OperationStatusResult;
5075
5030
 
5076
5031
  /** Optional parameters. */
5077
5032
  export interface BareMetalMachinesRunReadCommandsOptionalParams
@@ -5083,7 +5038,7 @@ export interface BareMetalMachinesRunReadCommandsOptionalParams
5083
5038
  }
5084
5039
 
5085
5040
  /** Contains response data for the runReadCommands operation. */
5086
- export type BareMetalMachinesRunReadCommandsResponse = BareMetalMachinesRunReadCommandsHeaders;
5041
+ export type BareMetalMachinesRunReadCommandsResponse = OperationStatusResult;
5087
5042
 
5088
5043
  /** Optional parameters. */
5089
5044
  export interface BareMetalMachinesStartOptionalParams
@@ -5095,7 +5050,7 @@ export interface BareMetalMachinesStartOptionalParams
5095
5050
  }
5096
5051
 
5097
5052
  /** Contains response data for the start operation. */
5098
- export type BareMetalMachinesStartResponse = BareMetalMachinesStartHeaders;
5053
+ export type BareMetalMachinesStartResponse = OperationStatusResult;
5099
5054
 
5100
5055
  /** Optional parameters. */
5101
5056
  export interface BareMetalMachinesUncordonOptionalParams
@@ -5107,19 +5062,7 @@ export interface BareMetalMachinesUncordonOptionalParams
5107
5062
  }
5108
5063
 
5109
5064
  /** Contains response data for the uncordon operation. */
5110
- export type BareMetalMachinesUncordonResponse = BareMetalMachinesUncordonHeaders;
5111
-
5112
- /** Optional parameters. */
5113
- export interface BareMetalMachinesValidateHardwareOptionalParams
5114
- extends coreClient.OperationOptions {
5115
- /** Delay to wait until next poll, in milliseconds. */
5116
- updateIntervalInMs?: number;
5117
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5118
- resumeFrom?: string;
5119
- }
5120
-
5121
- /** Contains response data for the validateHardware operation. */
5122
- export type BareMetalMachinesValidateHardwareResponse = BareMetalMachinesValidateHardwareHeaders;
5065
+ export type BareMetalMachinesUncordonResponse = OperationStatusResult;
5123
5066
 
5124
5067
  /** Optional parameters. */
5125
5068
  export interface BareMetalMachinesListBySubscriptionNextOptionalParams
@@ -5339,7 +5282,7 @@ export interface ClustersDeployOptionalParams
5339
5282
  }
5340
5283
 
5341
5284
  /** Contains response data for the deploy operation. */
5342
- export type ClustersDeployResponse = ClustersDeployHeaders;
5285
+ export type ClustersDeployResponse = OperationStatusResult;
5343
5286
 
5344
5287
  /** Optional parameters. */
5345
5288
  export interface ClustersUpdateVersionOptionalParams
@@ -5351,7 +5294,7 @@ export interface ClustersUpdateVersionOptionalParams
5351
5294
  }
5352
5295
 
5353
5296
  /** Contains response data for the updateVersion operation. */
5354
- export type ClustersUpdateVersionResponse = ClustersUpdateVersionHeaders;
5297
+ export type ClustersUpdateVersionResponse = OperationStatusResult;
5355
5298
 
5356
5299
  /** Optional parameters. */
5357
5300
  export interface ClustersListBySubscriptionNextOptionalParams
@@ -5433,7 +5376,7 @@ export interface KubernetesClustersRestartNodeOptionalParams
5433
5376
  }
5434
5377
 
5435
5378
  /** Contains response data for the restartNode operation. */
5436
- export type KubernetesClustersRestartNodeResponse = KubernetesClustersRestartNodeHeaders;
5379
+ export type KubernetesClustersRestartNodeResponse = OperationStatusResult;
5437
5380
 
5438
5381
  /** Optional parameters. */
5439
5382
  export interface KubernetesClustersListBySubscriptionNextOptionalParams
@@ -5735,7 +5678,7 @@ export interface StorageAppliancesDisableRemoteVendorManagementOptionalParams
5735
5678
  }
5736
5679
 
5737
5680
  /** Contains response data for the disableRemoteVendorManagement operation. */
5738
- export type StorageAppliancesDisableRemoteVendorManagementResponse = StorageAppliancesDisableRemoteVendorManagementHeaders;
5681
+ export type StorageAppliancesDisableRemoteVendorManagementResponse = OperationStatusResult;
5739
5682
 
5740
5683
  /** Optional parameters. */
5741
5684
  export interface StorageAppliancesEnableRemoteVendorManagementOptionalParams
@@ -5749,19 +5692,7 @@ export interface StorageAppliancesEnableRemoteVendorManagementOptionalParams
5749
5692
  }
5750
5693
 
5751
5694
  /** Contains response data for the enableRemoteVendorManagement operation. */
5752
- export type StorageAppliancesEnableRemoteVendorManagementResponse = StorageAppliancesEnableRemoteVendorManagementHeaders;
5753
-
5754
- /** Optional parameters. */
5755
- export interface StorageAppliancesRunReadCommandsOptionalParams
5756
- extends coreClient.OperationOptions {
5757
- /** Delay to wait until next poll, in milliseconds. */
5758
- updateIntervalInMs?: number;
5759
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5760
- resumeFrom?: string;
5761
- }
5762
-
5763
- /** Contains response data for the runReadCommands operation. */
5764
- export type StorageAppliancesRunReadCommandsResponse = StorageAppliancesRunReadCommandsHeaders;
5695
+ export type StorageAppliancesEnableRemoteVendorManagementResponse = OperationStatusResult;
5765
5696
 
5766
5697
  /** Optional parameters. */
5767
5698
  export interface StorageAppliancesListBySubscriptionNextOptionalParams
@@ -5899,30 +5830,6 @@ export interface VirtualMachinesUpdateOptionalParams
5899
5830
  /** Contains response data for the update operation. */
5900
5831
  export type VirtualMachinesUpdateResponse = VirtualMachine;
5901
5832
 
5902
- /** Optional parameters. */
5903
- export interface VirtualMachinesAttachVolumeOptionalParams
5904
- extends coreClient.OperationOptions {
5905
- /** Delay to wait until next poll, in milliseconds. */
5906
- updateIntervalInMs?: number;
5907
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5908
- resumeFrom?: string;
5909
- }
5910
-
5911
- /** Contains response data for the attachVolume operation. */
5912
- export type VirtualMachinesAttachVolumeResponse = VirtualMachinesAttachVolumeHeaders;
5913
-
5914
- /** Optional parameters. */
5915
- export interface VirtualMachinesDetachVolumeOptionalParams
5916
- extends coreClient.OperationOptions {
5917
- /** Delay to wait until next poll, in milliseconds. */
5918
- updateIntervalInMs?: number;
5919
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5920
- resumeFrom?: string;
5921
- }
5922
-
5923
- /** Contains response data for the detachVolume operation. */
5924
- export type VirtualMachinesDetachVolumeResponse = VirtualMachinesDetachVolumeHeaders;
5925
-
5926
5833
  /** Optional parameters. */
5927
5834
  export interface VirtualMachinesPowerOffOptionalParams
5928
5835
  extends coreClient.OperationOptions {
@@ -5935,7 +5842,7 @@ export interface VirtualMachinesPowerOffOptionalParams
5935
5842
  }
5936
5843
 
5937
5844
  /** Contains response data for the powerOff operation. */
5938
- export type VirtualMachinesPowerOffResponse = VirtualMachinesPowerOffHeaders;
5845
+ export type VirtualMachinesPowerOffResponse = OperationStatusResult;
5939
5846
 
5940
5847
  /** Optional parameters. */
5941
5848
  export interface VirtualMachinesReimageOptionalParams
@@ -5947,7 +5854,7 @@ export interface VirtualMachinesReimageOptionalParams
5947
5854
  }
5948
5855
 
5949
5856
  /** Contains response data for the reimage operation. */
5950
- export type VirtualMachinesReimageResponse = VirtualMachinesReimageHeaders;
5857
+ export type VirtualMachinesReimageResponse = OperationStatusResult;
5951
5858
 
5952
5859
  /** Optional parameters. */
5953
5860
  export interface VirtualMachinesRestartOptionalParams
@@ -5959,7 +5866,7 @@ export interface VirtualMachinesRestartOptionalParams
5959
5866
  }
5960
5867
 
5961
5868
  /** Contains response data for the restart operation. */
5962
- export type VirtualMachinesRestartResponse = VirtualMachinesRestartHeaders;
5869
+ export type VirtualMachinesRestartResponse = OperationStatusResult;
5963
5870
 
5964
5871
  /** Optional parameters. */
5965
5872
  export interface VirtualMachinesStartOptionalParams
@@ -5971,7 +5878,7 @@ export interface VirtualMachinesStartOptionalParams
5971
5878
  }
5972
5879
 
5973
5880
  /** Contains response data for the start operation. */
5974
- export type VirtualMachinesStartResponse = VirtualMachinesStartHeaders;
5881
+ export type VirtualMachinesStartResponse = OperationStatusResult;
5975
5882
 
5976
5883
  /** Optional parameters. */
5977
5884
  export interface VirtualMachinesListBySubscriptionNextOptionalParams
@@ -2715,6 +2715,82 @@ export const BareMetalMachineCordonParameters: coreClient.CompositeMapper = {
2715
2715
  }
2716
2716
  };
2717
2717
 
2718
+ export const OperationStatusResult: coreClient.CompositeMapper = {
2719
+ type: {
2720
+ name: "Composite",
2721
+ className: "OperationStatusResult",
2722
+ modelProperties: {
2723
+ id: {
2724
+ serializedName: "id",
2725
+ type: {
2726
+ name: "String"
2727
+ }
2728
+ },
2729
+ resourceId: {
2730
+ serializedName: "resourceId",
2731
+ readOnly: true,
2732
+ type: {
2733
+ name: "String"
2734
+ }
2735
+ },
2736
+ name: {
2737
+ serializedName: "name",
2738
+ type: {
2739
+ name: "String"
2740
+ }
2741
+ },
2742
+ status: {
2743
+ serializedName: "status",
2744
+ required: true,
2745
+ type: {
2746
+ name: "String"
2747
+ }
2748
+ },
2749
+ percentComplete: {
2750
+ constraints: {
2751
+ InclusiveMaximum: 100,
2752
+ InclusiveMinimum: 0
2753
+ },
2754
+ serializedName: "percentComplete",
2755
+ type: {
2756
+ name: "Number"
2757
+ }
2758
+ },
2759
+ startTime: {
2760
+ serializedName: "startTime",
2761
+ type: {
2762
+ name: "DateTime"
2763
+ }
2764
+ },
2765
+ endTime: {
2766
+ serializedName: "endTime",
2767
+ type: {
2768
+ name: "DateTime"
2769
+ }
2770
+ },
2771
+ operations: {
2772
+ serializedName: "operations",
2773
+ type: {
2774
+ name: "Sequence",
2775
+ element: {
2776
+ type: {
2777
+ name: "Composite",
2778
+ className: "OperationStatusResult"
2779
+ }
2780
+ }
2781
+ }
2782
+ },
2783
+ error: {
2784
+ serializedName: "error",
2785
+ type: {
2786
+ name: "Composite",
2787
+ className: "ErrorDetail"
2788
+ }
2789
+ }
2790
+ }
2791
+ }
2792
+ };
2793
+
2718
2794
  export const BareMetalMachinePowerOffParameters: coreClient.CompositeMapper = {
2719
2795
  type: {
2720
2796
  name: "Composite",
@@ -2921,22 +2997,6 @@ export const BareMetalMachineRunReadCommandsParameters: coreClient.CompositeMapp
2921
2997
  }
2922
2998
  };
2923
2999
 
2924
- export const BareMetalMachineValidateHardwareParameters: coreClient.CompositeMapper = {
2925
- type: {
2926
- name: "Composite",
2927
- className: "BareMetalMachineValidateHardwareParameters",
2928
- modelProperties: {
2929
- validationCategory: {
2930
- serializedName: "validationCategory",
2931
- required: true,
2932
- type: {
2933
- name: "String"
2934
- }
2935
- }
2936
- }
2937
- }
2938
- };
2939
-
2940
3000
  export const CloudServicesNetworkPatchParameters: coreClient.CompositeMapper = {
2941
3001
  type: {
2942
3002
  name: "Composite",
@@ -3568,69 +3628,6 @@ export const StorageApplianceEnableRemoteVendorManagementParameters: coreClient.
3568
3628
  }
3569
3629
  };
3570
3630
 
3571
- export const StorageApplianceRunReadCommandsParameters: coreClient.CompositeMapper = {
3572
- type: {
3573
- name: "Composite",
3574
- className: "StorageApplianceRunReadCommandsParameters",
3575
- modelProperties: {
3576
- commands: {
3577
- constraints: {
3578
- MinItems: 1
3579
- },
3580
- serializedName: "commands",
3581
- required: true,
3582
- type: {
3583
- name: "Sequence",
3584
- element: {
3585
- type: {
3586
- name: "Composite",
3587
- className: "StorageApplianceCommandSpecification"
3588
- }
3589
- }
3590
- }
3591
- },
3592
- limitTimeSeconds: {
3593
- constraints: {
3594
- InclusiveMaximum: 14400,
3595
- InclusiveMinimum: 60
3596
- },
3597
- serializedName: "limitTimeSeconds",
3598
- required: true,
3599
- type: {
3600
- name: "Number"
3601
- }
3602
- }
3603
- }
3604
- }
3605
- };
3606
-
3607
- export const StorageApplianceCommandSpecification: coreClient.CompositeMapper = {
3608
- type: {
3609
- name: "Composite",
3610
- className: "StorageApplianceCommandSpecification",
3611
- modelProperties: {
3612
- arguments: {
3613
- serializedName: "arguments",
3614
- type: {
3615
- name: "Sequence",
3616
- element: {
3617
- type: {
3618
- name: "String"
3619
- }
3620
- }
3621
- }
3622
- },
3623
- command: {
3624
- serializedName: "command",
3625
- required: true,
3626
- type: {
3627
- name: "String"
3628
- }
3629
- }
3630
- }
3631
- }
3632
- };
3633
-
3634
3631
  export const TrunkedNetworkPatchParameters: coreClient.CompositeMapper = {
3635
3632
  type: {
3636
3633
  name: "Composite",
@@ -3670,22 +3667,6 @@ export const VirtualMachinePatchParameters: coreClient.CompositeMapper = {
3670
3667
  }
3671
3668
  };
3672
3669
 
3673
- export const VirtualMachineVolumeParameters: coreClient.CompositeMapper = {
3674
- type: {
3675
- name: "Composite",
3676
- className: "VirtualMachineVolumeParameters",
3677
- modelProperties: {
3678
- volumeId: {
3679
- serializedName: "volumeId",
3680
- required: true,
3681
- type: {
3682
- name: "String"
3683
- }
3684
- }
3685
- }
3686
- }
3687
- };
3688
-
3689
3670
  export const ConsoleList: coreClient.CompositeMapper = {
3690
3671
  type: {
3691
3672
  name: "Composite",
@@ -6345,21 +6326,6 @@ export const BareMetalMachinesUncordonHeaders: coreClient.CompositeMapper = {
6345
6326
  }
6346
6327
  };
6347
6328
 
6348
- export const BareMetalMachinesValidateHardwareHeaders: coreClient.CompositeMapper = {
6349
- type: {
6350
- name: "Composite",
6351
- className: "BareMetalMachinesValidateHardwareHeaders",
6352
- modelProperties: {
6353
- location: {
6354
- serializedName: "location",
6355
- type: {
6356
- name: "String"
6357
- }
6358
- }
6359
- }
6360
- }
6361
- };
6362
-
6363
6329
  export const CloudServicesNetworksCreateOrUpdateHeaders: coreClient.CompositeMapper = {
6364
6330
  type: {
6365
6331
  name: "Composite",
@@ -6750,21 +6716,6 @@ export const StorageAppliancesEnableRemoteVendorManagementHeaders: coreClient.Co
6750
6716
  }
6751
6717
  };
6752
6718
 
6753
- export const StorageAppliancesRunReadCommandsHeaders: coreClient.CompositeMapper = {
6754
- type: {
6755
- name: "Composite",
6756
- className: "StorageAppliancesRunReadCommandsHeaders",
6757
- modelProperties: {
6758
- location: {
6759
- serializedName: "location",
6760
- type: {
6761
- name: "String"
6762
- }
6763
- }
6764
- }
6765
- }
6766
- };
6767
-
6768
6719
  export const TrunkedNetworksCreateOrUpdateHeaders: coreClient.CompositeMapper = {
6769
6720
  type: {
6770
6721
  name: "Composite",
@@ -6840,36 +6791,6 @@ export const VirtualMachinesUpdateHeaders: coreClient.CompositeMapper = {
6840
6791
  }
6841
6792
  };
6842
6793
 
6843
- export const VirtualMachinesAttachVolumeHeaders: coreClient.CompositeMapper = {
6844
- type: {
6845
- name: "Composite",
6846
- className: "VirtualMachinesAttachVolumeHeaders",
6847
- modelProperties: {
6848
- location: {
6849
- serializedName: "location",
6850
- type: {
6851
- name: "String"
6852
- }
6853
- }
6854
- }
6855
- }
6856
- };
6857
-
6858
- export const VirtualMachinesDetachVolumeHeaders: coreClient.CompositeMapper = {
6859
- type: {
6860
- name: "Composite",
6861
- className: "VirtualMachinesDetachVolumeHeaders",
6862
- modelProperties: {
6863
- location: {
6864
- serializedName: "location",
6865
- type: {
6866
- name: "String"
6867
- }
6868
- }
6869
- }
6870
- }
6871
- };
6872
-
6873
6794
  export const VirtualMachinesPowerOffHeaders: coreClient.CompositeMapper = {
6874
6795
  type: {
6875
6796
  name: "Composite",