@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.
- package/CHANGELOG.md +1 -177
- package/README.md +1 -1
- package/dist/index.js +166 -647
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/agentPoolsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsGetSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsListByKubernetesClusterSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachineKeySetsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachineKeySetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachineKeySetsGetSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachineKeySetsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachineKeySetsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesCordonSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesGetSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesPowerOffSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesReimageSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesReplaceSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesRestartSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesRunCommandSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesRunDataExtractsSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesRunReadCommandsSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesStartSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesUncordonSample.js +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bmcKeySetsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/bmcKeySetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/bmcKeySetsGetSample.js +1 -1
- package/dist-esm/samples-dev/bmcKeySetsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/bmcKeySetsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/cloudServicesNetworksUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersGetSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/clusterManagersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clustersDeploySample.js +2 -2
- package/dist-esm/samples-dev/clustersGetSample.js +1 -1
- package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/clustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +2 -2
- package/dist-esm/samples-dev/clustersUpdateVersionSample.js +1 -1
- package/dist-esm/samples-dev/consolesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/consolesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/consolesGetSample.js +1 -1
- package/dist-esm/samples-dev/consolesListByVirtualMachineSample.js +1 -1
- package/dist-esm/samples-dev/consolesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersRestartNodeSample.js +1 -1
- package/dist-esm/samples-dev/kubernetesClustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/l2NetworksUpdateSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/l3NetworksUpdateSample.js +1 -1
- package/dist-esm/samples-dev/metricsConfigurationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/metricsConfigurationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/metricsConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/metricsConfigurationsListByClusterSample.js +1 -1
- package/dist-esm/samples-dev/metricsConfigurationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/rackSkusGetSample.js +1 -1
- package/dist-esm/samples-dev/rackSkusListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/racksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/racksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/racksGetSample.js +1 -1
- package/dist-esm/samples-dev/racksListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/racksListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/racksUpdateSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesDisableRemoteVendorManagementSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesEnableRemoteVendorManagementSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesGetSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/storageAppliancesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/trunkedNetworksUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesReimageSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesRestartSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/volumesGetSample.js +1 -1
- package/dist-esm/samples-dev/volumesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/volumesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +43 -115
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +0 -6
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -8
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +75 -147
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +0 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +2 -18
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/networkCloud.js +2 -2
- package/dist-esm/src/networkCloud.js.map +1 -1
- package/dist-esm/src/operations/bareMetalMachines.d.ts +1 -17
- package/dist-esm/src/operations/bareMetalMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/bareMetalMachines.js +40 -135
- package/dist-esm/src/operations/bareMetalMachines.js.map +1 -1
- package/dist-esm/src/operations/clusters.js +8 -8
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/kubernetesClusters.js +4 -4
- package/dist-esm/src/operations/kubernetesClusters.js.map +1 -1
- package/dist-esm/src/operations/storageAppliances.d.ts +1 -17
- package/dist-esm/src/operations/storageAppliances.d.ts.map +1 -1
- package/dist-esm/src/operations/storageAppliances.js +8 -103
- package/dist-esm/src/operations/storageAppliances.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +1 -33
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +16 -206
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/bareMetalMachines.d.ts +1 -17
- package/dist-esm/src/operationsInterfaces/bareMetalMachines.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/storageAppliances.d.ts +1 -17
- package/dist-esm/src/operationsInterfaces/storageAppliances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +1 -33
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
- package/package.json +4 -3
- package/review/arm-networkcloud.api.md +32 -113
- package/src/models/index.ts +44 -137
- package/src/models/mappers.ts +76 -155
- package/src/models/parameters.ts +1 -24
- package/src/networkCloud.ts +2 -2
- package/src/operations/bareMetalMachines.ts +40 -177
- package/src/operations/clusters.ts +8 -8
- package/src/operations/kubernetesClusters.ts +4 -4
- package/src/operations/storageAppliances.ts +8 -153
- package/src/operations/virtualMachines.ts +16 -289
- package/src/operationsInterfaces/bareMetalMachines.ts +1 -35
- package/src/operationsInterfaces/storageAppliances.ts +1 -35
- package/src/operationsInterfaces/virtualMachines.ts +0 -67
- package/types/arm-networkcloud.d.ts +44 -197
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.d.ts +0 -2
- package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.js +0 -42
- package/dist-esm/samples-dev/bareMetalMachinesValidateHardwareSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.js +0 -43
- package/dist-esm/samples-dev/storageAppliancesRunReadCommandsSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.js +0 -42
- package/dist-esm/samples-dev/virtualMachinesAttachVolumeSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.js +0 -42
- package/dist-esm/samples-dev/virtualMachinesDetachVolumeSample.js.map +0 -1
|
@@ -19,11 +19,6 @@ import {
|
|
|
19
19
|
VirtualMachinesDeleteOptionalParams,
|
|
20
20
|
VirtualMachinesUpdateOptionalParams,
|
|
21
21
|
VirtualMachinesUpdateResponse,
|
|
22
|
-
VirtualMachineVolumeParameters,
|
|
23
|
-
VirtualMachinesAttachVolumeOptionalParams,
|
|
24
|
-
VirtualMachinesAttachVolumeResponse,
|
|
25
|
-
VirtualMachinesDetachVolumeOptionalParams,
|
|
26
|
-
VirtualMachinesDetachVolumeResponse,
|
|
27
22
|
VirtualMachinesPowerOffOptionalParams,
|
|
28
23
|
VirtualMachinesPowerOffResponse,
|
|
29
24
|
VirtualMachinesReimageOptionalParams,
|
|
@@ -146,68 +141,6 @@ export interface VirtualMachines {
|
|
|
146
141
|
virtualMachineName: string,
|
|
147
142
|
options?: VirtualMachinesUpdateOptionalParams
|
|
148
143
|
): Promise<VirtualMachinesUpdateResponse>;
|
|
149
|
-
/**
|
|
150
|
-
* Attach volume to the provided virtual machine.
|
|
151
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
152
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
153
|
-
* @param virtualMachineAttachVolumeParameters The request body.
|
|
154
|
-
* @param options The options parameters.
|
|
155
|
-
*/
|
|
156
|
-
beginAttachVolume(
|
|
157
|
-
resourceGroupName: string,
|
|
158
|
-
virtualMachineName: string,
|
|
159
|
-
virtualMachineAttachVolumeParameters: VirtualMachineVolumeParameters,
|
|
160
|
-
options?: VirtualMachinesAttachVolumeOptionalParams
|
|
161
|
-
): Promise<
|
|
162
|
-
SimplePollerLike<
|
|
163
|
-
OperationState<VirtualMachinesAttachVolumeResponse>,
|
|
164
|
-
VirtualMachinesAttachVolumeResponse
|
|
165
|
-
>
|
|
166
|
-
>;
|
|
167
|
-
/**
|
|
168
|
-
* Attach volume to the provided virtual machine.
|
|
169
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
170
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
171
|
-
* @param virtualMachineAttachVolumeParameters The request body.
|
|
172
|
-
* @param options The options parameters.
|
|
173
|
-
*/
|
|
174
|
-
beginAttachVolumeAndWait(
|
|
175
|
-
resourceGroupName: string,
|
|
176
|
-
virtualMachineName: string,
|
|
177
|
-
virtualMachineAttachVolumeParameters: VirtualMachineVolumeParameters,
|
|
178
|
-
options?: VirtualMachinesAttachVolumeOptionalParams
|
|
179
|
-
): Promise<VirtualMachinesAttachVolumeResponse>;
|
|
180
|
-
/**
|
|
181
|
-
* Detach volume from the provided virtual machine.
|
|
182
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
183
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
184
|
-
* @param virtualMachineDetachVolumeParameters The request body.
|
|
185
|
-
* @param options The options parameters.
|
|
186
|
-
*/
|
|
187
|
-
beginDetachVolume(
|
|
188
|
-
resourceGroupName: string,
|
|
189
|
-
virtualMachineName: string,
|
|
190
|
-
virtualMachineDetachVolumeParameters: VirtualMachineVolumeParameters,
|
|
191
|
-
options?: VirtualMachinesDetachVolumeOptionalParams
|
|
192
|
-
): Promise<
|
|
193
|
-
SimplePollerLike<
|
|
194
|
-
OperationState<VirtualMachinesDetachVolumeResponse>,
|
|
195
|
-
VirtualMachinesDetachVolumeResponse
|
|
196
|
-
>
|
|
197
|
-
>;
|
|
198
|
-
/**
|
|
199
|
-
* Detach volume from the provided virtual machine.
|
|
200
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
201
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
202
|
-
* @param virtualMachineDetachVolumeParameters The request body.
|
|
203
|
-
* @param options The options parameters.
|
|
204
|
-
*/
|
|
205
|
-
beginDetachVolumeAndWait(
|
|
206
|
-
resourceGroupName: string,
|
|
207
|
-
virtualMachineName: string,
|
|
208
|
-
virtualMachineDetachVolumeParameters: VirtualMachineVolumeParameters,
|
|
209
|
-
options?: VirtualMachinesDetachVolumeOptionalParams
|
|
210
|
-
): Promise<VirtualMachinesDetachVolumeResponse>;
|
|
211
144
|
/**
|
|
212
145
|
* Power off the provided virtual machine.
|
|
213
146
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -552,15 +552,6 @@ export declare type BareMetalMachineDetailedStatus = string;
|
|
|
552
552
|
*/
|
|
553
553
|
export declare type BareMetalMachineEvacuate = string;
|
|
554
554
|
|
|
555
|
-
/**
|
|
556
|
-
* Defines values for BareMetalMachineHardwareValidationCategory. \
|
|
557
|
-
* {@link KnownBareMetalMachineHardwareValidationCategory} can be used interchangeably with BareMetalMachineHardwareValidationCategory,
|
|
558
|
-
* this enum contains the known values that the service supports.
|
|
559
|
-
* ### Known values supported by the service
|
|
560
|
-
* **BasicValidation**
|
|
561
|
-
*/
|
|
562
|
-
export declare type BareMetalMachineHardwareValidationCategory = string;
|
|
563
|
-
|
|
564
555
|
/**
|
|
565
556
|
* Defines values for BareMetalMachineHardwareValidationResult. \
|
|
566
557
|
* {@link KnownBareMetalMachineHardwareValidationResult} can be used interchangeably with BareMetalMachineHardwareValidationResult,
|
|
@@ -1164,22 +1155,6 @@ export declare interface BareMetalMachines {
|
|
|
1164
1155
|
* @param options The options parameters.
|
|
1165
1156
|
*/
|
|
1166
1157
|
beginUncordonAndWait(resourceGroupName: string, bareMetalMachineName: string, options?: BareMetalMachinesUncordonOptionalParams): Promise<BareMetalMachinesUncordonResponse>;
|
|
1167
|
-
/**
|
|
1168
|
-
* Validate the hardware of the provided bare metal machine.
|
|
1169
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1170
|
-
* @param bareMetalMachineName The name of the bare metal machine.
|
|
1171
|
-
* @param bareMetalMachineValidateHardwareParameters The request body.
|
|
1172
|
-
* @param options The options parameters.
|
|
1173
|
-
*/
|
|
1174
|
-
beginValidateHardware(resourceGroupName: string, bareMetalMachineName: string, bareMetalMachineValidateHardwareParameters: BareMetalMachineValidateHardwareParameters, options?: BareMetalMachinesValidateHardwareOptionalParams): Promise<SimplePollerLike<OperationState<BareMetalMachinesValidateHardwareResponse>, BareMetalMachinesValidateHardwareResponse>>;
|
|
1175
|
-
/**
|
|
1176
|
-
* Validate the hardware of the provided bare metal machine.
|
|
1177
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1178
|
-
* @param bareMetalMachineName The name of the bare metal machine.
|
|
1179
|
-
* @param bareMetalMachineValidateHardwareParameters The request body.
|
|
1180
|
-
* @param options The options parameters.
|
|
1181
|
-
*/
|
|
1182
|
-
beginValidateHardwareAndWait(resourceGroupName: string, bareMetalMachineName: string, bareMetalMachineValidateHardwareParameters: BareMetalMachineValidateHardwareParameters, options?: BareMetalMachinesValidateHardwareOptionalParams): Promise<BareMetalMachinesValidateHardwareResponse>;
|
|
1183
1158
|
}
|
|
1184
1159
|
|
|
1185
1160
|
/** Defines headers for BareMetalMachines_cordon operation. */
|
|
@@ -1199,7 +1174,7 @@ export declare interface BareMetalMachinesCordonOptionalParams extends coreClien
|
|
|
1199
1174
|
}
|
|
1200
1175
|
|
|
1201
1176
|
/** Contains response data for the cordon operation. */
|
|
1202
|
-
export declare type BareMetalMachinesCordonResponse =
|
|
1177
|
+
export declare type BareMetalMachinesCordonResponse = OperationStatusResult;
|
|
1203
1178
|
|
|
1204
1179
|
/** Defines headers for BareMetalMachines_createOrUpdate operation. */
|
|
1205
1180
|
export declare interface BareMetalMachinesCreateOrUpdateHeaders {
|
|
@@ -1294,7 +1269,7 @@ export declare interface BareMetalMachinesPowerOffOptionalParams extends coreCli
|
|
|
1294
1269
|
}
|
|
1295
1270
|
|
|
1296
1271
|
/** Contains response data for the powerOff operation. */
|
|
1297
|
-
export declare type BareMetalMachinesPowerOffResponse =
|
|
1272
|
+
export declare type BareMetalMachinesPowerOffResponse = OperationStatusResult;
|
|
1298
1273
|
|
|
1299
1274
|
/** Defines headers for BareMetalMachines_reimage operation. */
|
|
1300
1275
|
export declare interface BareMetalMachinesReimageHeaders {
|
|
@@ -1311,7 +1286,7 @@ export declare interface BareMetalMachinesReimageOptionalParams extends coreClie
|
|
|
1311
1286
|
}
|
|
1312
1287
|
|
|
1313
1288
|
/** Contains response data for the reimage operation. */
|
|
1314
|
-
export declare type BareMetalMachinesReimageResponse =
|
|
1289
|
+
export declare type BareMetalMachinesReimageResponse = OperationStatusResult;
|
|
1315
1290
|
|
|
1316
1291
|
/** Defines headers for BareMetalMachines_replace operation. */
|
|
1317
1292
|
export declare interface BareMetalMachinesReplaceHeaders {
|
|
@@ -1330,7 +1305,7 @@ export declare interface BareMetalMachinesReplaceOptionalParams extends coreClie
|
|
|
1330
1305
|
}
|
|
1331
1306
|
|
|
1332
1307
|
/** Contains response data for the replace operation. */
|
|
1333
|
-
export declare type BareMetalMachinesReplaceResponse =
|
|
1308
|
+
export declare type BareMetalMachinesReplaceResponse = OperationStatusResult;
|
|
1334
1309
|
|
|
1335
1310
|
/** Defines headers for BareMetalMachines_restart operation. */
|
|
1336
1311
|
export declare interface BareMetalMachinesRestartHeaders {
|
|
@@ -1347,7 +1322,7 @@ export declare interface BareMetalMachinesRestartOptionalParams extends coreClie
|
|
|
1347
1322
|
}
|
|
1348
1323
|
|
|
1349
1324
|
/** Contains response data for the restart operation. */
|
|
1350
|
-
export declare type BareMetalMachinesRestartResponse =
|
|
1325
|
+
export declare type BareMetalMachinesRestartResponse = OperationStatusResult;
|
|
1351
1326
|
|
|
1352
1327
|
/** Defines headers for BareMetalMachines_runCommand operation. */
|
|
1353
1328
|
export declare interface BareMetalMachinesRunCommandHeaders {
|
|
@@ -1364,7 +1339,7 @@ export declare interface BareMetalMachinesRunCommandOptionalParams extends coreC
|
|
|
1364
1339
|
}
|
|
1365
1340
|
|
|
1366
1341
|
/** Contains response data for the runCommand operation. */
|
|
1367
|
-
export declare type BareMetalMachinesRunCommandResponse =
|
|
1342
|
+
export declare type BareMetalMachinesRunCommandResponse = OperationStatusResult;
|
|
1368
1343
|
|
|
1369
1344
|
/** Defines headers for BareMetalMachines_runDataExtracts operation. */
|
|
1370
1345
|
export declare interface BareMetalMachinesRunDataExtractsHeaders {
|
|
@@ -1381,7 +1356,7 @@ export declare interface BareMetalMachinesRunDataExtractsOptionalParams extends
|
|
|
1381
1356
|
}
|
|
1382
1357
|
|
|
1383
1358
|
/** Contains response data for the runDataExtracts operation. */
|
|
1384
|
-
export declare type BareMetalMachinesRunDataExtractsResponse =
|
|
1359
|
+
export declare type BareMetalMachinesRunDataExtractsResponse = OperationStatusResult;
|
|
1385
1360
|
|
|
1386
1361
|
/** Defines headers for BareMetalMachines_runReadCommands operation. */
|
|
1387
1362
|
export declare interface BareMetalMachinesRunReadCommandsHeaders {
|
|
@@ -1398,7 +1373,7 @@ export declare interface BareMetalMachinesRunReadCommandsOptionalParams extends
|
|
|
1398
1373
|
}
|
|
1399
1374
|
|
|
1400
1375
|
/** Contains response data for the runReadCommands operation. */
|
|
1401
|
-
export declare type BareMetalMachinesRunReadCommandsResponse =
|
|
1376
|
+
export declare type BareMetalMachinesRunReadCommandsResponse = OperationStatusResult;
|
|
1402
1377
|
|
|
1403
1378
|
/** Defines headers for BareMetalMachines_start operation. */
|
|
1404
1379
|
export declare interface BareMetalMachinesStartHeaders {
|
|
@@ -1415,7 +1390,7 @@ export declare interface BareMetalMachinesStartOptionalParams extends coreClient
|
|
|
1415
1390
|
}
|
|
1416
1391
|
|
|
1417
1392
|
/** Contains response data for the start operation. */
|
|
1418
|
-
export declare type BareMetalMachinesStartResponse =
|
|
1393
|
+
export declare type BareMetalMachinesStartResponse = OperationStatusResult;
|
|
1419
1394
|
|
|
1420
1395
|
/** Defines headers for BareMetalMachines_uncordon operation. */
|
|
1421
1396
|
export declare interface BareMetalMachinesUncordonHeaders {
|
|
@@ -1432,7 +1407,7 @@ export declare interface BareMetalMachinesUncordonOptionalParams extends coreCli
|
|
|
1432
1407
|
}
|
|
1433
1408
|
|
|
1434
1409
|
/** Contains response data for the uncordon operation. */
|
|
1435
|
-
export declare type BareMetalMachinesUncordonResponse =
|
|
1410
|
+
export declare type BareMetalMachinesUncordonResponse = OperationStatusResult;
|
|
1436
1411
|
|
|
1437
1412
|
/** Defines headers for BareMetalMachines_update operation. */
|
|
1438
1413
|
export declare interface BareMetalMachinesUpdateHeaders {
|
|
@@ -1453,29 +1428,6 @@ export declare interface BareMetalMachinesUpdateOptionalParams extends coreClien
|
|
|
1453
1428
|
/** Contains response data for the update operation. */
|
|
1454
1429
|
export declare type BareMetalMachinesUpdateResponse = BareMetalMachine;
|
|
1455
1430
|
|
|
1456
|
-
/** Defines headers for BareMetalMachines_validateHardware operation. */
|
|
1457
|
-
export declare interface BareMetalMachinesValidateHardwareHeaders {
|
|
1458
|
-
/** The URL to retrieve the status of the asynchronous operation. */
|
|
1459
|
-
location?: string;
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
/** Optional parameters. */
|
|
1463
|
-
export declare interface BareMetalMachinesValidateHardwareOptionalParams extends coreClient.OperationOptions {
|
|
1464
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
1465
|
-
updateIntervalInMs?: number;
|
|
1466
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1467
|
-
resumeFrom?: string;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
/** Contains response data for the validateHardware operation. */
|
|
1471
|
-
export declare type BareMetalMachinesValidateHardwareResponse = BareMetalMachinesValidateHardwareHeaders;
|
|
1472
|
-
|
|
1473
|
-
/** BareMetalMachineValidateHardwareParameters represents the body of the request to validate the physical hardware of a bare metal machine. */
|
|
1474
|
-
export declare interface BareMetalMachineValidateHardwareParameters {
|
|
1475
|
-
/** The category of hardware validation to perform. */
|
|
1476
|
-
validationCategory: BareMetalMachineHardwareValidationCategory;
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
1431
|
/**
|
|
1480
1432
|
* Defines values for BfdEnabled. \
|
|
1481
1433
|
* {@link KnownBfdEnabled} can be used interchangeably with BfdEnabled,
|
|
@@ -2720,7 +2672,7 @@ export declare interface ClustersDeployOptionalParams extends coreClient.Operati
|
|
|
2720
2672
|
}
|
|
2721
2673
|
|
|
2722
2674
|
/** Contains response data for the deploy operation. */
|
|
2723
|
-
export declare type ClustersDeployResponse =
|
|
2675
|
+
export declare type ClustersDeployResponse = OperationStatusResult;
|
|
2724
2676
|
|
|
2725
2677
|
/** Optional parameters. */
|
|
2726
2678
|
export declare interface ClustersGetOptionalParams extends coreClient.OperationOptions {
|
|
@@ -2791,7 +2743,7 @@ export declare interface ClustersUpdateVersionOptionalParams extends coreClient.
|
|
|
2791
2743
|
}
|
|
2792
2744
|
|
|
2793
2745
|
/** Contains response data for the updateVersion operation. */
|
|
2794
|
-
export declare type ClustersUpdateVersionResponse =
|
|
2746
|
+
export declare type ClustersUpdateVersionResponse = OperationStatusResult;
|
|
2795
2747
|
|
|
2796
2748
|
/**
|
|
2797
2749
|
* Defines values for ClusterType. \
|
|
@@ -3510,12 +3462,6 @@ export declare enum KnownBareMetalMachineEvacuate {
|
|
|
3510
3462
|
False = "False"
|
|
3511
3463
|
}
|
|
3512
3464
|
|
|
3513
|
-
/** Known values of {@link BareMetalMachineHardwareValidationCategory} that the service accepts. */
|
|
3514
|
-
export declare enum KnownBareMetalMachineHardwareValidationCategory {
|
|
3515
|
-
/** BasicValidation */
|
|
3516
|
-
BasicValidation = "BasicValidation"
|
|
3517
|
-
}
|
|
3518
|
-
|
|
3519
3465
|
/** Known values of {@link BareMetalMachineHardwareValidationResult} that the service accepts. */
|
|
3520
3466
|
export declare enum KnownBareMetalMachineHardwareValidationResult {
|
|
3521
3467
|
/** Pass */
|
|
@@ -4778,7 +4724,7 @@ export declare interface KubernetesClustersRestartNodeOptionalParams extends cor
|
|
|
4778
4724
|
}
|
|
4779
4725
|
|
|
4780
4726
|
/** Contains response data for the restartNode operation. */
|
|
4781
|
-
export declare type KubernetesClustersRestartNodeResponse =
|
|
4727
|
+
export declare type KubernetesClustersRestartNodeResponse = OperationStatusResult;
|
|
4782
4728
|
|
|
4783
4729
|
/** Defines headers for KubernetesClusters_update operation. */
|
|
4784
4730
|
export declare interface KubernetesClustersUpdateHeaders {
|
|
@@ -5858,6 +5804,31 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
|
5858
5804
|
/** Contains response data for the list operation. */
|
|
5859
5805
|
export declare type OperationsListResponse = OperationListResult;
|
|
5860
5806
|
|
|
5807
|
+
/** The current status of an async operation. */
|
|
5808
|
+
export declare interface OperationStatusResult {
|
|
5809
|
+
/** Fully qualified ID for the async operation. */
|
|
5810
|
+
id?: string;
|
|
5811
|
+
/**
|
|
5812
|
+
* Fully qualified ID of the resource against which the original async operation was started.
|
|
5813
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
5814
|
+
*/
|
|
5815
|
+
readonly resourceId?: string;
|
|
5816
|
+
/** Name of the async operation. */
|
|
5817
|
+
name?: string;
|
|
5818
|
+
/** Operation status. */
|
|
5819
|
+
status: string;
|
|
5820
|
+
/** Percent of the operation that is complete. */
|
|
5821
|
+
percentComplete?: number;
|
|
5822
|
+
/** The start time of the operation. */
|
|
5823
|
+
startTime?: Date;
|
|
5824
|
+
/** The end time of the operation. */
|
|
5825
|
+
endTime?: Date;
|
|
5826
|
+
/** The operations list. */
|
|
5827
|
+
operations?: OperationStatusResult[];
|
|
5828
|
+
/** If present, details of the operation error. */
|
|
5829
|
+
error?: ErrorDetail;
|
|
5830
|
+
}
|
|
5831
|
+
|
|
5861
5832
|
/**
|
|
5862
5833
|
* Defines values for Origin. \
|
|
5863
5834
|
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
@@ -6420,14 +6391,6 @@ export declare interface StorageAppliance extends TrackedResource {
|
|
|
6420
6391
|
storageApplianceSkuId: string;
|
|
6421
6392
|
}
|
|
6422
6393
|
|
|
6423
|
-
/** StorageApplianceCommandSpecification represents the read-only command and optional arguments to execute against a storage appliance. */
|
|
6424
|
-
export declare interface StorageApplianceCommandSpecification {
|
|
6425
|
-
/** The list of string arguments that will be passed to the script in order as separate arguments. */
|
|
6426
|
-
arguments?: string[];
|
|
6427
|
-
/** The read-only command to execute against the storage appliance. */
|
|
6428
|
-
command: string;
|
|
6429
|
-
}
|
|
6430
|
-
|
|
6431
6394
|
/** StorageApplianceConfigurationData represents configuration for the storage application. */
|
|
6432
6395
|
export declare interface StorageApplianceConfigurationData {
|
|
6433
6396
|
/** The credentials of the administrative interface on this storage appliance. */
|
|
@@ -6488,17 +6451,6 @@ export declare interface StorageAppliancePatchParameters {
|
|
|
6488
6451
|
*/
|
|
6489
6452
|
export declare type StorageApplianceProvisioningState = string;
|
|
6490
6453
|
|
|
6491
|
-
/** StorageApplianceRunReadCommandsParameters represents the body of request containing list of read-only commands to run for a storage appliance. */
|
|
6492
|
-
export declare interface StorageApplianceRunReadCommandsParameters {
|
|
6493
|
-
/** The list of read-only commands to run. */
|
|
6494
|
-
commands: StorageApplianceCommandSpecification[];
|
|
6495
|
-
/**
|
|
6496
|
-
* The maximum time the commands are allowed to run.
|
|
6497
|
-
* 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).
|
|
6498
|
-
*/
|
|
6499
|
-
limitTimeSeconds: number;
|
|
6500
|
-
}
|
|
6501
|
-
|
|
6502
6454
|
/** Interface representing a StorageAppliances. */
|
|
6503
6455
|
export declare interface StorageAppliances {
|
|
6504
6456
|
/**
|
|
@@ -6601,22 +6553,6 @@ export declare interface StorageAppliances {
|
|
|
6601
6553
|
* @param options The options parameters.
|
|
6602
6554
|
*/
|
|
6603
6555
|
beginEnableRemoteVendorManagementAndWait(resourceGroupName: string, storageApplianceName: string, options?: StorageAppliancesEnableRemoteVendorManagementOptionalParams): Promise<StorageAppliancesEnableRemoteVendorManagementResponse>;
|
|
6604
|
-
/**
|
|
6605
|
-
* Run and retrieve output from read only commands on the provided storage appliance.
|
|
6606
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
6607
|
-
* @param storageApplianceName The name of the storage appliance.
|
|
6608
|
-
* @param storageApplianceRunReadCommandsParameters The request body.
|
|
6609
|
-
* @param options The options parameters.
|
|
6610
|
-
*/
|
|
6611
|
-
beginRunReadCommands(resourceGroupName: string, storageApplianceName: string, storageApplianceRunReadCommandsParameters: StorageApplianceRunReadCommandsParameters, options?: StorageAppliancesRunReadCommandsOptionalParams): Promise<SimplePollerLike<OperationState<StorageAppliancesRunReadCommandsResponse>, StorageAppliancesRunReadCommandsResponse>>;
|
|
6612
|
-
/**
|
|
6613
|
-
* Run and retrieve output from read only commands on the provided storage appliance.
|
|
6614
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
6615
|
-
* @param storageApplianceName The name of the storage appliance.
|
|
6616
|
-
* @param storageApplianceRunReadCommandsParameters The request body.
|
|
6617
|
-
* @param options The options parameters.
|
|
6618
|
-
*/
|
|
6619
|
-
beginRunReadCommandsAndWait(resourceGroupName: string, storageApplianceName: string, storageApplianceRunReadCommandsParameters: StorageApplianceRunReadCommandsParameters, options?: StorageAppliancesRunReadCommandsOptionalParams): Promise<StorageAppliancesRunReadCommandsResponse>;
|
|
6620
6556
|
}
|
|
6621
6557
|
|
|
6622
6558
|
/** Defines headers for StorageAppliances_createOrUpdate operation. */
|
|
@@ -6665,7 +6601,7 @@ export declare interface StorageAppliancesDisableRemoteVendorManagementOptionalP
|
|
|
6665
6601
|
}
|
|
6666
6602
|
|
|
6667
6603
|
/** Contains response data for the disableRemoteVendorManagement operation. */
|
|
6668
|
-
export declare type StorageAppliancesDisableRemoteVendorManagementResponse =
|
|
6604
|
+
export declare type StorageAppliancesDisableRemoteVendorManagementResponse = OperationStatusResult;
|
|
6669
6605
|
|
|
6670
6606
|
/** Defines headers for StorageAppliances_enableRemoteVendorManagement operation. */
|
|
6671
6607
|
export declare interface StorageAppliancesEnableRemoteVendorManagementHeaders {
|
|
@@ -6684,7 +6620,7 @@ export declare interface StorageAppliancesEnableRemoteVendorManagementOptionalPa
|
|
|
6684
6620
|
}
|
|
6685
6621
|
|
|
6686
6622
|
/** Contains response data for the enableRemoteVendorManagement operation. */
|
|
6687
|
-
export declare type StorageAppliancesEnableRemoteVendorManagementResponse =
|
|
6623
|
+
export declare type StorageAppliancesEnableRemoteVendorManagementResponse = OperationStatusResult;
|
|
6688
6624
|
|
|
6689
6625
|
/** Optional parameters. */
|
|
6690
6626
|
export declare interface StorageAppliancesGetOptionalParams extends coreClient.OperationOptions {
|
|
@@ -6740,23 +6676,6 @@ export declare interface StorageAppliancesListBySubscriptionOptionalParams exten
|
|
|
6740
6676
|
/** Contains response data for the listBySubscription operation. */
|
|
6741
6677
|
export declare type StorageAppliancesListBySubscriptionResponse = StorageApplianceList;
|
|
6742
6678
|
|
|
6743
|
-
/** Defines headers for StorageAppliances_runReadCommands operation. */
|
|
6744
|
-
export declare interface StorageAppliancesRunReadCommandsHeaders {
|
|
6745
|
-
/** The URL to retrieve the status of the asynchronous operation. */
|
|
6746
|
-
location?: string;
|
|
6747
|
-
}
|
|
6748
|
-
|
|
6749
|
-
/** Optional parameters. */
|
|
6750
|
-
export declare interface StorageAppliancesRunReadCommandsOptionalParams extends coreClient.OperationOptions {
|
|
6751
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
6752
|
-
updateIntervalInMs?: number;
|
|
6753
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
6754
|
-
resumeFrom?: string;
|
|
6755
|
-
}
|
|
6756
|
-
|
|
6757
|
-
/** Contains response data for the runReadCommands operation. */
|
|
6758
|
-
export declare type StorageAppliancesRunReadCommandsResponse = StorageAppliancesRunReadCommandsHeaders;
|
|
6759
|
-
|
|
6760
6679
|
/** Defines headers for StorageAppliances_update operation. */
|
|
6761
6680
|
export declare interface StorageAppliancesUpdateHeaders {
|
|
6762
6681
|
/** The URL to retrieve the status of the asynchronous operation. */
|
|
@@ -7360,38 +7279,6 @@ export declare interface VirtualMachines {
|
|
|
7360
7279
|
* @param options The options parameters.
|
|
7361
7280
|
*/
|
|
7362
7281
|
beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesUpdateOptionalParams): Promise<VirtualMachinesUpdateResponse>;
|
|
7363
|
-
/**
|
|
7364
|
-
* Attach volume to the provided virtual machine.
|
|
7365
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
7366
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
7367
|
-
* @param virtualMachineAttachVolumeParameters The request body.
|
|
7368
|
-
* @param options The options parameters.
|
|
7369
|
-
*/
|
|
7370
|
-
beginAttachVolume(resourceGroupName: string, virtualMachineName: string, virtualMachineAttachVolumeParameters: VirtualMachineVolumeParameters, options?: VirtualMachinesAttachVolumeOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachinesAttachVolumeResponse>, VirtualMachinesAttachVolumeResponse>>;
|
|
7371
|
-
/**
|
|
7372
|
-
* Attach volume to the provided virtual machine.
|
|
7373
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
7374
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
7375
|
-
* @param virtualMachineAttachVolumeParameters The request body.
|
|
7376
|
-
* @param options The options parameters.
|
|
7377
|
-
*/
|
|
7378
|
-
beginAttachVolumeAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineAttachVolumeParameters: VirtualMachineVolumeParameters, options?: VirtualMachinesAttachVolumeOptionalParams): Promise<VirtualMachinesAttachVolumeResponse>;
|
|
7379
|
-
/**
|
|
7380
|
-
* Detach volume from the provided virtual machine.
|
|
7381
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
7382
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
7383
|
-
* @param virtualMachineDetachVolumeParameters The request body.
|
|
7384
|
-
* @param options The options parameters.
|
|
7385
|
-
*/
|
|
7386
|
-
beginDetachVolume(resourceGroupName: string, virtualMachineName: string, virtualMachineDetachVolumeParameters: VirtualMachineVolumeParameters, options?: VirtualMachinesDetachVolumeOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachinesDetachVolumeResponse>, VirtualMachinesDetachVolumeResponse>>;
|
|
7387
|
-
/**
|
|
7388
|
-
* Detach volume from the provided virtual machine.
|
|
7389
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
7390
|
-
* @param virtualMachineName The name of the virtual machine.
|
|
7391
|
-
* @param virtualMachineDetachVolumeParameters The request body.
|
|
7392
|
-
* @param options The options parameters.
|
|
7393
|
-
*/
|
|
7394
|
-
beginDetachVolumeAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineDetachVolumeParameters: VirtualMachineVolumeParameters, options?: VirtualMachinesDetachVolumeOptionalParams): Promise<VirtualMachinesDetachVolumeResponse>;
|
|
7395
7282
|
/**
|
|
7396
7283
|
* Power off the provided virtual machine.
|
|
7397
7284
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -7450,23 +7337,6 @@ export declare interface VirtualMachines {
|
|
|
7450
7337
|
beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<VirtualMachinesStartResponse>;
|
|
7451
7338
|
}
|
|
7452
7339
|
|
|
7453
|
-
/** Defines headers for VirtualMachines_attachVolume operation. */
|
|
7454
|
-
export declare interface VirtualMachinesAttachVolumeHeaders {
|
|
7455
|
-
/** The URL to retrieve the status of the asynchronous operation. */
|
|
7456
|
-
location?: string;
|
|
7457
|
-
}
|
|
7458
|
-
|
|
7459
|
-
/** Optional parameters. */
|
|
7460
|
-
export declare interface VirtualMachinesAttachVolumeOptionalParams extends coreClient.OperationOptions {
|
|
7461
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
7462
|
-
updateIntervalInMs?: number;
|
|
7463
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
7464
|
-
resumeFrom?: string;
|
|
7465
|
-
}
|
|
7466
|
-
|
|
7467
|
-
/** Contains response data for the attachVolume operation. */
|
|
7468
|
-
export declare type VirtualMachinesAttachVolumeResponse = VirtualMachinesAttachVolumeHeaders;
|
|
7469
|
-
|
|
7470
7340
|
/**
|
|
7471
7341
|
* Defines values for VirtualMachineSchedulingExecution. \
|
|
7472
7342
|
* {@link KnownVirtualMachineSchedulingExecution} can be used interchangeably with VirtualMachineSchedulingExecution,
|
|
@@ -7508,23 +7378,6 @@ export declare interface VirtualMachinesDeleteOptionalParams extends coreClient.
|
|
|
7508
7378
|
resumeFrom?: string;
|
|
7509
7379
|
}
|
|
7510
7380
|
|
|
7511
|
-
/** Defines headers for VirtualMachines_detachVolume operation. */
|
|
7512
|
-
export declare interface VirtualMachinesDetachVolumeHeaders {
|
|
7513
|
-
/** The URL to retrieve the status of the asynchronous operation. */
|
|
7514
|
-
location?: string;
|
|
7515
|
-
}
|
|
7516
|
-
|
|
7517
|
-
/** Optional parameters. */
|
|
7518
|
-
export declare interface VirtualMachinesDetachVolumeOptionalParams extends coreClient.OperationOptions {
|
|
7519
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
7520
|
-
updateIntervalInMs?: number;
|
|
7521
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
7522
|
-
resumeFrom?: string;
|
|
7523
|
-
}
|
|
7524
|
-
|
|
7525
|
-
/** Contains response data for the detachVolume operation. */
|
|
7526
|
-
export declare type VirtualMachinesDetachVolumeResponse = VirtualMachinesDetachVolumeHeaders;
|
|
7527
|
-
|
|
7528
7381
|
/** Optional parameters. */
|
|
7529
7382
|
export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
|
|
7530
7383
|
}
|
|
@@ -7577,7 +7430,7 @@ export declare interface VirtualMachinesPowerOffOptionalParams extends coreClien
|
|
|
7577
7430
|
}
|
|
7578
7431
|
|
|
7579
7432
|
/** Contains response data for the powerOff operation. */
|
|
7580
|
-
export declare type VirtualMachinesPowerOffResponse =
|
|
7433
|
+
export declare type VirtualMachinesPowerOffResponse = OperationStatusResult;
|
|
7581
7434
|
|
|
7582
7435
|
/** Defines headers for VirtualMachines_reimage operation. */
|
|
7583
7436
|
export declare interface VirtualMachinesReimageHeaders {
|
|
@@ -7594,7 +7447,7 @@ export declare interface VirtualMachinesReimageOptionalParams extends coreClient
|
|
|
7594
7447
|
}
|
|
7595
7448
|
|
|
7596
7449
|
/** Contains response data for the reimage operation. */
|
|
7597
|
-
export declare type VirtualMachinesReimageResponse =
|
|
7450
|
+
export declare type VirtualMachinesReimageResponse = OperationStatusResult;
|
|
7598
7451
|
|
|
7599
7452
|
/** Defines headers for VirtualMachines_restart operation. */
|
|
7600
7453
|
export declare interface VirtualMachinesRestartHeaders {
|
|
@@ -7611,7 +7464,7 @@ export declare interface VirtualMachinesRestartOptionalParams extends coreClient
|
|
|
7611
7464
|
}
|
|
7612
7465
|
|
|
7613
7466
|
/** Contains response data for the restart operation. */
|
|
7614
|
-
export declare type VirtualMachinesRestartResponse =
|
|
7467
|
+
export declare type VirtualMachinesRestartResponse = OperationStatusResult;
|
|
7615
7468
|
|
|
7616
7469
|
/** Defines headers for VirtualMachines_start operation. */
|
|
7617
7470
|
export declare interface VirtualMachinesStartHeaders {
|
|
@@ -7628,7 +7481,7 @@ export declare interface VirtualMachinesStartOptionalParams extends coreClient.O
|
|
|
7628
7481
|
}
|
|
7629
7482
|
|
|
7630
7483
|
/** Contains response data for the start operation. */
|
|
7631
|
-
export declare type VirtualMachinesStartResponse =
|
|
7484
|
+
export declare type VirtualMachinesStartResponse = OperationStatusResult;
|
|
7632
7485
|
|
|
7633
7486
|
/** Defines headers for VirtualMachines_update operation. */
|
|
7634
7487
|
export declare interface VirtualMachinesUpdateHeaders {
|
|
@@ -7659,12 +7512,6 @@ export declare type VirtualMachinesUpdateResponse = VirtualMachine;
|
|
|
7659
7512
|
*/
|
|
7660
7513
|
export declare type VirtualMachineVirtioInterfaceType = string;
|
|
7661
7514
|
|
|
7662
|
-
/** VirtualMachineVolumeParameters represents the body of the request to handle attachment and detachment of volumes for the virtual machine. */
|
|
7663
|
-
export declare interface VirtualMachineVolumeParameters {
|
|
7664
|
-
/** The resource ID of the volume. */
|
|
7665
|
-
volumeId: string;
|
|
7666
|
-
}
|
|
7667
|
-
|
|
7668
7515
|
/** Volume represents storage made available for use by resources running on the cluster. */
|
|
7669
7516
|
export declare interface Volume extends TrackedResource {
|
|
7670
7517
|
/** The extended location of the cluster associated with the resource. */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bareMetalMachinesValidateHardwareSample.d.ts","sourceRoot":"","sources":["../../samples-dev/bareMetalMachinesValidateHardwareSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { NetworkCloud } from "@azure/arm-networkcloud";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Validate the hardware of the provided bare metal machine.
|
|
17
|
-
*
|
|
18
|
-
* @summary Validate the hardware of the provided bare metal machine.
|
|
19
|
-
* x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/BareMetalMachines_ValidateHardware.json
|
|
20
|
-
*/
|
|
21
|
-
function validateTheBareMetalMachineHardware() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["NETWORKCLOUD_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"123e4567-e89b-12d3-a456-426655440000";
|
|
25
|
-
const resourceGroupName = process.env["NETWORKCLOUD_RESOURCE_GROUP"] || "resourceGroupName";
|
|
26
|
-
const bareMetalMachineName = "bareMetalMachineName";
|
|
27
|
-
const bareMetalMachineValidateHardwareParameters = {
|
|
28
|
-
validationCategory: "BasicValidation"
|
|
29
|
-
};
|
|
30
|
-
const credential = new DefaultAzureCredential();
|
|
31
|
-
const client = new NetworkCloud(credential, subscriptionId);
|
|
32
|
-
const result = yield client.bareMetalMachines.beginValidateHardwareAndWait(resourceGroupName, bareMetalMachineName, bareMetalMachineValidateHardwareParameters);
|
|
33
|
-
console.log(result);
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function main() {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
validateTheBareMetalMachineHardware();
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
main().catch(console.error);
|
|
42
|
-
//# sourceMappingURL=bareMetalMachinesValidateHardwareSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bareMetalMachinesValidateHardwareSample.js","sourceRoot":"","sources":["../../samples-dev/bareMetalMachinesValidateHardwareSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,YAAY,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,mBAAmB,CAAC;QACpE,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;QACpD,MAAM,0CAA0C,GAA+C;YAC7F,kBAAkB,EAAE,iBAAiB;SACtC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,4BAA4B,CACxE,iBAAiB,EACjB,oBAAoB,EACpB,0CAA0C,CAC3C,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageAppliancesRunReadCommandsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageAppliancesRunReadCommandsSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { NetworkCloud } from "@azure/arm-networkcloud";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Run and retrieve output from read only commands on the provided storage appliance.
|
|
17
|
-
*
|
|
18
|
-
* @summary Run and retrieve output from read only commands on the provided storage appliance.
|
|
19
|
-
* x-ms-original-file: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-05-01-preview/examples/StorageAppliances_RunReadCommands.json
|
|
20
|
-
*/
|
|
21
|
-
function runAndRetrieveOutputFromReadOnlyCommandsOnStorageAppliance() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["NETWORKCLOUD_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"123e4567-e89b-12d3-a456-426655440000";
|
|
25
|
-
const resourceGroupName = process.env["NETWORKCLOUD_RESOURCE_GROUP"] || "resourceGroupName";
|
|
26
|
-
const storageApplianceName = "storageApplianceName";
|
|
27
|
-
const storageApplianceRunReadCommandsParameters = {
|
|
28
|
-
limitTimeSeconds: 60,
|
|
29
|
-
commands: [{ command: "AlertList" }]
|
|
30
|
-
};
|
|
31
|
-
const credential = new DefaultAzureCredential();
|
|
32
|
-
const client = new NetworkCloud(credential, subscriptionId);
|
|
33
|
-
const result = yield client.storageAppliances.beginRunReadCommandsAndWait(resourceGroupName, storageApplianceName, storageApplianceRunReadCommandsParameters);
|
|
34
|
-
console.log(result);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function main() {
|
|
38
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
runAndRetrieveOutputFromReadOnlyCommandsOnStorageAppliance();
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
main().catch(console.error);
|
|
43
|
-
//# sourceMappingURL=storageAppliancesRunReadCommandsSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageAppliancesRunReadCommandsSample.js","sourceRoot":"","sources":["../../samples-dev/storageAppliancesRunReadCommandsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,YAAY,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0DAA0D;;QACvE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,mBAAmB,CAAC;QACpE,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;QACpD,MAAM,yCAAyC,GAA8C;YAC3F,gBAAgB,EAAE,EAAE;YACpB,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;SACrC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,2BAA2B,CACvE,iBAAiB,EACjB,oBAAoB,EACpB,yCAAyC,CAC1C,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0DAA0D,EAAE,CAAC;IAC/D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|