@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
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Restart the provided virtual machine.
17
17
  *
18
18
  * @summary Restart the provided virtual machine.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/VirtualMachines_Restart.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/VirtualMachines_Restart.json
20
20
  */
21
21
  function restartVirtualMachine() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Start the provided virtual machine.
17
17
  *
18
18
  * @summary Start the provided virtual machine.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/VirtualMachines_Start.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/VirtualMachines_Start.json
20
20
  */
21
21
  function startVirtualMachine() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Patch the properties of the provided virtual machine, or update the tags associated with the virtual machine. Properties and tag updates can be done independently.
17
17
  *
18
18
  * @summary Patch the properties of the provided virtual machine, or update the tags associated with the virtual machine. Properties and tag updates can be done independently.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/VirtualMachines_Patch.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/VirtualMachines_Patch.json
20
20
  */
21
21
  function patchVirtualMachine() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create a new volume or update the properties of the existing one.
17
17
  *
18
18
  * @summary Create a new volume or update the properties of the existing one.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_Create.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_Create.json
20
20
  */
21
21
  function createOrUpdateVolume() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete the provided volume.
17
17
  *
18
18
  * @summary Delete the provided volume.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_Delete.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_Delete.json
20
20
  */
21
21
  function deleteVolume() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of the provided volume.
17
17
  *
18
18
  * @summary Get properties of the provided volume.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_Get.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_Get.json
20
20
  */
21
21
  function getVolume() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get a list of volumes in the provided resource group.
17
17
  *
18
18
  * @summary Get a list of volumes in the provided resource group.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_ListByResourceGroup.json
20
20
  */
21
21
  function listVolumesForResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get a list of volumes in the provided subscription.
17
17
  *
18
18
  * @summary Get a list of volumes in the provided subscription.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_ListBySubscription.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_ListBySubscription.json
20
20
  */
21
21
  function listVolumeForSubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update tags associated with the provided volume.
17
17
  *
18
18
  * @summary Update tags associated with the provided volume.
19
- * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/Volumes_Patch.json
19
+ * x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/stable/2023-07-01/examples/Volumes_Patch.json
20
20
  */
21
21
  function patchVolume() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -1052,6 +1052,30 @@ export interface BareMetalMachineCordonParameters {
1052
1052
  /** The indicator of whether to evacuate the node workload when the bare metal machine is cordoned. */
1053
1053
  evacuate?: BareMetalMachineEvacuate;
1054
1054
  }
1055
+ /** The current status of an async operation. */
1056
+ export interface OperationStatusResult {
1057
+ /** Fully qualified ID for the async operation. */
1058
+ id?: string;
1059
+ /**
1060
+ * Fully qualified ID of the resource against which the original async operation was started.
1061
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1062
+ */
1063
+ readonly resourceId?: string;
1064
+ /** Name of the async operation. */
1065
+ name?: string;
1066
+ /** Operation status. */
1067
+ status: string;
1068
+ /** Percent of the operation that is complete. */
1069
+ percentComplete?: number;
1070
+ /** The start time of the operation. */
1071
+ startTime?: Date;
1072
+ /** The end time of the operation. */
1073
+ endTime?: Date;
1074
+ /** The operations list. */
1075
+ operations?: OperationStatusResult[];
1076
+ /** If present, details of the operation error. */
1077
+ error?: ErrorDetail;
1078
+ }
1055
1079
  /** BareMetalMachinePowerOffParameters represents the body of the request to power off bare metal machine. */
1056
1080
  export interface BareMetalMachinePowerOffParameters {
1057
1081
  /** The indicator of whether to skip the graceful OS shutdown and power off the bare metal machine immediately. */
@@ -1109,11 +1133,6 @@ export interface BareMetalMachineRunReadCommandsParameters {
1109
1133
  */
1110
1134
  limitTimeSeconds: number;
1111
1135
  }
1112
- /** BareMetalMachineValidateHardwareParameters represents the body of the request to validate the physical hardware of a bare metal machine. */
1113
- export interface BareMetalMachineValidateHardwareParameters {
1114
- /** The category of hardware validation to perform. */
1115
- validationCategory: BareMetalMachineHardwareValidationCategory;
1116
- }
1117
1136
  /** CloudServicesNetworkPatchParameters represents the body of the request to patch the cloud services network. */
1118
1137
  export interface CloudServicesNetworkPatchParameters {
1119
1138
  /** The Azure resource tags that will replace the existing ones. */
@@ -1323,23 +1342,6 @@ export interface StorageApplianceEnableRemoteVendorManagementParameters {
1323
1342
  /** Field Deprecated. This field is not used and will be rejected if provided. The list of IPv4 subnets (in CIDR format), IPv6 subnets (in CIDR format), or hostnames that the storage appliance needs accessible in order to turn on the remote vendor management. */
1324
1343
  supportEndpoints?: string[];
1325
1344
  }
1326
- /** StorageApplianceRunReadCommandsParameters represents the body of request containing list of read-only commands to run for a storage appliance. */
1327
- export interface StorageApplianceRunReadCommandsParameters {
1328
- /** The list of read-only commands to run. */
1329
- commands: StorageApplianceCommandSpecification[];
1330
- /**
1331
- * The maximum time the commands are allowed to run.
1332
- * 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).
1333
- */
1334
- limitTimeSeconds: number;
1335
- }
1336
- /** StorageApplianceCommandSpecification represents the read-only command and optional arguments to execute against a storage appliance. */
1337
- export interface StorageApplianceCommandSpecification {
1338
- /** The list of string arguments that will be passed to the script in order as separate arguments. */
1339
- arguments?: string[];
1340
- /** The read-only command to execute against the storage appliance. */
1341
- command: string;
1342
- }
1343
1345
  /** TrunkedNetworkPatchParameters represents the body of the request to patch the Trunked network. */
1344
1346
  export interface TrunkedNetworkPatchParameters {
1345
1347
  /** The Azure resource tags that will replace the existing ones. */
@@ -1356,11 +1358,6 @@ export interface VirtualMachinePatchParameters {
1356
1358
  /** The credentials used to login to the image repository that has access to the specified image. */
1357
1359
  vmImageRepositoryCredentials?: ImageRepositoryCredentials;
1358
1360
  }
1359
- /** VirtualMachineVolumeParameters represents the body of the request to handle attachment and detachment of volumes for the virtual machine. */
1360
- export interface VirtualMachineVolumeParameters {
1361
- /** The resource ID of the volume. */
1362
- volumeId: string;
1363
- }
1364
1361
  /** ConsoleList represents a list of virtual machine consoles. */
1365
1362
  export interface ConsoleList {
1366
1363
  /** The link used to get the next page of operations. */
@@ -2462,11 +2459,6 @@ export interface BareMetalMachinesUncordonHeaders {
2462
2459
  /** The URL to retrieve the status of the asynchronous operation. */
2463
2460
  location?: string;
2464
2461
  }
2465
- /** Defines headers for BareMetalMachines_validateHardware operation. */
2466
- export interface BareMetalMachinesValidateHardwareHeaders {
2467
- /** The URL to retrieve the status of the asynchronous operation. */
2468
- location?: string;
2469
- }
2470
2462
  /** Defines headers for CloudServicesNetworks_createOrUpdate operation. */
2471
2463
  export interface CloudServicesNetworksCreateOrUpdateHeaders {
2472
2464
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -2597,11 +2589,6 @@ export interface StorageAppliancesEnableRemoteVendorManagementHeaders {
2597
2589
  /** The URL to retrieve the status of the asynchronous operation. */
2598
2590
  location?: string;
2599
2591
  }
2600
- /** Defines headers for StorageAppliances_runReadCommands operation. */
2601
- export interface StorageAppliancesRunReadCommandsHeaders {
2602
- /** The URL to retrieve the status of the asynchronous operation. */
2603
- location?: string;
2604
- }
2605
2592
  /** Defines headers for TrunkedNetworks_createOrUpdate operation. */
2606
2593
  export interface TrunkedNetworksCreateOrUpdateHeaders {
2607
2594
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -2627,16 +2614,6 @@ export interface VirtualMachinesUpdateHeaders {
2627
2614
  /** The URL to retrieve the status of the asynchronous operation. */
2628
2615
  azureAsyncOperation?: string;
2629
2616
  }
2630
- /** Defines headers for VirtualMachines_attachVolume operation. */
2631
- export interface VirtualMachinesAttachVolumeHeaders {
2632
- /** The URL to retrieve the status of the asynchronous operation. */
2633
- location?: string;
2634
- }
2635
- /** Defines headers for VirtualMachines_detachVolume operation. */
2636
- export interface VirtualMachinesDetachVolumeHeaders {
2637
- /** The URL to retrieve the status of the asynchronous operation. */
2638
- location?: string;
2639
- }
2640
2617
  /** Defines headers for VirtualMachines_powerOff operation. */
2641
2618
  export interface VirtualMachinesPowerOffHeaders {
2642
2619
  /** The URL to retrieve the status of the asynchronous operation. */
@@ -4235,19 +4212,6 @@ export declare enum KnownBareMetalMachineSkipShutdown {
4235
4212
  * **False**
4236
4213
  */
4237
4214
  export type BareMetalMachineSkipShutdown = string;
4238
- /** Known values of {@link BareMetalMachineHardwareValidationCategory} that the service accepts. */
4239
- export declare enum KnownBareMetalMachineHardwareValidationCategory {
4240
- /** BasicValidation */
4241
- BasicValidation = "BasicValidation"
4242
- }
4243
- /**
4244
- * Defines values for BareMetalMachineHardwareValidationCategory. \
4245
- * {@link KnownBareMetalMachineHardwareValidationCategory} can be used interchangeably with BareMetalMachineHardwareValidationCategory,
4246
- * this enum contains the known values that the service supports.
4247
- * ### Known values supported by the service
4248
- * **BasicValidation**
4249
- */
4250
- export type BareMetalMachineHardwareValidationCategory = string;
4251
4215
  /** Known values of {@link BareMetalMachineKeySetDetailedStatus} that the service accepts. */
4252
4216
  export declare enum KnownBareMetalMachineKeySetDetailedStatus {
4253
4217
  /** AllActive */
@@ -4619,7 +4583,7 @@ export interface BareMetalMachinesCordonOptionalParams extends coreClient.Operat
4619
4583
  resumeFrom?: string;
4620
4584
  }
4621
4585
  /** Contains response data for the cordon operation. */
4622
- export type BareMetalMachinesCordonResponse = BareMetalMachinesCordonHeaders;
4586
+ export type BareMetalMachinesCordonResponse = OperationStatusResult;
4623
4587
  /** Optional parameters. */
4624
4588
  export interface BareMetalMachinesPowerOffOptionalParams extends coreClient.OperationOptions {
4625
4589
  /** The request body. */
@@ -4630,7 +4594,7 @@ export interface BareMetalMachinesPowerOffOptionalParams extends coreClient.Oper
4630
4594
  resumeFrom?: string;
4631
4595
  }
4632
4596
  /** Contains response data for the powerOff operation. */
4633
- export type BareMetalMachinesPowerOffResponse = BareMetalMachinesPowerOffHeaders;
4597
+ export type BareMetalMachinesPowerOffResponse = OperationStatusResult;
4634
4598
  /** Optional parameters. */
4635
4599
  export interface BareMetalMachinesReimageOptionalParams extends coreClient.OperationOptions {
4636
4600
  /** Delay to wait until next poll, in milliseconds. */
@@ -4639,7 +4603,7 @@ export interface BareMetalMachinesReimageOptionalParams extends coreClient.Opera
4639
4603
  resumeFrom?: string;
4640
4604
  }
4641
4605
  /** Contains response data for the reimage operation. */
4642
- export type BareMetalMachinesReimageResponse = BareMetalMachinesReimageHeaders;
4606
+ export type BareMetalMachinesReimageResponse = OperationStatusResult;
4643
4607
  /** Optional parameters. */
4644
4608
  export interface BareMetalMachinesReplaceOptionalParams extends coreClient.OperationOptions {
4645
4609
  /** The request body. */
@@ -4650,7 +4614,7 @@ export interface BareMetalMachinesReplaceOptionalParams extends coreClient.Opera
4650
4614
  resumeFrom?: string;
4651
4615
  }
4652
4616
  /** Contains response data for the replace operation. */
4653
- export type BareMetalMachinesReplaceResponse = BareMetalMachinesReplaceHeaders;
4617
+ export type BareMetalMachinesReplaceResponse = OperationStatusResult;
4654
4618
  /** Optional parameters. */
4655
4619
  export interface BareMetalMachinesRestartOptionalParams extends coreClient.OperationOptions {
4656
4620
  /** Delay to wait until next poll, in milliseconds. */
@@ -4659,7 +4623,7 @@ export interface BareMetalMachinesRestartOptionalParams extends coreClient.Opera
4659
4623
  resumeFrom?: string;
4660
4624
  }
4661
4625
  /** Contains response data for the restart operation. */
4662
- export type BareMetalMachinesRestartResponse = BareMetalMachinesRestartHeaders;
4626
+ export type BareMetalMachinesRestartResponse = OperationStatusResult;
4663
4627
  /** Optional parameters. */
4664
4628
  export interface BareMetalMachinesRunCommandOptionalParams extends coreClient.OperationOptions {
4665
4629
  /** Delay to wait until next poll, in milliseconds. */
@@ -4668,7 +4632,7 @@ export interface BareMetalMachinesRunCommandOptionalParams extends coreClient.Op
4668
4632
  resumeFrom?: string;
4669
4633
  }
4670
4634
  /** Contains response data for the runCommand operation. */
4671
- export type BareMetalMachinesRunCommandResponse = BareMetalMachinesRunCommandHeaders;
4635
+ export type BareMetalMachinesRunCommandResponse = OperationStatusResult;
4672
4636
  /** Optional parameters. */
4673
4637
  export interface BareMetalMachinesRunDataExtractsOptionalParams extends coreClient.OperationOptions {
4674
4638
  /** Delay to wait until next poll, in milliseconds. */
@@ -4677,7 +4641,7 @@ export interface BareMetalMachinesRunDataExtractsOptionalParams extends coreClie
4677
4641
  resumeFrom?: string;
4678
4642
  }
4679
4643
  /** Contains response data for the runDataExtracts operation. */
4680
- export type BareMetalMachinesRunDataExtractsResponse = BareMetalMachinesRunDataExtractsHeaders;
4644
+ export type BareMetalMachinesRunDataExtractsResponse = OperationStatusResult;
4681
4645
  /** Optional parameters. */
4682
4646
  export interface BareMetalMachinesRunReadCommandsOptionalParams extends coreClient.OperationOptions {
4683
4647
  /** Delay to wait until next poll, in milliseconds. */
@@ -4686,7 +4650,7 @@ export interface BareMetalMachinesRunReadCommandsOptionalParams extends coreClie
4686
4650
  resumeFrom?: string;
4687
4651
  }
4688
4652
  /** Contains response data for the runReadCommands operation. */
4689
- export type BareMetalMachinesRunReadCommandsResponse = BareMetalMachinesRunReadCommandsHeaders;
4653
+ export type BareMetalMachinesRunReadCommandsResponse = OperationStatusResult;
4690
4654
  /** Optional parameters. */
4691
4655
  export interface BareMetalMachinesStartOptionalParams extends coreClient.OperationOptions {
4692
4656
  /** Delay to wait until next poll, in milliseconds. */
@@ -4695,7 +4659,7 @@ export interface BareMetalMachinesStartOptionalParams extends coreClient.Operati
4695
4659
  resumeFrom?: string;
4696
4660
  }
4697
4661
  /** Contains response data for the start operation. */
4698
- export type BareMetalMachinesStartResponse = BareMetalMachinesStartHeaders;
4662
+ export type BareMetalMachinesStartResponse = OperationStatusResult;
4699
4663
  /** Optional parameters. */
4700
4664
  export interface BareMetalMachinesUncordonOptionalParams extends coreClient.OperationOptions {
4701
4665
  /** Delay to wait until next poll, in milliseconds. */
@@ -4704,16 +4668,7 @@ export interface BareMetalMachinesUncordonOptionalParams extends coreClient.Oper
4704
4668
  resumeFrom?: string;
4705
4669
  }
4706
4670
  /** Contains response data for the uncordon operation. */
4707
- export type BareMetalMachinesUncordonResponse = BareMetalMachinesUncordonHeaders;
4708
- /** Optional parameters. */
4709
- export interface BareMetalMachinesValidateHardwareOptionalParams extends coreClient.OperationOptions {
4710
- /** Delay to wait until next poll, in milliseconds. */
4711
- updateIntervalInMs?: number;
4712
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4713
- resumeFrom?: string;
4714
- }
4715
- /** Contains response data for the validateHardware operation. */
4716
- export type BareMetalMachinesValidateHardwareResponse = BareMetalMachinesValidateHardwareHeaders;
4671
+ export type BareMetalMachinesUncordonResponse = OperationStatusResult;
4717
4672
  /** Optional parameters. */
4718
4673
  export interface BareMetalMachinesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
4719
4674
  }
@@ -4876,7 +4831,7 @@ export interface ClustersDeployOptionalParams extends coreClient.OperationOption
4876
4831
  resumeFrom?: string;
4877
4832
  }
4878
4833
  /** Contains response data for the deploy operation. */
4879
- export type ClustersDeployResponse = ClustersDeployHeaders;
4834
+ export type ClustersDeployResponse = OperationStatusResult;
4880
4835
  /** Optional parameters. */
4881
4836
  export interface ClustersUpdateVersionOptionalParams extends coreClient.OperationOptions {
4882
4837
  /** Delay to wait until next poll, in milliseconds. */
@@ -4885,7 +4840,7 @@ export interface ClustersUpdateVersionOptionalParams extends coreClient.Operatio
4885
4840
  resumeFrom?: string;
4886
4841
  }
4887
4842
  /** Contains response data for the updateVersion operation. */
4888
- export type ClustersUpdateVersionResponse = ClustersUpdateVersionHeaders;
4843
+ export type ClustersUpdateVersionResponse = OperationStatusResult;
4889
4844
  /** Optional parameters. */
4890
4845
  export interface ClustersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
4891
4846
  }
@@ -4946,7 +4901,7 @@ export interface KubernetesClustersRestartNodeOptionalParams extends coreClient.
4946
4901
  resumeFrom?: string;
4947
4902
  }
4948
4903
  /** Contains response data for the restartNode operation. */
4949
- export type KubernetesClustersRestartNodeResponse = KubernetesClustersRestartNodeHeaders;
4904
+ export type KubernetesClustersRestartNodeResponse = OperationStatusResult;
4950
4905
  /** Optional parameters. */
4951
4906
  export interface KubernetesClustersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
4952
4907
  }
@@ -5170,7 +5125,7 @@ export interface StorageAppliancesDisableRemoteVendorManagementOptionalParams ex
5170
5125
  resumeFrom?: string;
5171
5126
  }
5172
5127
  /** Contains response data for the disableRemoteVendorManagement operation. */
5173
- export type StorageAppliancesDisableRemoteVendorManagementResponse = StorageAppliancesDisableRemoteVendorManagementHeaders;
5128
+ export type StorageAppliancesDisableRemoteVendorManagementResponse = OperationStatusResult;
5174
5129
  /** Optional parameters. */
5175
5130
  export interface StorageAppliancesEnableRemoteVendorManagementOptionalParams extends coreClient.OperationOptions {
5176
5131
  /** The request body. */
@@ -5181,16 +5136,7 @@ export interface StorageAppliancesEnableRemoteVendorManagementOptionalParams ext
5181
5136
  resumeFrom?: string;
5182
5137
  }
5183
5138
  /** Contains response data for the enableRemoteVendorManagement operation. */
5184
- export type StorageAppliancesEnableRemoteVendorManagementResponse = StorageAppliancesEnableRemoteVendorManagementHeaders;
5185
- /** Optional parameters. */
5186
- export interface StorageAppliancesRunReadCommandsOptionalParams extends coreClient.OperationOptions {
5187
- /** Delay to wait until next poll, in milliseconds. */
5188
- updateIntervalInMs?: number;
5189
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5190
- resumeFrom?: string;
5191
- }
5192
- /** Contains response data for the runReadCommands operation. */
5193
- export type StorageAppliancesRunReadCommandsResponse = StorageAppliancesRunReadCommandsHeaders;
5139
+ export type StorageAppliancesEnableRemoteVendorManagementResponse = OperationStatusResult;
5194
5140
  /** Optional parameters. */
5195
5141
  export interface StorageAppliancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
5196
5142
  }
@@ -5292,24 +5238,6 @@ export interface VirtualMachinesUpdateOptionalParams extends coreClient.Operatio
5292
5238
  /** Contains response data for the update operation. */
5293
5239
  export type VirtualMachinesUpdateResponse = VirtualMachine;
5294
5240
  /** Optional parameters. */
5295
- export interface VirtualMachinesAttachVolumeOptionalParams extends coreClient.OperationOptions {
5296
- /** Delay to wait until next poll, in milliseconds. */
5297
- updateIntervalInMs?: number;
5298
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5299
- resumeFrom?: string;
5300
- }
5301
- /** Contains response data for the attachVolume operation. */
5302
- export type VirtualMachinesAttachVolumeResponse = VirtualMachinesAttachVolumeHeaders;
5303
- /** Optional parameters. */
5304
- export interface VirtualMachinesDetachVolumeOptionalParams extends coreClient.OperationOptions {
5305
- /** Delay to wait until next poll, in milliseconds. */
5306
- updateIntervalInMs?: number;
5307
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
5308
- resumeFrom?: string;
5309
- }
5310
- /** Contains response data for the detachVolume operation. */
5311
- export type VirtualMachinesDetachVolumeResponse = VirtualMachinesDetachVolumeHeaders;
5312
- /** Optional parameters. */
5313
5241
  export interface VirtualMachinesPowerOffOptionalParams extends coreClient.OperationOptions {
5314
5242
  /** The request body. */
5315
5243
  virtualMachinePowerOffParameters?: VirtualMachinePowerOffParameters;
@@ -5319,7 +5247,7 @@ export interface VirtualMachinesPowerOffOptionalParams extends coreClient.Operat
5319
5247
  resumeFrom?: string;
5320
5248
  }
5321
5249
  /** Contains response data for the powerOff operation. */
5322
- export type VirtualMachinesPowerOffResponse = VirtualMachinesPowerOffHeaders;
5250
+ export type VirtualMachinesPowerOffResponse = OperationStatusResult;
5323
5251
  /** Optional parameters. */
5324
5252
  export interface VirtualMachinesReimageOptionalParams extends coreClient.OperationOptions {
5325
5253
  /** Delay to wait until next poll, in milliseconds. */
@@ -5328,7 +5256,7 @@ export interface VirtualMachinesReimageOptionalParams extends coreClient.Operati
5328
5256
  resumeFrom?: string;
5329
5257
  }
5330
5258
  /** Contains response data for the reimage operation. */
5331
- export type VirtualMachinesReimageResponse = VirtualMachinesReimageHeaders;
5259
+ export type VirtualMachinesReimageResponse = OperationStatusResult;
5332
5260
  /** Optional parameters. */
5333
5261
  export interface VirtualMachinesRestartOptionalParams extends coreClient.OperationOptions {
5334
5262
  /** Delay to wait until next poll, in milliseconds. */
@@ -5337,7 +5265,7 @@ export interface VirtualMachinesRestartOptionalParams extends coreClient.Operati
5337
5265
  resumeFrom?: string;
5338
5266
  }
5339
5267
  /** Contains response data for the restart operation. */
5340
- export type VirtualMachinesRestartResponse = VirtualMachinesRestartHeaders;
5268
+ export type VirtualMachinesRestartResponse = OperationStatusResult;
5341
5269
  /** Optional parameters. */
5342
5270
  export interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
5343
5271
  /** Delay to wait until next poll, in milliseconds. */
@@ -5346,7 +5274,7 @@ export interface VirtualMachinesStartOptionalParams extends coreClient.Operation
5346
5274
  resumeFrom?: string;
5347
5275
  }
5348
5276
  /** Contains response data for the start operation. */
5349
- export type VirtualMachinesStartResponse = VirtualMachinesStartHeaders;
5277
+ export type VirtualMachinesStartResponse = OperationStatusResult;
5350
5278
  /** Optional parameters. */
5351
5279
  export interface VirtualMachinesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
5352
5280
  }