@azure/arm-avs 4.0.0-alpha.20240617.1 → 5.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 +195 -7
- package/LICENSE +1 -1
- package/dist/index.js +9636 -7986
- 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/addonsCreateOrUpdateSample.js +20 -20
- package/dist-esm/samples-dev/addonsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/addonsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/addonsGetSample.js +12 -12
- package/dist-esm/samples-dev/addonsListSample.js +3 -3
- package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/authorizationsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/authorizationsGetSample.js +3 -3
- package/dist-esm/samples-dev/authorizationsListSample.js +3 -3
- package/dist-esm/samples-dev/cloudLinksCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/cloudLinksDeleteSample.js +3 -3
- package/dist-esm/samples-dev/cloudLinksGetSample.js +3 -3
- package/dist-esm/samples-dev/cloudLinksListSample.js +3 -3
- package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/clustersDeleteSample.js +3 -3
- package/dist-esm/samples-dev/clustersGetSample.js +3 -3
- package/dist-esm/samples-dev/clustersListSample.js +3 -3
- package/dist-esm/samples-dev/clustersListZonesSample.js +6 -6
- package/dist-esm/samples-dev/clustersListZonesSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +3 -3
- package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/datastoresDeleteSample.js +3 -3
- package/dist-esm/samples-dev/datastoresGetSample.js +3 -3
- package/dist-esm/samples-dev/datastoresListSample.js +3 -3
- package/dist-esm/samples-dev/globalReachConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/globalReachConnectionsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/globalReachConnectionsGetSample.js +3 -3
- package/dist-esm/samples-dev/globalReachConnectionsListSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesDeleteSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesGetSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesListSample.js +3 -3
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js +40 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.js +39 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js +55 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js.map +1 -0
- package/dist-esm/samples-dev/locationsCheckQuotaAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/placementPoliciesDeleteSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesGetSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesUpdateSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsCreateOrUpdateSample.js +8 -8
- package/dist-esm/samples-dev/privateCloudsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/privateCloudsGetSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsListAdminCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsListInSubscriptionSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsListSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsRotateNsxtPasswordSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsRotateVcenterPasswordSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsUpdateSample.js +10 -10
- package/dist-esm/samples-dev/scriptCmdletsGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptCmdletsListSample.js +3 -3
- package/dist-esm/samples-dev/scriptExecutionsCreateOrUpdateSample.js +8 -8
- package/dist-esm/samples-dev/scriptExecutionsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js +4 -4
- package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js.map +1 -1
- package/dist-esm/samples-dev/scriptExecutionsGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptExecutionsListSample.js +3 -3
- package/dist-esm/samples-dev/scriptPackagesGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptPackagesListSample.js +3 -3
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +5 -5
- package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesListSample.js +5 -5
- package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js +5 -5
- package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateDhcpSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateDnsZoneSample.js +4 -4
- package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateSegmentsSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateVMGroupSample.js +4 -4
- package/dist-esm/samples-dev/workloadNetworksDeleteDhcpSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteDnsServiceSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteDnsZoneSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeletePortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeletePublicIPSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteSegmentSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteVMGroupSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDhcpSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDnsServiceSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDnsZoneSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetGatewaySample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetPortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetPublicIPSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetSample.js +4 -5
- package/dist-esm/samples-dev/workloadNetworksGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksGetSegmentSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetVMGroupSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetVirtualMachineSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDhcpSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDnsServicesSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDnsZonesSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListGatewaysSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListPortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListPublicIPsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListSegmentsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListVMGroupsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListVirtualMachinesSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js +6 -6
- package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js +6 -6
- package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js.map +1 -1
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts +11 -10
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -1
- package/dist-esm/src/azureVMwareSolutionAPI.js +19 -18
- package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +2510 -1892
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +546 -424
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +130 -77
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +3128 -2072
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +34 -29
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +290 -255
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/addons.d.ts +16 -16
- package/dist-esm/src/operations/addons.js +56 -54
- package/dist-esm/src/operations/addons.js.map +1 -1
- package/dist-esm/src/operations/authorizations.d.ts +16 -16
- package/dist-esm/src/operations/authorizations.js +57 -55
- package/dist-esm/src/operations/authorizations.js.map +1 -1
- package/dist-esm/src/operations/cloudLinks.d.ts +16 -16
- package/dist-esm/src/operations/cloudLinks.js +57 -55
- package/dist-esm/src/operations/cloudLinks.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts +23 -23
- package/dist-esm/src/operations/clusters.js +82 -79
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/datastores.d.ts +22 -22
- package/dist-esm/src/operations/datastores.js +64 -62
- package/dist-esm/src/operations/datastores.js.map +1 -1
- package/dist-esm/src/operations/globalReachConnections.d.ts +16 -16
- package/dist-esm/src/operations/globalReachConnections.js +59 -57
- package/dist-esm/src/operations/globalReachConnections.js.map +1 -1
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +10 -10
- package/dist-esm/src/operations/hcxEnterpriseSites.js +38 -38
- package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +9 -8
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +9 -8
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/iscsiPaths.d.ts +76 -0
- package/dist-esm/src/operations/iscsiPaths.d.ts.map +1 -0
- package/dist-esm/src/operations/iscsiPaths.js +350 -0
- package/dist-esm/src/operations/iscsiPaths.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +7 -7
- package/dist-esm/src/operations/locations.js +26 -26
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.js +11 -11
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/placementPolicies.d.ts +30 -37
- package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/placementPolicies.js +86 -90
- package/dist-esm/src/operations/placementPolicies.js.map +1 -1
- package/dist-esm/src/operations/privateClouds.d.ts +38 -38
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -1
- package/dist-esm/src/operations/privateClouds.js +189 -168
- package/dist-esm/src/operations/privateClouds.js.map +1 -1
- package/dist-esm/src/operations/scriptCmdlets.d.ts +8 -11
- package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -1
- package/dist-esm/src/operations/scriptCmdlets.js +26 -29
- package/dist-esm/src/operations/scriptCmdlets.js.map +1 -1
- package/dist-esm/src/operations/scriptExecutions.d.ts +17 -17
- package/dist-esm/src/operations/scriptExecutions.js +64 -62
- package/dist-esm/src/operations/scriptExecutions.js.map +1 -1
- package/dist-esm/src/operations/scriptPackages.d.ts +4 -4
- package/dist-esm/src/operations/scriptPackages.js +20 -20
- package/dist-esm/src/operations/scriptPackages.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +17 -17
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +53 -45
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operations/workloadNetworks.d.ts +256 -269
- package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -1
- package/dist-esm/src/operations/workloadNetworks.js +1062 -1056
- package/dist-esm/src/operations/workloadNetworks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/addons.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +22 -22
- package/dist-esm/src/operationsInterfaces/datastores.d.ts +19 -19
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +9 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +9 -8
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.js +9 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +27 -34
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +26 -26
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +5 -7
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +16 -16
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +14 -14
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +195 -208
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -1
- package/package.json +9 -9
- package/review/arm-avs.api.md +774 -284
- package/src/azureVMwareSolutionAPI.ts +53 -48
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +2838 -2095
- package/src/models/mappers.ts +3359 -2221
- package/src/models/parameters.ts +320 -273
- package/src/operations/addons.ts +94 -98
- package/src/operations/authorizations.ts +95 -99
- package/src/operations/cloudLinks.ts +95 -99
- package/src/operations/clusters.ts +134 -140
- package/src/operations/datastores.ts +103 -107
- package/src/operations/globalReachConnections.ts +97 -101
- package/src/operations/hcxEnterpriseSites.ts +60 -64
- package/src/operations/index.ts +9 -8
- package/src/operations/iscsiPaths.ts +481 -0
- package/src/operations/locations.ts +32 -34
- package/src/operations/operations.ts +18 -18
- package/src/operations/placementPolicies.ts +136 -148
- package/src/operations/privateClouds.ts +312 -286
- package/src/operations/scriptCmdlets.ts +43 -48
- package/src/operations/scriptExecutions.ts +105 -110
- package/src/operations/scriptPackages.ts +36 -38
- package/src/operations/virtualMachines.ts +94 -81
- package/src/operations/workloadNetworks.ts +1729 -1779
- package/src/operationsInterfaces/addons.ts +22 -22
- package/src/operationsInterfaces/authorizations.ts +22 -22
- package/src/operationsInterfaces/cloudLinks.ts +22 -22
- package/src/operationsInterfaces/clusters.ts +32 -32
- package/src/operationsInterfaces/datastores.ts +26 -26
- package/src/operationsInterfaces/globalReachConnections.ts +22 -22
- package/src/operationsInterfaces/hcxEnterpriseSites.ts +14 -14
- package/src/operationsInterfaces/index.ts +9 -8
- package/src/operationsInterfaces/iscsiPaths.ts +99 -0
- package/src/operationsInterfaces/locations.ts +12 -12
- package/src/operationsInterfaces/operations.ts +2 -2
- package/src/operationsInterfaces/placementPolicies.ts +36 -43
- package/src/operationsInterfaces/privateClouds.ts +61 -49
- package/src/operationsInterfaces/scriptCmdlets.ts +8 -10
- package/src/operationsInterfaces/scriptExecutions.ts +24 -24
- package/src/operationsInterfaces/scriptPackages.ts +6 -6
- package/src/operationsInterfaces/virtualMachines.ts +24 -18
- package/src/operationsInterfaces/workloadNetworks.ts +453 -462
- package/src/pagingHelper.ts +1 -1
- package/types/arm-avs.d.ts +2197 -1466
|
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers";
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
-
import { createHttpPoller } from "@azure/core-lro";
|
|
13
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
14
|
import { createLroSpec } from "../lroImpl";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing PrivateClouds operations. */
|
|
@@ -23,12 +23,11 @@ export class PrivateCloudsImpl {
|
|
|
23
23
|
this.client = client;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* List
|
|
27
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* List PrivateCloud resources by subscription ID
|
|
28
27
|
* @param options The options parameters.
|
|
29
28
|
*/
|
|
30
|
-
|
|
31
|
-
const iter = this.
|
|
29
|
+
listInSubscription(options) {
|
|
30
|
+
const iter = this.listInSubscriptionPagingAll(options);
|
|
32
31
|
return {
|
|
33
32
|
next() {
|
|
34
33
|
return iter.next();
|
|
@@ -40,23 +39,23 @@ export class PrivateCloudsImpl {
|
|
|
40
39
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
40
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
41
|
}
|
|
43
|
-
return this.
|
|
44
|
-
}
|
|
42
|
+
return this.listInSubscriptionPagingPage(options, settings);
|
|
43
|
+
},
|
|
45
44
|
};
|
|
46
45
|
}
|
|
47
|
-
|
|
48
|
-
return __asyncGenerator(this, arguments, function*
|
|
46
|
+
listInSubscriptionPagingPage(options, settings) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listInSubscriptionPagingPage_1() {
|
|
49
48
|
let result;
|
|
50
49
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
50
|
if (!continuationToken) {
|
|
52
|
-
result = yield __await(this.
|
|
51
|
+
result = yield __await(this._listInSubscription(options));
|
|
53
52
|
let page = result.value || [];
|
|
54
53
|
continuationToken = result.nextLink;
|
|
55
54
|
setContinuationToken(page, continuationToken);
|
|
56
55
|
yield yield __await(page);
|
|
57
56
|
}
|
|
58
57
|
while (continuationToken) {
|
|
59
|
-
result = yield __await(this.
|
|
58
|
+
result = yield __await(this._listInSubscriptionNext(continuationToken, options));
|
|
60
59
|
continuationToken = result.nextLink;
|
|
61
60
|
let page = result.value || [];
|
|
62
61
|
setContinuationToken(page, continuationToken);
|
|
@@ -64,11 +63,11 @@ export class PrivateCloudsImpl {
|
|
|
64
63
|
}
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
|
-
|
|
68
|
-
return __asyncGenerator(this, arguments, function*
|
|
66
|
+
listInSubscriptionPagingAll(options) {
|
|
67
|
+
return __asyncGenerator(this, arguments, function* listInSubscriptionPagingAll_1() {
|
|
69
68
|
var _a, e_1, _b, _c;
|
|
70
69
|
try {
|
|
71
|
-
for (var _d = true, _e = __asyncValues(this.
|
|
70
|
+
for (var _d = true, _e = __asyncValues(this.listInSubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
71
|
_c = _f.value;
|
|
73
72
|
_d = false;
|
|
74
73
|
const page = _c;
|
|
@@ -85,11 +84,12 @@ export class PrivateCloudsImpl {
|
|
|
85
84
|
});
|
|
86
85
|
}
|
|
87
86
|
/**
|
|
88
|
-
* List
|
|
87
|
+
* List PrivateCloud resources by resource group
|
|
88
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
89
|
* @param options The options parameters.
|
|
90
90
|
*/
|
|
91
|
-
|
|
92
|
-
const iter = this.
|
|
91
|
+
list(resourceGroupName, options) {
|
|
92
|
+
const iter = this.listPagingAll(resourceGroupName, options);
|
|
93
93
|
return {
|
|
94
94
|
next() {
|
|
95
95
|
return iter.next();
|
|
@@ -101,23 +101,23 @@ export class PrivateCloudsImpl {
|
|
|
101
101
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
102
102
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
103
|
}
|
|
104
|
-
return this.
|
|
105
|
-
}
|
|
104
|
+
return this.listPagingPage(resourceGroupName, options, settings);
|
|
105
|
+
},
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
return __asyncGenerator(this, arguments, function*
|
|
108
|
+
listPagingPage(resourceGroupName, options, settings) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
110
110
|
let result;
|
|
111
111
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
112
|
if (!continuationToken) {
|
|
113
|
-
result = yield __await(this.
|
|
113
|
+
result = yield __await(this._list(resourceGroupName, options));
|
|
114
114
|
let page = result.value || [];
|
|
115
115
|
continuationToken = result.nextLink;
|
|
116
116
|
setContinuationToken(page, continuationToken);
|
|
117
117
|
yield yield __await(page);
|
|
118
118
|
}
|
|
119
119
|
while (continuationToken) {
|
|
120
|
-
result = yield __await(this.
|
|
120
|
+
result = yield __await(this._listNext(resourceGroupName, continuationToken, options));
|
|
121
121
|
continuationToken = result.nextLink;
|
|
122
122
|
let page = result.value || [];
|
|
123
123
|
setContinuationToken(page, continuationToken);
|
|
@@ -125,11 +125,11 @@ export class PrivateCloudsImpl {
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
return __asyncGenerator(this, arguments, function*
|
|
128
|
+
listPagingAll(resourceGroupName, options) {
|
|
129
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
130
130
|
var _a, e_2, _b, _c;
|
|
131
131
|
try {
|
|
132
|
-
for (var _d = true, _e = __asyncValues(this.
|
|
132
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
133
|
_c = _f.value;
|
|
134
134
|
_d = false;
|
|
135
135
|
const page = _c;
|
|
@@ -146,22 +146,22 @@ export class PrivateCloudsImpl {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* List
|
|
150
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
149
|
+
* List PrivateCloud resources by subscription ID
|
|
151
150
|
* @param options The options parameters.
|
|
152
151
|
*/
|
|
153
|
-
|
|
154
|
-
return this.client.sendOperationRequest({
|
|
152
|
+
_listInSubscription(options) {
|
|
153
|
+
return this.client.sendOperationRequest({ options }, listInSubscriptionOperationSpec);
|
|
155
154
|
}
|
|
156
155
|
/**
|
|
157
|
-
* List
|
|
156
|
+
* List PrivateCloud resources by resource group
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
158
|
* @param options The options parameters.
|
|
159
159
|
*/
|
|
160
|
-
|
|
161
|
-
return this.client.sendOperationRequest({ options },
|
|
160
|
+
_list(resourceGroupName, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec);
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
|
-
* Get a
|
|
164
|
+
* Get a PrivateCloud
|
|
165
165
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
166
|
* @param privateCloudName Name of the private cloud
|
|
167
167
|
* @param options The options parameters.
|
|
@@ -170,10 +170,10 @@ export class PrivateCloudsImpl {
|
|
|
170
170
|
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, getOperationSpec);
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
|
-
* Create
|
|
173
|
+
* Create a PrivateCloud
|
|
174
174
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
175
|
* @param privateCloudName Name of the private cloud
|
|
176
|
-
* @param privateCloud
|
|
176
|
+
* @param privateCloud Resource create parameters.
|
|
177
177
|
* @param options The options parameters.
|
|
178
178
|
*/
|
|
179
179
|
beginCreateOrUpdate(resourceGroupName, privateCloudName, privateCloud, options) {
|
|
@@ -196,28 +196,29 @@ export class PrivateCloudsImpl {
|
|
|
196
196
|
rawResponse: {
|
|
197
197
|
statusCode: currentRawResponse.status,
|
|
198
198
|
body: currentRawResponse.parsedBody,
|
|
199
|
-
headers: currentRawResponse.headers.toJSON()
|
|
200
|
-
}
|
|
199
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
200
|
+
},
|
|
201
201
|
};
|
|
202
202
|
});
|
|
203
203
|
const lro = createLroSpec({
|
|
204
204
|
sendOperationFn,
|
|
205
205
|
args: { resourceGroupName, privateCloudName, privateCloud, options },
|
|
206
|
-
spec: createOrUpdateOperationSpec
|
|
206
|
+
spec: createOrUpdateOperationSpec,
|
|
207
207
|
});
|
|
208
208
|
const poller = yield createHttpPoller(lro, {
|
|
209
209
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
210
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
210
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
211
|
+
resourceLocationConfig: "azure-async-operation",
|
|
211
212
|
});
|
|
212
213
|
yield poller.poll();
|
|
213
214
|
return poller;
|
|
214
215
|
});
|
|
215
216
|
}
|
|
216
217
|
/**
|
|
217
|
-
* Create
|
|
218
|
+
* Create a PrivateCloud
|
|
218
219
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
219
220
|
* @param privateCloudName Name of the private cloud
|
|
220
|
-
* @param privateCloud
|
|
221
|
+
* @param privateCloud Resource create parameters.
|
|
221
222
|
* @param options The options parameters.
|
|
222
223
|
*/
|
|
223
224
|
beginCreateOrUpdateAndWait(resourceGroupName, privateCloudName, privateCloud, options) {
|
|
@@ -227,10 +228,10 @@ export class PrivateCloudsImpl {
|
|
|
227
228
|
});
|
|
228
229
|
}
|
|
229
230
|
/**
|
|
230
|
-
* Update a
|
|
231
|
+
* Update a PrivateCloud
|
|
231
232
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
232
233
|
* @param privateCloudName Name of the private cloud
|
|
233
|
-
* @param privateCloudUpdate The private cloud properties to be updated
|
|
234
|
+
* @param privateCloudUpdate The private cloud properties to be updated.
|
|
234
235
|
* @param options The options parameters.
|
|
235
236
|
*/
|
|
236
237
|
beginUpdate(resourceGroupName, privateCloudName, privateCloudUpdate, options) {
|
|
@@ -253,8 +254,8 @@ export class PrivateCloudsImpl {
|
|
|
253
254
|
rawResponse: {
|
|
254
255
|
statusCode: currentRawResponse.status,
|
|
255
256
|
body: currentRawResponse.parsedBody,
|
|
256
|
-
headers: currentRawResponse.headers.toJSON()
|
|
257
|
-
}
|
|
257
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
258
|
+
},
|
|
258
259
|
};
|
|
259
260
|
});
|
|
260
261
|
const lro = createLroSpec({
|
|
@@ -263,23 +264,24 @@ export class PrivateCloudsImpl {
|
|
|
263
264
|
resourceGroupName,
|
|
264
265
|
privateCloudName,
|
|
265
266
|
privateCloudUpdate,
|
|
266
|
-
options
|
|
267
|
+
options,
|
|
267
268
|
},
|
|
268
|
-
spec: updateOperationSpec
|
|
269
|
+
spec: updateOperationSpec,
|
|
269
270
|
});
|
|
270
271
|
const poller = yield createHttpPoller(lro, {
|
|
271
272
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
272
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
273
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
274
|
+
resourceLocationConfig: "location",
|
|
273
275
|
});
|
|
274
276
|
yield poller.poll();
|
|
275
277
|
return poller;
|
|
276
278
|
});
|
|
277
279
|
}
|
|
278
280
|
/**
|
|
279
|
-
* Update a
|
|
281
|
+
* Update a PrivateCloud
|
|
280
282
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
281
283
|
* @param privateCloudName Name of the private cloud
|
|
282
|
-
* @param privateCloudUpdate The private cloud properties to be updated
|
|
284
|
+
* @param privateCloudUpdate The private cloud properties to be updated.
|
|
283
285
|
* @param options The options parameters.
|
|
284
286
|
*/
|
|
285
287
|
beginUpdateAndWait(resourceGroupName, privateCloudName, privateCloudUpdate, options) {
|
|
@@ -289,7 +291,7 @@ export class PrivateCloudsImpl {
|
|
|
289
291
|
});
|
|
290
292
|
}
|
|
291
293
|
/**
|
|
292
|
-
* Delete a
|
|
294
|
+
* Delete a PrivateCloud
|
|
293
295
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
294
296
|
* @param privateCloudName Name of the private cloud
|
|
295
297
|
* @param options The options parameters.
|
|
@@ -314,25 +316,26 @@ export class PrivateCloudsImpl {
|
|
|
314
316
|
rawResponse: {
|
|
315
317
|
statusCode: currentRawResponse.status,
|
|
316
318
|
body: currentRawResponse.parsedBody,
|
|
317
|
-
headers: currentRawResponse.headers.toJSON()
|
|
318
|
-
}
|
|
319
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
320
|
+
},
|
|
319
321
|
};
|
|
320
322
|
});
|
|
321
323
|
const lro = createLroSpec({
|
|
322
324
|
sendOperationFn,
|
|
323
325
|
args: { resourceGroupName, privateCloudName, options },
|
|
324
|
-
spec: deleteOperationSpec
|
|
326
|
+
spec: deleteOperationSpec,
|
|
325
327
|
});
|
|
326
328
|
const poller = yield createHttpPoller(lro, {
|
|
327
329
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
328
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
330
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
331
|
+
resourceLocationConfig: "location",
|
|
329
332
|
});
|
|
330
333
|
yield poller.poll();
|
|
331
334
|
return poller;
|
|
332
335
|
});
|
|
333
336
|
}
|
|
334
337
|
/**
|
|
335
|
-
* Delete a
|
|
338
|
+
* Delete a PrivateCloud
|
|
336
339
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
337
340
|
* @param privateCloudName Name of the private cloud
|
|
338
341
|
* @param options The options parameters.
|
|
@@ -344,12 +347,21 @@ export class PrivateCloudsImpl {
|
|
|
344
347
|
});
|
|
345
348
|
}
|
|
346
349
|
/**
|
|
347
|
-
*
|
|
350
|
+
* List the admin credentials for the private cloud
|
|
348
351
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
349
352
|
* @param privateCloudName Name of the private cloud
|
|
350
353
|
* @param options The options parameters.
|
|
351
354
|
*/
|
|
352
|
-
|
|
355
|
+
listAdminCredentials(resourceGroupName, privateCloudName, options) {
|
|
356
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listAdminCredentialsOperationSpec);
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Rotate the NSX-T Manager password
|
|
360
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
361
|
+
* @param privateCloudName Name of the private cloud
|
|
362
|
+
* @param options The options parameters.
|
|
363
|
+
*/
|
|
364
|
+
beginRotateNsxtPassword(resourceGroupName, privateCloudName, options) {
|
|
353
365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
354
366
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
355
367
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -369,42 +381,43 @@ export class PrivateCloudsImpl {
|
|
|
369
381
|
rawResponse: {
|
|
370
382
|
statusCode: currentRawResponse.status,
|
|
371
383
|
body: currentRawResponse.parsedBody,
|
|
372
|
-
headers: currentRawResponse.headers.toJSON()
|
|
373
|
-
}
|
|
384
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
385
|
+
},
|
|
374
386
|
};
|
|
375
387
|
});
|
|
376
388
|
const lro = createLroSpec({
|
|
377
389
|
sendOperationFn,
|
|
378
390
|
args: { resourceGroupName, privateCloudName, options },
|
|
379
|
-
spec:
|
|
391
|
+
spec: rotateNsxtPasswordOperationSpec,
|
|
380
392
|
});
|
|
381
393
|
const poller = yield createHttpPoller(lro, {
|
|
382
394
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
383
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
395
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
396
|
+
resourceLocationConfig: "location",
|
|
384
397
|
});
|
|
385
398
|
yield poller.poll();
|
|
386
399
|
return poller;
|
|
387
400
|
});
|
|
388
401
|
}
|
|
389
402
|
/**
|
|
390
|
-
* Rotate the
|
|
403
|
+
* Rotate the NSX-T Manager password
|
|
391
404
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
392
405
|
* @param privateCloudName Name of the private cloud
|
|
393
406
|
* @param options The options parameters.
|
|
394
407
|
*/
|
|
395
|
-
|
|
408
|
+
beginRotateNsxtPasswordAndWait(resourceGroupName, privateCloudName, options) {
|
|
396
409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
-
const poller = yield this.
|
|
410
|
+
const poller = yield this.beginRotateNsxtPassword(resourceGroupName, privateCloudName, options);
|
|
398
411
|
return poller.pollUntilDone();
|
|
399
412
|
});
|
|
400
413
|
}
|
|
401
414
|
/**
|
|
402
|
-
* Rotate the
|
|
415
|
+
* Rotate the vCenter password
|
|
403
416
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
404
417
|
* @param privateCloudName Name of the private cloud
|
|
405
418
|
* @param options The options parameters.
|
|
406
419
|
*/
|
|
407
|
-
|
|
420
|
+
beginRotateVcenterPassword(resourceGroupName, privateCloudName, options) {
|
|
408
421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
409
422
|
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
410
423
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -424,43 +437,43 @@ export class PrivateCloudsImpl {
|
|
|
424
437
|
rawResponse: {
|
|
425
438
|
statusCode: currentRawResponse.status,
|
|
426
439
|
body: currentRawResponse.parsedBody,
|
|
427
|
-
headers: currentRawResponse.headers.toJSON()
|
|
428
|
-
}
|
|
440
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
441
|
+
},
|
|
429
442
|
};
|
|
430
443
|
});
|
|
431
444
|
const lro = createLroSpec({
|
|
432
445
|
sendOperationFn,
|
|
433
446
|
args: { resourceGroupName, privateCloudName, options },
|
|
434
|
-
spec:
|
|
447
|
+
spec: rotateVcenterPasswordOperationSpec,
|
|
435
448
|
});
|
|
436
449
|
const poller = yield createHttpPoller(lro, {
|
|
437
450
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
438
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
451
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
452
|
+
resourceLocationConfig: "location",
|
|
439
453
|
});
|
|
440
454
|
yield poller.poll();
|
|
441
455
|
return poller;
|
|
442
456
|
});
|
|
443
457
|
}
|
|
444
458
|
/**
|
|
445
|
-
* Rotate the
|
|
459
|
+
* Rotate the vCenter password
|
|
446
460
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
447
461
|
* @param privateCloudName Name of the private cloud
|
|
448
462
|
* @param options The options parameters.
|
|
449
463
|
*/
|
|
450
|
-
|
|
464
|
+
beginRotateVcenterPasswordAndWait(resourceGroupName, privateCloudName, options) {
|
|
451
465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
452
|
-
const poller = yield this.
|
|
466
|
+
const poller = yield this.beginRotateVcenterPassword(resourceGroupName, privateCloudName, options);
|
|
453
467
|
return poller.pollUntilDone();
|
|
454
468
|
});
|
|
455
469
|
}
|
|
456
470
|
/**
|
|
457
|
-
*
|
|
458
|
-
* @param
|
|
459
|
-
* @param privateCloudName Name of the private cloud
|
|
471
|
+
* ListInSubscriptionNext
|
|
472
|
+
* @param nextLink The nextLink from the previous successful call to the ListInSubscription method.
|
|
460
473
|
* @param options The options parameters.
|
|
461
474
|
*/
|
|
462
|
-
|
|
463
|
-
return this.client.sendOperationRequest({
|
|
475
|
+
_listInSubscriptionNext(nextLink, options) {
|
|
476
|
+
return this.client.sendOperationRequest({ nextLink, options }, listInSubscriptionNextOperationSpec);
|
|
464
477
|
}
|
|
465
478
|
/**
|
|
466
479
|
* ListNext
|
|
@@ -471,93 +484,85 @@ export class PrivateCloudsImpl {
|
|
|
471
484
|
_listNext(resourceGroupName, nextLink, options) {
|
|
472
485
|
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec);
|
|
473
486
|
}
|
|
474
|
-
/**
|
|
475
|
-
* ListInSubscriptionNext
|
|
476
|
-
* @param nextLink The nextLink from the previous successful call to the ListInSubscription method.
|
|
477
|
-
* @param options The options parameters.
|
|
478
|
-
*/
|
|
479
|
-
_listInSubscriptionNext(nextLink, options) {
|
|
480
|
-
return this.client.sendOperationRequest({ nextLink, options }, listInSubscriptionNextOperationSpec);
|
|
481
|
-
}
|
|
482
487
|
}
|
|
483
488
|
// Operation Specifications
|
|
484
489
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
485
|
-
const
|
|
486
|
-
path: "/subscriptions/{subscriptionId}/
|
|
490
|
+
const listInSubscriptionOperationSpec = {
|
|
491
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds",
|
|
487
492
|
httpMethod: "GET",
|
|
488
493
|
responses: {
|
|
489
494
|
200: {
|
|
490
|
-
bodyMapper: Mappers.
|
|
495
|
+
bodyMapper: Mappers.PrivateCloudListResult,
|
|
491
496
|
},
|
|
492
497
|
default: {
|
|
493
|
-
bodyMapper: Mappers.ErrorResponse
|
|
494
|
-
}
|
|
498
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
499
|
+
},
|
|
495
500
|
},
|
|
496
501
|
queryParameters: [Parameters.apiVersion],
|
|
497
|
-
urlParameters: [
|
|
498
|
-
Parameters.$host,
|
|
499
|
-
Parameters.subscriptionId,
|
|
500
|
-
Parameters.resourceGroupName
|
|
501
|
-
],
|
|
502
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
502
503
|
headerParameters: [Parameters.accept],
|
|
503
|
-
serializer
|
|
504
|
+
serializer,
|
|
504
505
|
};
|
|
505
|
-
const
|
|
506
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds",
|
|
506
|
+
const listOperationSpec = {
|
|
507
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds",
|
|
507
508
|
httpMethod: "GET",
|
|
508
509
|
responses: {
|
|
509
510
|
200: {
|
|
510
|
-
bodyMapper: Mappers.
|
|
511
|
+
bodyMapper: Mappers.PrivateCloudListResult,
|
|
511
512
|
},
|
|
512
513
|
default: {
|
|
513
|
-
bodyMapper: Mappers.ErrorResponse
|
|
514
|
-
}
|
|
514
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
515
|
+
},
|
|
515
516
|
},
|
|
516
517
|
queryParameters: [Parameters.apiVersion],
|
|
517
|
-
urlParameters: [
|
|
518
|
+
urlParameters: [
|
|
519
|
+
Parameters.$host,
|
|
520
|
+
Parameters.subscriptionId,
|
|
521
|
+
Parameters.resourceGroupName,
|
|
522
|
+
],
|
|
518
523
|
headerParameters: [Parameters.accept],
|
|
519
|
-
serializer
|
|
524
|
+
serializer,
|
|
520
525
|
};
|
|
521
526
|
const getOperationSpec = {
|
|
522
527
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
523
528
|
httpMethod: "GET",
|
|
524
529
|
responses: {
|
|
525
530
|
200: {
|
|
526
|
-
bodyMapper: Mappers.PrivateCloud
|
|
531
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
527
532
|
},
|
|
528
533
|
default: {
|
|
529
|
-
bodyMapper: Mappers.ErrorResponse
|
|
530
|
-
}
|
|
534
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
535
|
+
},
|
|
531
536
|
},
|
|
532
537
|
queryParameters: [Parameters.apiVersion],
|
|
533
538
|
urlParameters: [
|
|
534
539
|
Parameters.$host,
|
|
535
540
|
Parameters.subscriptionId,
|
|
536
541
|
Parameters.resourceGroupName,
|
|
537
|
-
Parameters.privateCloudName
|
|
542
|
+
Parameters.privateCloudName,
|
|
538
543
|
],
|
|
539
544
|
headerParameters: [Parameters.accept],
|
|
540
|
-
serializer
|
|
545
|
+
serializer,
|
|
541
546
|
};
|
|
542
547
|
const createOrUpdateOperationSpec = {
|
|
543
548
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
544
549
|
httpMethod: "PUT",
|
|
545
550
|
responses: {
|
|
546
551
|
200: {
|
|
547
|
-
bodyMapper: Mappers.PrivateCloud
|
|
552
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
548
553
|
},
|
|
549
554
|
201: {
|
|
550
|
-
bodyMapper: Mappers.PrivateCloud
|
|
555
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
551
556
|
},
|
|
552
557
|
202: {
|
|
553
|
-
bodyMapper: Mappers.PrivateCloud
|
|
558
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
554
559
|
},
|
|
555
560
|
204: {
|
|
556
|
-
bodyMapper: Mappers.PrivateCloud
|
|
561
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
557
562
|
},
|
|
558
563
|
default: {
|
|
559
|
-
bodyMapper: Mappers.ErrorResponse
|
|
560
|
-
}
|
|
564
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
565
|
+
},
|
|
561
566
|
},
|
|
562
567
|
requestBody: Parameters.privateCloud,
|
|
563
568
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -565,31 +570,31 @@ const createOrUpdateOperationSpec = {
|
|
|
565
570
|
Parameters.$host,
|
|
566
571
|
Parameters.subscriptionId,
|
|
567
572
|
Parameters.resourceGroupName,
|
|
568
|
-
Parameters.privateCloudName
|
|
573
|
+
Parameters.privateCloudName,
|
|
569
574
|
],
|
|
570
575
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
571
576
|
mediaType: "json",
|
|
572
|
-
serializer
|
|
577
|
+
serializer,
|
|
573
578
|
};
|
|
574
579
|
const updateOperationSpec = {
|
|
575
580
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
576
581
|
httpMethod: "PATCH",
|
|
577
582
|
responses: {
|
|
578
583
|
200: {
|
|
579
|
-
bodyMapper: Mappers.PrivateCloud
|
|
584
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
580
585
|
},
|
|
581
586
|
201: {
|
|
582
|
-
bodyMapper: Mappers.PrivateCloud
|
|
587
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
583
588
|
},
|
|
584
589
|
202: {
|
|
585
|
-
bodyMapper: Mappers.PrivateCloud
|
|
590
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
586
591
|
},
|
|
587
592
|
204: {
|
|
588
|
-
bodyMapper: Mappers.PrivateCloud
|
|
593
|
+
bodyMapper: Mappers.PrivateCloud,
|
|
589
594
|
},
|
|
590
595
|
default: {
|
|
591
|
-
bodyMapper: Mappers.ErrorResponse
|
|
592
|
-
}
|
|
596
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
597
|
+
},
|
|
593
598
|
},
|
|
594
599
|
requestBody: Parameters.privateCloudUpdate,
|
|
595
600
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -597,11 +602,11 @@ const updateOperationSpec = {
|
|
|
597
602
|
Parameters.$host,
|
|
598
603
|
Parameters.subscriptionId,
|
|
599
604
|
Parameters.resourceGroupName,
|
|
600
|
-
Parameters.privateCloudName
|
|
605
|
+
Parameters.privateCloudName,
|
|
601
606
|
],
|
|
602
607
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
603
608
|
mediaType: "json",
|
|
604
|
-
serializer
|
|
609
|
+
serializer,
|
|
605
610
|
};
|
|
606
611
|
const deleteOperationSpec = {
|
|
607
612
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
@@ -612,121 +617,137 @@ const deleteOperationSpec = {
|
|
|
612
617
|
202: {},
|
|
613
618
|
204: {},
|
|
614
619
|
default: {
|
|
615
|
-
bodyMapper: Mappers.ErrorResponse
|
|
616
|
-
}
|
|
620
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
621
|
+
},
|
|
617
622
|
},
|
|
618
623
|
queryParameters: [Parameters.apiVersion],
|
|
619
624
|
urlParameters: [
|
|
620
625
|
Parameters.$host,
|
|
621
626
|
Parameters.subscriptionId,
|
|
622
627
|
Parameters.resourceGroupName,
|
|
623
|
-
Parameters.privateCloudName
|
|
628
|
+
Parameters.privateCloudName,
|
|
624
629
|
],
|
|
625
630
|
headerParameters: [Parameters.accept],
|
|
626
|
-
serializer
|
|
631
|
+
serializer,
|
|
627
632
|
};
|
|
628
|
-
const
|
|
629
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/
|
|
633
|
+
const listAdminCredentialsOperationSpec = {
|
|
634
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials",
|
|
630
635
|
httpMethod: "POST",
|
|
631
636
|
responses: {
|
|
632
|
-
200: {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
204: {},
|
|
637
|
+
200: {
|
|
638
|
+
bodyMapper: Mappers.AdminCredentials,
|
|
639
|
+
},
|
|
636
640
|
default: {
|
|
637
|
-
bodyMapper: Mappers.ErrorResponse
|
|
638
|
-
}
|
|
641
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
642
|
+
},
|
|
639
643
|
},
|
|
640
644
|
queryParameters: [Parameters.apiVersion],
|
|
641
645
|
urlParameters: [
|
|
642
646
|
Parameters.$host,
|
|
643
647
|
Parameters.subscriptionId,
|
|
644
648
|
Parameters.resourceGroupName,
|
|
645
|
-
Parameters.privateCloudName
|
|
649
|
+
Parameters.privateCloudName,
|
|
646
650
|
],
|
|
647
651
|
headerParameters: [Parameters.accept],
|
|
648
|
-
serializer
|
|
652
|
+
serializer,
|
|
649
653
|
};
|
|
650
654
|
const rotateNsxtPasswordOperationSpec = {
|
|
651
655
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword",
|
|
652
656
|
httpMethod: "POST",
|
|
653
657
|
responses: {
|
|
654
|
-
200: {
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
+
200: {
|
|
659
|
+
headersMapper: Mappers.PrivateCloudsRotateNsxtPasswordHeaders,
|
|
660
|
+
},
|
|
661
|
+
201: {
|
|
662
|
+
headersMapper: Mappers.PrivateCloudsRotateNsxtPasswordHeaders,
|
|
663
|
+
},
|
|
664
|
+
202: {
|
|
665
|
+
headersMapper: Mappers.PrivateCloudsRotateNsxtPasswordHeaders,
|
|
666
|
+
},
|
|
667
|
+
204: {
|
|
668
|
+
headersMapper: Mappers.PrivateCloudsRotateNsxtPasswordHeaders,
|
|
669
|
+
},
|
|
658
670
|
default: {
|
|
659
|
-
bodyMapper: Mappers.ErrorResponse
|
|
660
|
-
}
|
|
671
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
672
|
+
},
|
|
661
673
|
},
|
|
662
674
|
queryParameters: [Parameters.apiVersion],
|
|
663
675
|
urlParameters: [
|
|
664
676
|
Parameters.$host,
|
|
665
677
|
Parameters.subscriptionId,
|
|
666
678
|
Parameters.resourceGroupName,
|
|
667
|
-
Parameters.privateCloudName
|
|
679
|
+
Parameters.privateCloudName,
|
|
668
680
|
],
|
|
669
681
|
headerParameters: [Parameters.accept],
|
|
670
|
-
serializer
|
|
682
|
+
serializer,
|
|
671
683
|
};
|
|
672
|
-
const
|
|
673
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/
|
|
684
|
+
const rotateVcenterPasswordOperationSpec = {
|
|
685
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword",
|
|
674
686
|
httpMethod: "POST",
|
|
675
687
|
responses: {
|
|
676
688
|
200: {
|
|
677
|
-
|
|
689
|
+
headersMapper: Mappers.PrivateCloudsRotateVcenterPasswordHeaders,
|
|
690
|
+
},
|
|
691
|
+
201: {
|
|
692
|
+
headersMapper: Mappers.PrivateCloudsRotateVcenterPasswordHeaders,
|
|
693
|
+
},
|
|
694
|
+
202: {
|
|
695
|
+
headersMapper: Mappers.PrivateCloudsRotateVcenterPasswordHeaders,
|
|
696
|
+
},
|
|
697
|
+
204: {
|
|
698
|
+
headersMapper: Mappers.PrivateCloudsRotateVcenterPasswordHeaders,
|
|
678
699
|
},
|
|
679
700
|
default: {
|
|
680
|
-
bodyMapper: Mappers.ErrorResponse
|
|
681
|
-
}
|
|
701
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
702
|
+
},
|
|
682
703
|
},
|
|
683
704
|
queryParameters: [Parameters.apiVersion],
|
|
684
705
|
urlParameters: [
|
|
685
706
|
Parameters.$host,
|
|
686
707
|
Parameters.subscriptionId,
|
|
687
708
|
Parameters.resourceGroupName,
|
|
688
|
-
Parameters.privateCloudName
|
|
709
|
+
Parameters.privateCloudName,
|
|
689
710
|
],
|
|
690
711
|
headerParameters: [Parameters.accept],
|
|
691
|
-
serializer
|
|
712
|
+
serializer,
|
|
692
713
|
};
|
|
693
|
-
const
|
|
714
|
+
const listInSubscriptionNextOperationSpec = {
|
|
694
715
|
path: "{nextLink}",
|
|
695
716
|
httpMethod: "GET",
|
|
696
717
|
responses: {
|
|
697
718
|
200: {
|
|
698
|
-
bodyMapper: Mappers.
|
|
719
|
+
bodyMapper: Mappers.PrivateCloudListResult,
|
|
699
720
|
},
|
|
700
721
|
default: {
|
|
701
|
-
bodyMapper: Mappers.ErrorResponse
|
|
702
|
-
}
|
|
722
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
723
|
+
},
|
|
703
724
|
},
|
|
704
725
|
urlParameters: [
|
|
705
726
|
Parameters.$host,
|
|
706
727
|
Parameters.nextLink,
|
|
707
728
|
Parameters.subscriptionId,
|
|
708
|
-
Parameters.resourceGroupName
|
|
709
729
|
],
|
|
710
730
|
headerParameters: [Parameters.accept],
|
|
711
|
-
serializer
|
|
731
|
+
serializer,
|
|
712
732
|
};
|
|
713
|
-
const
|
|
733
|
+
const listNextOperationSpec = {
|
|
714
734
|
path: "{nextLink}",
|
|
715
735
|
httpMethod: "GET",
|
|
716
736
|
responses: {
|
|
717
737
|
200: {
|
|
718
|
-
bodyMapper: Mappers.
|
|
738
|
+
bodyMapper: Mappers.PrivateCloudListResult,
|
|
719
739
|
},
|
|
720
740
|
default: {
|
|
721
|
-
bodyMapper: Mappers.ErrorResponse
|
|
722
|
-
}
|
|
741
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
742
|
+
},
|
|
723
743
|
},
|
|
724
744
|
urlParameters: [
|
|
725
745
|
Parameters.$host,
|
|
726
746
|
Parameters.nextLink,
|
|
727
|
-
Parameters.subscriptionId
|
|
747
|
+
Parameters.subscriptionId,
|
|
748
|
+
Parameters.resourceGroupName,
|
|
728
749
|
],
|
|
729
750
|
headerParameters: [Parameters.accept],
|
|
730
|
-
serializer
|
|
751
|
+
serializer,
|
|
731
752
|
};
|
|
732
753
|
//# sourceMappingURL=privateClouds.js.map
|