@azure/arm-avs 2.1.0 → 3.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 +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +70 -78
- package/dist/index.js +11681 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts +33 -0
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js +66 -0
- package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2962 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +363 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +115 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1693 -1639
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +409 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/addons.d.ts +81 -0
- package/dist-esm/src/operations/addons.d.ts.map +1 -0
- package/dist-esm/src/operations/addons.js +331 -0
- package/dist-esm/src/operations/addons.js.map +1 -0
- package/dist-esm/src/operations/authorizations.d.ts +81 -0
- package/dist-esm/src/operations/authorizations.d.ts.map +1 -0
- package/dist-esm/src/operations/authorizations.js +337 -0
- package/dist-esm/src/operations/authorizations.js.map +1 -0
- package/dist-esm/src/operations/cloudLinks.d.ts +81 -0
- package/dist-esm/src/operations/cloudLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudLinks.js +337 -0
- package/dist-esm/src/operations/cloudLinks.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +99 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +423 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/datastores.d.ts +89 -0
- package/dist-esm/src/operations/datastores.d.ts.map +1 -0
- package/dist-esm/src/operations/datastores.js +363 -0
- package/dist-esm/src/operations/datastores.js.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts +81 -0
- package/dist-esm/src/operations/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/globalReachConnections.js +347 -0
- package/dist-esm/src/operations/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +63 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js +244 -0
- package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +25 -0
- package/dist-esm/src/operations/locations.d.ts.map +1 -0
- package/dist-esm/src/operations/locations.js +79 -0
- package/dist-esm/src/operations/locations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/placementPolicies.d.ts +116 -0
- package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/placementPolicies.js +466 -0
- package/dist-esm/src/operations/placementPolicies.js.map +1 -0
- package/dist-esm/src/operations/privateClouds.d.ts +142 -0
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operations/privateClouds.js +672 -0
- package/dist-esm/src/operations/privateClouds.js.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts +53 -0
- package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptCmdlets.js +191 -0
- package/dist-esm/src/operations/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts +89 -0
- package/dist-esm/src/operations/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptExecutions.js +371 -0
- package/dist-esm/src/operations/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operations/scriptPackages.d.ts +46 -0
- package/dist-esm/src/operations/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operations/scriptPackages.js +169 -0
- package/dist-esm/src/operations/scriptPackages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +71 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +272 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts +661 -0
- package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/workloadNetworks.js +3049 -0
- package/dist-esm/src/operations/workloadNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/addons.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/addons.js} +2 -1
- package/dist-esm/src/operationsInterfaces/addons.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts.map +1 -0
- package/{src/models/locationsMappers.ts → dist-esm/src/operationsInterfaces/authorizations.js} +2 -9
- package/dist-esm/src/operationsInterfaces/authorizations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts.map +1 -0
- package/{esm/models/locationsMappers.js → dist-esm/src/operationsInterfaces/cloudLinks.js} +2 -2
- package/dist-esm/src/operationsInterfaces/cloudLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/datastores.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/datastores.js +9 -0
- package/dist-esm/src/operationsInterfaces/datastores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/globalReachConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js +9 -0
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.js +9 -0
- package/dist-esm/src/operationsInterfaces/locations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +89 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/placementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +106 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptExecutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js +9 -0
- package/dist-esm/src/operationsInterfaces/scriptPackages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +500 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workloadNetworks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-avs.api.md +2534 -0
- package/rollup.config.js +181 -30
- package/src/azureVMwareSolutionAPI.ts +139 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2550 -4167
- package/src/models/mappers.ts +1755 -1674
- package/src/models/parameters.ts +289 -94
- package/src/operations/addons.ts +339 -201
- package/src/operations/authorizations.ts +340 -196
- package/src/operations/cloudLinks.ts +340 -196
- package/src/operations/clusters.ts +441 -235
- package/src/operations/datastores.ts +364 -189
- package/src/operations/globalReachConnections.ts +341 -185
- package/src/operations/hcxEnterpriseSites.ts +200 -205
- package/src/operations/index.ts +1 -2
- package/src/operations/locations.ts +54 -80
- package/src/operations/operations.ts +85 -73
- package/src/operations/placementPolicies.ts +485 -245
- package/src/operations/privateClouds.ts +674 -401
- package/src/operations/scriptCmdlets.ts +175 -124
- package/src/operations/scriptExecutions.ts +372 -259
- package/src/operations/scriptPackages.ts +152 -123
- package/src/operations/virtualMachines.ts +271 -165
- package/src/operations/workloadNetworks.ts +3369 -1906
- package/src/operationsInterfaces/addons.ts +109 -0
- package/src/operationsInterfaces/authorizations.ts +109 -0
- package/src/operationsInterfaces/cloudLinks.ts +109 -0
- package/src/operationsInterfaces/clusters.ts +147 -0
- package/src/operationsInterfaces/datastores.ts +121 -0
- package/src/operationsInterfaces/globalReachConnections.ts +109 -0
- package/src/operationsInterfaces/hcxEnterpriseSites.ts +75 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/locations.ts +36 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/placementPolicies.ts +170 -0
- package/src/operationsInterfaces/privateClouds.ts +198 -0
- package/src/operationsInterfaces/scriptCmdlets.ts +50 -0
- package/src/operationsInterfaces/scriptExecutions.ts +124 -0
- package/src/operationsInterfaces/scriptPackages.ts +44 -0
- package/src/operationsInterfaces/virtualMachines.ts +85 -0
- package/src/operationsInterfaces/workloadNetworks.ts +951 -0
- package/tsconfig.json +3 -3
- package/types/arm-avs.d.ts +4645 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-avs.js +0 -10045
- package/dist/arm-avs.js.map +0 -1
- package/dist/arm-avs.min.js +0 -1
- package/dist/arm-avs.min.js.map +0 -1
- package/esm/avsClient.d.ts +0 -39
- package/esm/avsClient.d.ts.map +0 -1
- package/esm/avsClient.js +0 -52
- package/esm/avsClient.js.map +0 -1
- package/esm/avsClientContext.d.ts +0 -22
- package/esm/avsClientContext.d.ts.map +0 -1
- package/esm/avsClientContext.js +0 -60
- package/esm/avsClientContext.js.map +0 -1
- package/esm/models/addonsMappers.d.ts +0 -2
- package/esm/models/addonsMappers.d.ts.map +0 -1
- package/esm/models/addonsMappers.js +0 -9
- package/esm/models/addonsMappers.js.map +0 -1
- package/esm/models/authorizationsMappers.d.ts +0 -2
- package/esm/models/authorizationsMappers.d.ts.map +0 -1
- package/esm/models/authorizationsMappers.js +0 -9
- package/esm/models/authorizationsMappers.js.map +0 -1
- package/esm/models/cloudLinksMappers.d.ts +0 -2
- package/esm/models/cloudLinksMappers.d.ts.map +0 -1
- package/esm/models/cloudLinksMappers.js +0 -9
- package/esm/models/cloudLinksMappers.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/datastoresMappers.d.ts +0 -2
- package/esm/models/datastoresMappers.d.ts.map +0 -1
- package/esm/models/datastoresMappers.js +0 -9
- package/esm/models/datastoresMappers.js.map +0 -1
- package/esm/models/globalReachConnectionsMappers.d.ts +0 -2
- package/esm/models/globalReachConnectionsMappers.d.ts.map +0 -1
- package/esm/models/globalReachConnectionsMappers.js +0 -9
- package/esm/models/globalReachConnectionsMappers.js.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.d.ts +0 -2
- package/esm/models/hcxEnterpriseSitesMappers.d.ts.map +0 -1
- package/esm/models/hcxEnterpriseSitesMappers.js +0 -9
- package/esm/models/hcxEnterpriseSitesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4643
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/locationsMappers.d.ts +0 -2
- package/esm/models/locationsMappers.d.ts.map +0 -1
- package/esm/models/locationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -113
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -29
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -290
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/placementPoliciesMappers.d.ts +0 -2
- package/esm/models/placementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/placementPoliciesMappers.js +0 -9
- package/esm/models/placementPoliciesMappers.js.map +0 -1
- package/esm/models/privateCloudsMappers.d.ts +0 -2
- package/esm/models/privateCloudsMappers.d.ts.map +0 -1
- package/esm/models/privateCloudsMappers.js +0 -9
- package/esm/models/privateCloudsMappers.js.map +0 -1
- package/esm/models/scriptCmdletsMappers.d.ts +0 -2
- package/esm/models/scriptCmdletsMappers.d.ts.map +0 -1
- package/esm/models/scriptCmdletsMappers.js +0 -9
- package/esm/models/scriptCmdletsMappers.js.map +0 -1
- package/esm/models/scriptExecutionsMappers.d.ts +0 -2
- package/esm/models/scriptExecutionsMappers.d.ts.map +0 -1
- package/esm/models/scriptExecutionsMappers.js +0 -9
- package/esm/models/scriptExecutionsMappers.js.map +0 -1
- package/esm/models/scriptPackagesMappers.d.ts +0 -2
- package/esm/models/scriptPackagesMappers.d.ts.map +0 -1
- package/esm/models/scriptPackagesMappers.js +0 -9
- package/esm/models/scriptPackagesMappers.js.map +0 -1
- package/esm/models/virtualMachinesMappers.d.ts +0 -2
- package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachinesMappers.js +0 -9
- package/esm/models/virtualMachinesMappers.js.map +0 -1
- package/esm/models/workloadNetworksMappers.d.ts +0 -2
- package/esm/models/workloadNetworksMappers.d.ts.map +0 -1
- package/esm/models/workloadNetworksMappers.js +0 -9
- package/esm/models/workloadNetworksMappers.js.map +0 -1
- package/esm/operations/addons.d.ts +0 -113
- package/esm/operations/addons.d.ts.map +0 -1
- package/esm/operations/addons.js +0 -238
- package/esm/operations/addons.js.map +0 -1
- package/esm/operations/authorizations.d.ts +0 -113
- package/esm/operations/authorizations.d.ts.map +0 -1
- package/esm/operations/authorizations.js +0 -238
- package/esm/operations/authorizations.js.map +0 -1
- package/esm/operations/cloudLinks.d.ts +0 -113
- package/esm/operations/cloudLinks.d.ts.map +0 -1
- package/esm/operations/cloudLinks.js +0 -238
- package/esm/operations/cloudLinks.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -135
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -299
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/datastores.d.ts +0 -125
- package/esm/operations/datastores.d.ts.map +0 -1
- package/esm/operations/datastores.js +0 -248
- package/esm/operations/datastores.js.map +0 -1
- package/esm/operations/globalReachConnections.d.ts +0 -115
- package/esm/operations/globalReachConnections.d.ts.map +0 -1
- package/esm/operations/globalReachConnections.js +0 -236
- package/esm/operations/globalReachConnections.js.map +0 -1
- package/esm/operations/hcxEnterpriseSites.d.ts +0 -124
- package/esm/operations/hcxEnterpriseSites.d.ts.map +0 -1
- package/esm/operations/hcxEnterpriseSites.js +0 -192
- package/esm/operations/hcxEnterpriseSites.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/locations.d.ts +0 -49
- package/esm/operations/locations.d.ts.map +0 -1
- package/esm/operations/locations.js +0 -84
- package/esm/operations/locations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/placementPolicies.d.ts +0 -154
- package/esm/operations/placementPolicies.d.ts.map +0 -1
- package/esm/operations/placementPolicies.js +0 -323
- package/esm/operations/placementPolicies.js.map +0 -1
- package/esm/operations/privateClouds.d.ts +0 -209
- package/esm/operations/privateClouds.d.ts.map +0 -1
- package/esm/operations/privateClouds.js +0 -466
- package/esm/operations/privateClouds.js.map +0 -1
- package/esm/operations/scriptCmdlets.d.ts +0 -87
- package/esm/operations/scriptCmdlets.d.ts.map +0 -1
- package/esm/operations/scriptCmdlets.js +0 -123
- package/esm/operations/scriptCmdlets.js.map +0 -1
- package/esm/operations/scriptExecutions.d.ts +0 -139
- package/esm/operations/scriptExecutions.d.ts.map +0 -1
- package/esm/operations/scriptExecutions.js +0 -286
- package/esm/operations/scriptExecutions.js.map +0 -1
- package/esm/operations/scriptPackages.d.ts +0 -76
- package/esm/operations/scriptPackages.d.ts.map +0 -1
- package/esm/operations/scriptPackages.js +0 -119
- package/esm/operations/scriptPackages.js.map +0 -1
- package/esm/operations/virtualMachines.d.ts +0 -103
- package/esm/operations/virtualMachines.d.ts.map +0 -1
- package/esm/operations/virtualMachines.js +0 -188
- package/esm/operations/virtualMachines.js.map +0 -1
- package/esm/operations/workloadNetworks.d.ts +0 -988
- package/esm/operations/workloadNetworks.d.ts.map +0 -1
- package/esm/operations/workloadNetworks.js +0 -2062
- package/esm/operations/workloadNetworks.js.map +0 -1
- package/src/avsClient.ts +0 -77
- package/src/avsClientContext.ts +0 -67
- package/src/models/addonsMappers.ts +0 -70
- package/src/models/authorizationsMappers.ts +0 -70
- package/src/models/cloudLinksMappers.ts +0 -70
- package/src/models/clustersMappers.ts +0 -71
- package/src/models/datastoresMappers.ts +0 -70
- package/src/models/globalReachConnectionsMappers.ts +0 -70
- package/src/models/hcxEnterpriseSitesMappers.ts +0 -70
- package/src/models/operationsMappers.ts +0 -22
- package/src/models/placementPoliciesMappers.ts +0 -71
- package/src/models/privateCloudsMappers.ts +0 -72
- package/src/models/scriptCmdletsMappers.ts +0 -70
- package/src/models/scriptExecutionsMappers.ts +0 -70
- package/src/models/scriptPackagesMappers.ts +0 -70
- package/src/models/virtualMachinesMappers.ts +0 -71
- package/src/models/workloadNetworksMappers.ts +0 -78
|
@@ -0,0 +1,672 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing PrivateClouds operations. */
|
|
16
|
+
export class PrivateCloudsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PrivateClouds class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List private clouds in a resource group
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(resourceGroupName, options) {
|
|
30
|
+
const iter = this.listPagingAll(resourceGroupName, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listPagingPage(resourceGroupName, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listPagingPage(resourceGroupName, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._list(resourceGroupName, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listNext(resourceGroupName, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listPagingAll(resourceGroupName, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* List private clouds in a subscription
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listInSubscription(options) {
|
|
78
|
+
const iter = this.listInSubscriptionPagingAll(options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listInSubscriptionPagingPage(options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listInSubscriptionPagingPage(options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listInSubscriptionPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listInSubscription(options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listInSubscriptionNext(continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listInSubscriptionPagingAll(options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listInSubscriptionPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listInSubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* List private clouds in a resource group
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param options The options parameters.
|
|
125
|
+
*/
|
|
126
|
+
_list(resourceGroupName, options) {
|
|
127
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listOperationSpec);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* List private clouds in a subscription
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
_listInSubscription(options) {
|
|
134
|
+
return this.client.sendOperationRequest({ options }, listInSubscriptionOperationSpec);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Get a private cloud
|
|
138
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
|
+
* @param privateCloudName Name of the private cloud
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
get(resourceGroupName, privateCloudName, options) {
|
|
143
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, getOperationSpec);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Create or update a private cloud
|
|
147
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
148
|
+
* @param privateCloudName Name of the private cloud
|
|
149
|
+
* @param privateCloud The private cloud
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
beginCreateOrUpdate(resourceGroupName, privateCloudName, privateCloud, options) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
return this.client.sendOperationRequest(args, spec);
|
|
156
|
+
});
|
|
157
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
var _a;
|
|
159
|
+
let currentRawResponse = undefined;
|
|
160
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
161
|
+
const callback = (rawResponse, flatResponse) => {
|
|
162
|
+
currentRawResponse = rawResponse;
|
|
163
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
164
|
+
};
|
|
165
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
166
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
167
|
+
return {
|
|
168
|
+
flatResponse,
|
|
169
|
+
rawResponse: {
|
|
170
|
+
statusCode: currentRawResponse.status,
|
|
171
|
+
body: currentRawResponse.parsedBody,
|
|
172
|
+
headers: currentRawResponse.headers.toJSON()
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
});
|
|
176
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, privateCloud, options }, createOrUpdateOperationSpec);
|
|
177
|
+
return new LroEngine(lro, {
|
|
178
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
179
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Create or update a private cloud
|
|
185
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
186
|
+
* @param privateCloudName Name of the private cloud
|
|
187
|
+
* @param privateCloud The private cloud
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
beginCreateOrUpdateAndWait(resourceGroupName, privateCloudName, privateCloud, options) {
|
|
191
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, privateCloudName, privateCloud, options);
|
|
193
|
+
return poller.pollUntilDone();
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Update a private cloud
|
|
198
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
199
|
+
* @param privateCloudName Name of the private cloud
|
|
200
|
+
* @param privateCloudUpdate The private cloud properties to be updated
|
|
201
|
+
* @param options The options parameters.
|
|
202
|
+
*/
|
|
203
|
+
beginUpdate(resourceGroupName, privateCloudName, privateCloudUpdate, options) {
|
|
204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
return this.client.sendOperationRequest(args, spec);
|
|
207
|
+
});
|
|
208
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
var _a;
|
|
210
|
+
let currentRawResponse = undefined;
|
|
211
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
212
|
+
const callback = (rawResponse, flatResponse) => {
|
|
213
|
+
currentRawResponse = rawResponse;
|
|
214
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
215
|
+
};
|
|
216
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
217
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
218
|
+
return {
|
|
219
|
+
flatResponse,
|
|
220
|
+
rawResponse: {
|
|
221
|
+
statusCode: currentRawResponse.status,
|
|
222
|
+
body: currentRawResponse.parsedBody,
|
|
223
|
+
headers: currentRawResponse.headers.toJSON()
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
});
|
|
227
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, privateCloudUpdate, options }, updateOperationSpec);
|
|
228
|
+
return new LroEngine(lro, {
|
|
229
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
230
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Update a private cloud
|
|
236
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
237
|
+
* @param privateCloudName Name of the private cloud
|
|
238
|
+
* @param privateCloudUpdate The private cloud properties to be updated
|
|
239
|
+
* @param options The options parameters.
|
|
240
|
+
*/
|
|
241
|
+
beginUpdateAndWait(resourceGroupName, privateCloudName, privateCloudUpdate, options) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
const poller = yield this.beginUpdate(resourceGroupName, privateCloudName, privateCloudUpdate, options);
|
|
244
|
+
return poller.pollUntilDone();
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Delete a private cloud
|
|
249
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
250
|
+
* @param privateCloudName Name of the private cloud
|
|
251
|
+
* @param options The options parameters.
|
|
252
|
+
*/
|
|
253
|
+
beginDelete(resourceGroupName, privateCloudName, options) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
return this.client.sendOperationRequest(args, spec);
|
|
257
|
+
});
|
|
258
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
259
|
+
var _a;
|
|
260
|
+
let currentRawResponse = undefined;
|
|
261
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
262
|
+
const callback = (rawResponse, flatResponse) => {
|
|
263
|
+
currentRawResponse = rawResponse;
|
|
264
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
265
|
+
};
|
|
266
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
267
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
268
|
+
return {
|
|
269
|
+
flatResponse,
|
|
270
|
+
rawResponse: {
|
|
271
|
+
statusCode: currentRawResponse.status,
|
|
272
|
+
body: currentRawResponse.parsedBody,
|
|
273
|
+
headers: currentRawResponse.headers.toJSON()
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
});
|
|
277
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, options }, deleteOperationSpec);
|
|
278
|
+
return new LroEngine(lro, {
|
|
279
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
280
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Delete a private cloud
|
|
286
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
287
|
+
* @param privateCloudName Name of the private cloud
|
|
288
|
+
* @param options The options parameters.
|
|
289
|
+
*/
|
|
290
|
+
beginDeleteAndWait(resourceGroupName, privateCloudName, options) {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
const poller = yield this.beginDelete(resourceGroupName, privateCloudName, options);
|
|
293
|
+
return poller.pollUntilDone();
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Rotate the vCenter password
|
|
298
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
299
|
+
* @param privateCloudName Name of the private cloud
|
|
300
|
+
* @param options The options parameters.
|
|
301
|
+
*/
|
|
302
|
+
beginRotateVcenterPassword(resourceGroupName, privateCloudName, options) {
|
|
303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
304
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
305
|
+
return this.client.sendOperationRequest(args, spec);
|
|
306
|
+
});
|
|
307
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
var _a;
|
|
309
|
+
let currentRawResponse = undefined;
|
|
310
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
311
|
+
const callback = (rawResponse, flatResponse) => {
|
|
312
|
+
currentRawResponse = rawResponse;
|
|
313
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
314
|
+
};
|
|
315
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
316
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
317
|
+
return {
|
|
318
|
+
flatResponse,
|
|
319
|
+
rawResponse: {
|
|
320
|
+
statusCode: currentRawResponse.status,
|
|
321
|
+
body: currentRawResponse.parsedBody,
|
|
322
|
+
headers: currentRawResponse.headers.toJSON()
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
});
|
|
326
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, options }, rotateVcenterPasswordOperationSpec);
|
|
327
|
+
return new LroEngine(lro, {
|
|
328
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
329
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Rotate the vCenter password
|
|
335
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
336
|
+
* @param privateCloudName Name of the private cloud
|
|
337
|
+
* @param options The options parameters.
|
|
338
|
+
*/
|
|
339
|
+
beginRotateVcenterPasswordAndWait(resourceGroupName, privateCloudName, options) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
+
const poller = yield this.beginRotateVcenterPassword(resourceGroupName, privateCloudName, options);
|
|
342
|
+
return poller.pollUntilDone();
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Rotate the NSX-T Manager password
|
|
347
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
348
|
+
* @param privateCloudName Name of the private cloud
|
|
349
|
+
* @param options The options parameters.
|
|
350
|
+
*/
|
|
351
|
+
beginRotateNsxtPassword(resourceGroupName, privateCloudName, options) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
354
|
+
return this.client.sendOperationRequest(args, spec);
|
|
355
|
+
});
|
|
356
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
var _a;
|
|
358
|
+
let currentRawResponse = undefined;
|
|
359
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
360
|
+
const callback = (rawResponse, flatResponse) => {
|
|
361
|
+
currentRawResponse = rawResponse;
|
|
362
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
363
|
+
};
|
|
364
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
365
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
366
|
+
return {
|
|
367
|
+
flatResponse,
|
|
368
|
+
rawResponse: {
|
|
369
|
+
statusCode: currentRawResponse.status,
|
|
370
|
+
body: currentRawResponse.parsedBody,
|
|
371
|
+
headers: currentRawResponse.headers.toJSON()
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
});
|
|
375
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, options }, rotateNsxtPasswordOperationSpec);
|
|
376
|
+
return new LroEngine(lro, {
|
|
377
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
378
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
379
|
+
});
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Rotate the NSX-T Manager password
|
|
384
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
385
|
+
* @param privateCloudName Name of the private cloud
|
|
386
|
+
* @param options The options parameters.
|
|
387
|
+
*/
|
|
388
|
+
beginRotateNsxtPasswordAndWait(resourceGroupName, privateCloudName, options) {
|
|
389
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
390
|
+
const poller = yield this.beginRotateNsxtPassword(resourceGroupName, privateCloudName, options);
|
|
391
|
+
return poller.pollUntilDone();
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* List the admin credentials for the private cloud
|
|
396
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
397
|
+
* @param privateCloudName Name of the private cloud
|
|
398
|
+
* @param options The options parameters.
|
|
399
|
+
*/
|
|
400
|
+
listAdminCredentials(resourceGroupName, privateCloudName, options) {
|
|
401
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listAdminCredentialsOperationSpec);
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* ListNext
|
|
405
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
406
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
407
|
+
* @param options The options parameters.
|
|
408
|
+
*/
|
|
409
|
+
_listNext(resourceGroupName, nextLink, options) {
|
|
410
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listNextOperationSpec);
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* ListInSubscriptionNext
|
|
414
|
+
* @param nextLink The nextLink from the previous successful call to the ListInSubscription method.
|
|
415
|
+
* @param options The options parameters.
|
|
416
|
+
*/
|
|
417
|
+
_listInSubscriptionNext(nextLink, options) {
|
|
418
|
+
return this.client.sendOperationRequest({ nextLink, options }, listInSubscriptionNextOperationSpec);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
// Operation Specifications
|
|
422
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
423
|
+
const listOperationSpec = {
|
|
424
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds",
|
|
425
|
+
httpMethod: "GET",
|
|
426
|
+
responses: {
|
|
427
|
+
200: {
|
|
428
|
+
bodyMapper: Mappers.PrivateCloudList
|
|
429
|
+
},
|
|
430
|
+
default: {
|
|
431
|
+
bodyMapper: Mappers.CloudError
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
queryParameters: [Parameters.apiVersion],
|
|
435
|
+
urlParameters: [
|
|
436
|
+
Parameters.$host,
|
|
437
|
+
Parameters.subscriptionId,
|
|
438
|
+
Parameters.resourceGroupName
|
|
439
|
+
],
|
|
440
|
+
headerParameters: [Parameters.accept],
|
|
441
|
+
serializer
|
|
442
|
+
};
|
|
443
|
+
const listInSubscriptionOperationSpec = {
|
|
444
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/privateClouds",
|
|
445
|
+
httpMethod: "GET",
|
|
446
|
+
responses: {
|
|
447
|
+
200: {
|
|
448
|
+
bodyMapper: Mappers.PrivateCloudList
|
|
449
|
+
},
|
|
450
|
+
default: {
|
|
451
|
+
bodyMapper: Mappers.CloudError
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
queryParameters: [Parameters.apiVersion],
|
|
455
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
456
|
+
headerParameters: [Parameters.accept],
|
|
457
|
+
serializer
|
|
458
|
+
};
|
|
459
|
+
const getOperationSpec = {
|
|
460
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
461
|
+
httpMethod: "GET",
|
|
462
|
+
responses: {
|
|
463
|
+
200: {
|
|
464
|
+
bodyMapper: Mappers.PrivateCloud
|
|
465
|
+
},
|
|
466
|
+
default: {
|
|
467
|
+
bodyMapper: Mappers.CloudError
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
queryParameters: [Parameters.apiVersion],
|
|
471
|
+
urlParameters: [
|
|
472
|
+
Parameters.$host,
|
|
473
|
+
Parameters.subscriptionId,
|
|
474
|
+
Parameters.resourceGroupName,
|
|
475
|
+
Parameters.privateCloudName
|
|
476
|
+
],
|
|
477
|
+
headerParameters: [Parameters.accept],
|
|
478
|
+
serializer
|
|
479
|
+
};
|
|
480
|
+
const createOrUpdateOperationSpec = {
|
|
481
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
482
|
+
httpMethod: "PUT",
|
|
483
|
+
responses: {
|
|
484
|
+
200: {
|
|
485
|
+
bodyMapper: Mappers.PrivateCloud
|
|
486
|
+
},
|
|
487
|
+
201: {
|
|
488
|
+
bodyMapper: Mappers.PrivateCloud
|
|
489
|
+
},
|
|
490
|
+
202: {
|
|
491
|
+
bodyMapper: Mappers.PrivateCloud
|
|
492
|
+
},
|
|
493
|
+
204: {
|
|
494
|
+
bodyMapper: Mappers.PrivateCloud
|
|
495
|
+
},
|
|
496
|
+
default: {
|
|
497
|
+
bodyMapper: Mappers.CloudError
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
requestBody: Parameters.privateCloud,
|
|
501
|
+
queryParameters: [Parameters.apiVersion],
|
|
502
|
+
urlParameters: [
|
|
503
|
+
Parameters.$host,
|
|
504
|
+
Parameters.subscriptionId,
|
|
505
|
+
Parameters.resourceGroupName,
|
|
506
|
+
Parameters.privateCloudName
|
|
507
|
+
],
|
|
508
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
509
|
+
mediaType: "json",
|
|
510
|
+
serializer
|
|
511
|
+
};
|
|
512
|
+
const updateOperationSpec = {
|
|
513
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
514
|
+
httpMethod: "PATCH",
|
|
515
|
+
responses: {
|
|
516
|
+
200: {
|
|
517
|
+
bodyMapper: Mappers.PrivateCloud
|
|
518
|
+
},
|
|
519
|
+
201: {
|
|
520
|
+
bodyMapper: Mappers.PrivateCloud
|
|
521
|
+
},
|
|
522
|
+
202: {
|
|
523
|
+
bodyMapper: Mappers.PrivateCloud
|
|
524
|
+
},
|
|
525
|
+
204: {
|
|
526
|
+
bodyMapper: Mappers.PrivateCloud
|
|
527
|
+
},
|
|
528
|
+
default: {
|
|
529
|
+
bodyMapper: Mappers.CloudError
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
requestBody: Parameters.privateCloudUpdate,
|
|
533
|
+
queryParameters: [Parameters.apiVersion],
|
|
534
|
+
urlParameters: [
|
|
535
|
+
Parameters.$host,
|
|
536
|
+
Parameters.subscriptionId,
|
|
537
|
+
Parameters.resourceGroupName,
|
|
538
|
+
Parameters.privateCloudName
|
|
539
|
+
],
|
|
540
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
541
|
+
mediaType: "json",
|
|
542
|
+
serializer
|
|
543
|
+
};
|
|
544
|
+
const deleteOperationSpec = {
|
|
545
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}",
|
|
546
|
+
httpMethod: "DELETE",
|
|
547
|
+
responses: {
|
|
548
|
+
200: {},
|
|
549
|
+
201: {},
|
|
550
|
+
202: {},
|
|
551
|
+
204: {},
|
|
552
|
+
default: {
|
|
553
|
+
bodyMapper: Mappers.CloudError
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
queryParameters: [Parameters.apiVersion],
|
|
557
|
+
urlParameters: [
|
|
558
|
+
Parameters.$host,
|
|
559
|
+
Parameters.subscriptionId,
|
|
560
|
+
Parameters.resourceGroupName,
|
|
561
|
+
Parameters.privateCloudName
|
|
562
|
+
],
|
|
563
|
+
headerParameters: [Parameters.accept],
|
|
564
|
+
serializer
|
|
565
|
+
};
|
|
566
|
+
const rotateVcenterPasswordOperationSpec = {
|
|
567
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword",
|
|
568
|
+
httpMethod: "POST",
|
|
569
|
+
responses: {
|
|
570
|
+
200: {},
|
|
571
|
+
201: {},
|
|
572
|
+
202: {},
|
|
573
|
+
204: {},
|
|
574
|
+
default: {
|
|
575
|
+
bodyMapper: Mappers.CloudError
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
queryParameters: [Parameters.apiVersion],
|
|
579
|
+
urlParameters: [
|
|
580
|
+
Parameters.$host,
|
|
581
|
+
Parameters.subscriptionId,
|
|
582
|
+
Parameters.resourceGroupName,
|
|
583
|
+
Parameters.privateCloudName
|
|
584
|
+
],
|
|
585
|
+
headerParameters: [Parameters.accept],
|
|
586
|
+
serializer
|
|
587
|
+
};
|
|
588
|
+
const rotateNsxtPasswordOperationSpec = {
|
|
589
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword",
|
|
590
|
+
httpMethod: "POST",
|
|
591
|
+
responses: {
|
|
592
|
+
200: {},
|
|
593
|
+
201: {},
|
|
594
|
+
202: {},
|
|
595
|
+
204: {},
|
|
596
|
+
default: {
|
|
597
|
+
bodyMapper: Mappers.CloudError
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
queryParameters: [Parameters.apiVersion],
|
|
601
|
+
urlParameters: [
|
|
602
|
+
Parameters.$host,
|
|
603
|
+
Parameters.subscriptionId,
|
|
604
|
+
Parameters.resourceGroupName,
|
|
605
|
+
Parameters.privateCloudName
|
|
606
|
+
],
|
|
607
|
+
headerParameters: [Parameters.accept],
|
|
608
|
+
serializer
|
|
609
|
+
};
|
|
610
|
+
const listAdminCredentialsOperationSpec = {
|
|
611
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/listAdminCredentials",
|
|
612
|
+
httpMethod: "POST",
|
|
613
|
+
responses: {
|
|
614
|
+
200: {
|
|
615
|
+
bodyMapper: Mappers.AdminCredentials
|
|
616
|
+
},
|
|
617
|
+
default: {
|
|
618
|
+
bodyMapper: Mappers.CloudError
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
queryParameters: [Parameters.apiVersion],
|
|
622
|
+
urlParameters: [
|
|
623
|
+
Parameters.$host,
|
|
624
|
+
Parameters.subscriptionId,
|
|
625
|
+
Parameters.resourceGroupName,
|
|
626
|
+
Parameters.privateCloudName
|
|
627
|
+
],
|
|
628
|
+
headerParameters: [Parameters.accept],
|
|
629
|
+
serializer
|
|
630
|
+
};
|
|
631
|
+
const listNextOperationSpec = {
|
|
632
|
+
path: "{nextLink}",
|
|
633
|
+
httpMethod: "GET",
|
|
634
|
+
responses: {
|
|
635
|
+
200: {
|
|
636
|
+
bodyMapper: Mappers.PrivateCloudList
|
|
637
|
+
},
|
|
638
|
+
default: {
|
|
639
|
+
bodyMapper: Mappers.CloudError
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
queryParameters: [Parameters.apiVersion],
|
|
643
|
+
urlParameters: [
|
|
644
|
+
Parameters.$host,
|
|
645
|
+
Parameters.nextLink,
|
|
646
|
+
Parameters.subscriptionId,
|
|
647
|
+
Parameters.resourceGroupName
|
|
648
|
+
],
|
|
649
|
+
headerParameters: [Parameters.accept],
|
|
650
|
+
serializer
|
|
651
|
+
};
|
|
652
|
+
const listInSubscriptionNextOperationSpec = {
|
|
653
|
+
path: "{nextLink}",
|
|
654
|
+
httpMethod: "GET",
|
|
655
|
+
responses: {
|
|
656
|
+
200: {
|
|
657
|
+
bodyMapper: Mappers.PrivateCloudList
|
|
658
|
+
},
|
|
659
|
+
default: {
|
|
660
|
+
bodyMapper: Mappers.CloudError
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
queryParameters: [Parameters.apiVersion],
|
|
664
|
+
urlParameters: [
|
|
665
|
+
Parameters.$host,
|
|
666
|
+
Parameters.nextLink,
|
|
667
|
+
Parameters.subscriptionId
|
|
668
|
+
],
|
|
669
|
+
headerParameters: [Parameters.accept],
|
|
670
|
+
serializer
|
|
671
|
+
};
|
|
672
|
+
//# sourceMappingURL=privateClouds.js.map
|