@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,423 @@
|
|
|
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 Clusters operations. */
|
|
16
|
+
export class ClustersImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class Clusters class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List clusters in a private cloud
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param privateCloudName Name of the private cloud
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(resourceGroupName, privateCloudName, options) {
|
|
31
|
+
const iter = this.listPagingAll(resourceGroupName, privateCloudName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listPagingPage(resourceGroupName, privateCloudName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(resourceGroupName, privateCloudName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._list(resourceGroupName, privateCloudName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listNext(resourceGroupName, privateCloudName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listPagingAll(resourceGroupName, privateCloudName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, privateCloudName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* List clusters in a private cloud
|
|
76
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
+
* @param privateCloudName Name of the private cloud
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_list(resourceGroupName, privateCloudName, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, options }, listOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Get a cluster by name in a private cloud
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param privateCloudName Name of the private cloud
|
|
87
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
get(resourceGroupName, privateCloudName, clusterName, options) {
|
|
91
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, clusterName, options }, getOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Create or update a cluster in a private cloud
|
|
95
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
96
|
+
* @param privateCloudName The name of the private cloud.
|
|
97
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
98
|
+
* @param cluster A cluster in the private cloud
|
|
99
|
+
* @param options The options parameters.
|
|
100
|
+
*/
|
|
101
|
+
beginCreateOrUpdate(resourceGroupName, privateCloudName, clusterName, cluster, options) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
return this.client.sendOperationRequest(args, spec);
|
|
105
|
+
});
|
|
106
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
var _a;
|
|
108
|
+
let currentRawResponse = undefined;
|
|
109
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
110
|
+
const callback = (rawResponse, flatResponse) => {
|
|
111
|
+
currentRawResponse = rawResponse;
|
|
112
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
113
|
+
};
|
|
114
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
115
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
116
|
+
return {
|
|
117
|
+
flatResponse,
|
|
118
|
+
rawResponse: {
|
|
119
|
+
statusCode: currentRawResponse.status,
|
|
120
|
+
body: currentRawResponse.parsedBody,
|
|
121
|
+
headers: currentRawResponse.headers.toJSON()
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, clusterName, cluster, options }, createOrUpdateOperationSpec);
|
|
126
|
+
return new LroEngine(lro, {
|
|
127
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
128
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Create or update a cluster in a private cloud
|
|
134
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
135
|
+
* @param privateCloudName The name of the private cloud.
|
|
136
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
137
|
+
* @param cluster A cluster in the private cloud
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
beginCreateOrUpdateAndWait(resourceGroupName, privateCloudName, clusterName, cluster, options) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, privateCloudName, clusterName, cluster, options);
|
|
143
|
+
return poller.pollUntilDone();
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Update a cluster in a private cloud
|
|
148
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
149
|
+
* @param privateCloudName Name of the private cloud
|
|
150
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
151
|
+
* @param clusterUpdate The cluster properties to be updated
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
beginUpdate(resourceGroupName, privateCloudName, clusterName, clusterUpdate, options) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
return this.client.sendOperationRequest(args, spec);
|
|
158
|
+
});
|
|
159
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
var _a;
|
|
161
|
+
let currentRawResponse = undefined;
|
|
162
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
163
|
+
const callback = (rawResponse, flatResponse) => {
|
|
164
|
+
currentRawResponse = rawResponse;
|
|
165
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
166
|
+
};
|
|
167
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
168
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
169
|
+
return {
|
|
170
|
+
flatResponse,
|
|
171
|
+
rawResponse: {
|
|
172
|
+
statusCode: currentRawResponse.status,
|
|
173
|
+
body: currentRawResponse.parsedBody,
|
|
174
|
+
headers: currentRawResponse.headers.toJSON()
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
});
|
|
178
|
+
const lro = new LroImpl(sendOperation, {
|
|
179
|
+
resourceGroupName,
|
|
180
|
+
privateCloudName,
|
|
181
|
+
clusterName,
|
|
182
|
+
clusterUpdate,
|
|
183
|
+
options
|
|
184
|
+
}, updateOperationSpec);
|
|
185
|
+
return new LroEngine(lro, {
|
|
186
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
187
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Update a cluster in a private cloud
|
|
193
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
194
|
+
* @param privateCloudName Name of the private cloud
|
|
195
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
196
|
+
* @param clusterUpdate The cluster properties to be updated
|
|
197
|
+
* @param options The options parameters.
|
|
198
|
+
*/
|
|
199
|
+
beginUpdateAndWait(resourceGroupName, privateCloudName, clusterName, clusterUpdate, options) {
|
|
200
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
201
|
+
const poller = yield this.beginUpdate(resourceGroupName, privateCloudName, clusterName, clusterUpdate, options);
|
|
202
|
+
return poller.pollUntilDone();
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Delete a cluster in a private cloud
|
|
207
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
208
|
+
* @param privateCloudName Name of the private cloud
|
|
209
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
beginDelete(resourceGroupName, privateCloudName, clusterName, options) {
|
|
213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
215
|
+
return this.client.sendOperationRequest(args, spec);
|
|
216
|
+
});
|
|
217
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
218
|
+
var _a;
|
|
219
|
+
let currentRawResponse = undefined;
|
|
220
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
221
|
+
const callback = (rawResponse, flatResponse) => {
|
|
222
|
+
currentRawResponse = rawResponse;
|
|
223
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
224
|
+
};
|
|
225
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
226
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
227
|
+
return {
|
|
228
|
+
flatResponse,
|
|
229
|
+
rawResponse: {
|
|
230
|
+
statusCode: currentRawResponse.status,
|
|
231
|
+
body: currentRawResponse.parsedBody,
|
|
232
|
+
headers: currentRawResponse.headers.toJSON()
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
});
|
|
236
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, privateCloudName, clusterName, options }, deleteOperationSpec);
|
|
237
|
+
return new LroEngine(lro, {
|
|
238
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
239
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Delete a cluster in a private cloud
|
|
245
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
246
|
+
* @param privateCloudName Name of the private cloud
|
|
247
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
248
|
+
* @param options The options parameters.
|
|
249
|
+
*/
|
|
250
|
+
beginDeleteAndWait(resourceGroupName, privateCloudName, clusterName, options) {
|
|
251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
+
const poller = yield this.beginDelete(resourceGroupName, privateCloudName, clusterName, options);
|
|
253
|
+
return poller.pollUntilDone();
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* ListNext
|
|
258
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
259
|
+
* @param privateCloudName Name of the private cloud
|
|
260
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
261
|
+
* @param options The options parameters.
|
|
262
|
+
*/
|
|
263
|
+
_listNext(resourceGroupName, privateCloudName, nextLink, options) {
|
|
264
|
+
return this.client.sendOperationRequest({ resourceGroupName, privateCloudName, nextLink, options }, listNextOperationSpec);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
// Operation Specifications
|
|
268
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
269
|
+
const listOperationSpec = {
|
|
270
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters",
|
|
271
|
+
httpMethod: "GET",
|
|
272
|
+
responses: {
|
|
273
|
+
200: {
|
|
274
|
+
bodyMapper: Mappers.ClusterList
|
|
275
|
+
},
|
|
276
|
+
default: {
|
|
277
|
+
bodyMapper: Mappers.CloudError
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
queryParameters: [Parameters.apiVersion],
|
|
281
|
+
urlParameters: [
|
|
282
|
+
Parameters.$host,
|
|
283
|
+
Parameters.subscriptionId,
|
|
284
|
+
Parameters.resourceGroupName,
|
|
285
|
+
Parameters.privateCloudName
|
|
286
|
+
],
|
|
287
|
+
headerParameters: [Parameters.accept],
|
|
288
|
+
serializer
|
|
289
|
+
};
|
|
290
|
+
const getOperationSpec = {
|
|
291
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
|
|
292
|
+
httpMethod: "GET",
|
|
293
|
+
responses: {
|
|
294
|
+
200: {
|
|
295
|
+
bodyMapper: Mappers.Cluster
|
|
296
|
+
},
|
|
297
|
+
default: {
|
|
298
|
+
bodyMapper: Mappers.CloudError
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
queryParameters: [Parameters.apiVersion],
|
|
302
|
+
urlParameters: [
|
|
303
|
+
Parameters.$host,
|
|
304
|
+
Parameters.subscriptionId,
|
|
305
|
+
Parameters.resourceGroupName,
|
|
306
|
+
Parameters.privateCloudName,
|
|
307
|
+
Parameters.clusterName
|
|
308
|
+
],
|
|
309
|
+
headerParameters: [Parameters.accept],
|
|
310
|
+
serializer
|
|
311
|
+
};
|
|
312
|
+
const createOrUpdateOperationSpec = {
|
|
313
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
|
|
314
|
+
httpMethod: "PUT",
|
|
315
|
+
responses: {
|
|
316
|
+
200: {
|
|
317
|
+
bodyMapper: Mappers.Cluster
|
|
318
|
+
},
|
|
319
|
+
201: {
|
|
320
|
+
bodyMapper: Mappers.Cluster
|
|
321
|
+
},
|
|
322
|
+
202: {
|
|
323
|
+
bodyMapper: Mappers.Cluster
|
|
324
|
+
},
|
|
325
|
+
204: {
|
|
326
|
+
bodyMapper: Mappers.Cluster
|
|
327
|
+
},
|
|
328
|
+
default: {
|
|
329
|
+
bodyMapper: Mappers.CloudError
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
requestBody: Parameters.cluster,
|
|
333
|
+
queryParameters: [Parameters.apiVersion],
|
|
334
|
+
urlParameters: [
|
|
335
|
+
Parameters.$host,
|
|
336
|
+
Parameters.subscriptionId,
|
|
337
|
+
Parameters.resourceGroupName,
|
|
338
|
+
Parameters.privateCloudName,
|
|
339
|
+
Parameters.clusterName
|
|
340
|
+
],
|
|
341
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
342
|
+
mediaType: "json",
|
|
343
|
+
serializer
|
|
344
|
+
};
|
|
345
|
+
const updateOperationSpec = {
|
|
346
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
|
|
347
|
+
httpMethod: "PATCH",
|
|
348
|
+
responses: {
|
|
349
|
+
200: {
|
|
350
|
+
bodyMapper: Mappers.Cluster
|
|
351
|
+
},
|
|
352
|
+
201: {
|
|
353
|
+
bodyMapper: Mappers.Cluster
|
|
354
|
+
},
|
|
355
|
+
202: {
|
|
356
|
+
bodyMapper: Mappers.Cluster
|
|
357
|
+
},
|
|
358
|
+
204: {
|
|
359
|
+
bodyMapper: Mappers.Cluster
|
|
360
|
+
},
|
|
361
|
+
default: {
|
|
362
|
+
bodyMapper: Mappers.CloudError
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
requestBody: Parameters.clusterUpdate,
|
|
366
|
+
queryParameters: [Parameters.apiVersion],
|
|
367
|
+
urlParameters: [
|
|
368
|
+
Parameters.$host,
|
|
369
|
+
Parameters.subscriptionId,
|
|
370
|
+
Parameters.resourceGroupName,
|
|
371
|
+
Parameters.privateCloudName,
|
|
372
|
+
Parameters.clusterName
|
|
373
|
+
],
|
|
374
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
375
|
+
mediaType: "json",
|
|
376
|
+
serializer
|
|
377
|
+
};
|
|
378
|
+
const deleteOperationSpec = {
|
|
379
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}",
|
|
380
|
+
httpMethod: "DELETE",
|
|
381
|
+
responses: {
|
|
382
|
+
200: {},
|
|
383
|
+
201: {},
|
|
384
|
+
202: {},
|
|
385
|
+
204: {},
|
|
386
|
+
default: {
|
|
387
|
+
bodyMapper: Mappers.CloudError
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
queryParameters: [Parameters.apiVersion],
|
|
391
|
+
urlParameters: [
|
|
392
|
+
Parameters.$host,
|
|
393
|
+
Parameters.subscriptionId,
|
|
394
|
+
Parameters.resourceGroupName,
|
|
395
|
+
Parameters.privateCloudName,
|
|
396
|
+
Parameters.clusterName
|
|
397
|
+
],
|
|
398
|
+
headerParameters: [Parameters.accept],
|
|
399
|
+
serializer
|
|
400
|
+
};
|
|
401
|
+
const listNextOperationSpec = {
|
|
402
|
+
path: "{nextLink}",
|
|
403
|
+
httpMethod: "GET",
|
|
404
|
+
responses: {
|
|
405
|
+
200: {
|
|
406
|
+
bodyMapper: Mappers.ClusterList
|
|
407
|
+
},
|
|
408
|
+
default: {
|
|
409
|
+
bodyMapper: Mappers.CloudError
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
queryParameters: [Parameters.apiVersion],
|
|
413
|
+
urlParameters: [
|
|
414
|
+
Parameters.$host,
|
|
415
|
+
Parameters.nextLink,
|
|
416
|
+
Parameters.subscriptionId,
|
|
417
|
+
Parameters.resourceGroupName,
|
|
418
|
+
Parameters.privateCloudName
|
|
419
|
+
],
|
|
420
|
+
headerParameters: [Parameters.accept],
|
|
421
|
+
serializer
|
|
422
|
+
};
|
|
423
|
+
//# sourceMappingURL=clusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../src/operations/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAiBrC,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,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AAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Datastores } from "../operationsInterfaces";
|
|
3
|
+
import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { Datastore, DatastoresListOptionalParams, DatastoresGetOptionalParams, DatastoresGetResponse, DatastoresCreateOrUpdateOptionalParams, DatastoresCreateOrUpdateResponse, DatastoresDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing Datastores operations. */
|
|
7
|
+
export declare class DatastoresImpl implements Datastores {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Datastores class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureVMwareSolutionAPI);
|
|
14
|
+
/**
|
|
15
|
+
* List datastores in a private cloud cluster
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param privateCloudName Name of the private cloud
|
|
18
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, privateCloudName: string, clusterName: string, options?: DatastoresListOptionalParams): PagedAsyncIterableIterator<Datastore>;
|
|
22
|
+
private listPagingPage;
|
|
23
|
+
private listPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* List datastores in a private cloud cluster
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param privateCloudName Name of the private cloud
|
|
28
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
private _list;
|
|
32
|
+
/**
|
|
33
|
+
* Get a datastore in a private cloud cluster
|
|
34
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
35
|
+
* @param privateCloudName Name of the private cloud
|
|
36
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
37
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresGetOptionalParams): Promise<DatastoresGetResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Create or update a datastore in a private cloud cluster
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param privateCloudName Name of the private cloud
|
|
45
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
46
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
47
|
+
* @param datastore A datastore in a private cloud cluster
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Datastore, options?: DatastoresCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatastoresCreateOrUpdateResponse>, DatastoresCreateOrUpdateResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* Create or update a datastore in a private cloud cluster
|
|
53
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
+
* @param privateCloudName Name of the private cloud
|
|
55
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
56
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
57
|
+
* @param datastore A datastore in a private cloud cluster
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Datastore, options?: DatastoresCreateOrUpdateOptionalParams): Promise<DatastoresCreateOrUpdateResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Delete a datastore in a private cloud cluster
|
|
63
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
64
|
+
* @param privateCloudName Name of the private cloud
|
|
65
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
66
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginDelete(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
70
|
+
/**
|
|
71
|
+
* Delete a datastore in a private cloud cluster
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param privateCloudName Name of the private cloud
|
|
74
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
75
|
+
* @param datastoreName Name of the datastore in the private cloud cluster
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginDeleteAndWait(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: DatastoresDeleteOptionalParams): Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* ListNext
|
|
81
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
82
|
+
* @param privateCloudName Name of the private cloud
|
|
83
|
+
* @param clusterName Name of the cluster in the private cloud
|
|
84
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
85
|
+
* @param options The options parameters.
|
|
86
|
+
*/
|
|
87
|
+
private _listNext;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=datastores.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datastores.d.ts","sourceRoot":"","sources":["../../../src/operations/datastores.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,SAAS,EAET,4BAA4B,EAE5B,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAE/B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,EACnB,OAAO,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