@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
|
@@ -3,100 +3,70 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { Locations } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
14
|
+
import {
|
|
15
|
+
LocationsCheckTrialAvailabilityOptionalParams,
|
|
16
|
+
LocationsCheckTrialAvailabilityResponse,
|
|
17
|
+
LocationsCheckQuotaAvailabilityOptionalParams,
|
|
18
|
+
LocationsCheckQuotaAvailabilityResponse
|
|
19
|
+
} from "../models";
|
|
15
20
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class Locations {
|
|
18
|
-
private readonly client:
|
|
21
|
+
/** Class containing Locations operations. */
|
|
22
|
+
export class LocationsImpl implements Locations {
|
|
23
|
+
private readonly client: AzureVMwareSolutionAPI;
|
|
19
24
|
|
|
20
25
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
26
|
+
* Initialize a new instance of the class Locations class.
|
|
27
|
+
* @param client Reference to the service client
|
|
23
28
|
*/
|
|
24
|
-
constructor(client:
|
|
29
|
+
constructor(client: AzureVMwareSolutionAPI) {
|
|
25
30
|
this.client = client;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
/**
|
|
29
34
|
* Return trial status for subscription by region
|
|
30
35
|
* @param location Azure region
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.LocationsCheckTrialAvailabilityResponse>
|
|
36
|
+
* @param options The options parameters.
|
|
33
37
|
*/
|
|
34
|
-
checkTrialAvailability(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
checkTrialAvailability(location: string, callback: msRest.ServiceCallback<Models.Trial>): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param location Azure region
|
|
42
|
-
* @param options The optional parameters
|
|
43
|
-
* @param callback The callback
|
|
44
|
-
*/
|
|
45
|
-
checkTrialAvailability(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Trial>): void;
|
|
46
|
-
checkTrialAvailability(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Trial>, callback?: msRest.ServiceCallback<Models.Trial>): Promise<Models.LocationsCheckTrialAvailabilityResponse> {
|
|
38
|
+
checkTrialAvailability(
|
|
39
|
+
location: string,
|
|
40
|
+
options?: LocationsCheckTrialAvailabilityOptionalParams
|
|
41
|
+
): Promise<LocationsCheckTrialAvailabilityResponse> {
|
|
47
42
|
return this.client.sendOperationRequest(
|
|
48
|
-
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
checkTrialAvailabilityOperationSpec,
|
|
53
|
-
callback) as Promise<Models.LocationsCheckTrialAvailabilityResponse>;
|
|
43
|
+
{ location, options },
|
|
44
|
+
checkTrialAvailabilityOperationSpec
|
|
45
|
+
);
|
|
54
46
|
}
|
|
55
47
|
|
|
56
48
|
/**
|
|
57
49
|
* Return quota for subscription by region
|
|
58
50
|
* @param location Azure region
|
|
59
|
-
* @param
|
|
60
|
-
* @returns Promise<Models.LocationsCheckQuotaAvailabilityResponse>
|
|
61
|
-
*/
|
|
62
|
-
checkQuotaAvailability(location: string, options?: msRest.RequestOptionsBase): Promise<Models.LocationsCheckQuotaAvailabilityResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* @param location Azure region
|
|
65
|
-
* @param callback The callback
|
|
51
|
+
* @param options The options parameters.
|
|
66
52
|
*/
|
|
67
|
-
checkQuotaAvailability(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* @param callback The callback
|
|
72
|
-
*/
|
|
73
|
-
checkQuotaAvailability(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Quota>): void;
|
|
74
|
-
checkQuotaAvailability(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Quota>, callback?: msRest.ServiceCallback<Models.Quota>): Promise<Models.LocationsCheckQuotaAvailabilityResponse> {
|
|
53
|
+
checkQuotaAvailability(
|
|
54
|
+
location: string,
|
|
55
|
+
options?: LocationsCheckQuotaAvailabilityOptionalParams
|
|
56
|
+
): Promise<LocationsCheckQuotaAvailabilityResponse> {
|
|
75
57
|
return this.client.sendOperationRequest(
|
|
76
|
-
{
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
checkQuotaAvailabilityOperationSpec,
|
|
81
|
-
callback) as Promise<Models.LocationsCheckQuotaAvailabilityResponse>;
|
|
58
|
+
{ location, options },
|
|
59
|
+
checkQuotaAvailabilityOperationSpec
|
|
60
|
+
);
|
|
82
61
|
}
|
|
83
62
|
}
|
|
84
|
-
|
|
85
63
|
// Operation Specifications
|
|
86
|
-
const serializer =
|
|
87
|
-
|
|
64
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
65
|
+
|
|
66
|
+
const checkTrialAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
67
|
+
path:
|
|
68
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability",
|
|
88
69
|
httpMethod: "POST",
|
|
89
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability",
|
|
90
|
-
urlParameters: [
|
|
91
|
-
Parameters.subscriptionId,
|
|
92
|
-
Parameters.location
|
|
93
|
-
],
|
|
94
|
-
queryParameters: [
|
|
95
|
-
Parameters.apiVersion
|
|
96
|
-
],
|
|
97
|
-
headerParameters: [
|
|
98
|
-
Parameters.acceptLanguage
|
|
99
|
-
],
|
|
100
70
|
responses: {
|
|
101
71
|
200: {
|
|
102
72
|
bodyMapper: Mappers.Trial
|
|
@@ -105,22 +75,19 @@ const checkTrialAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
|
105
75
|
bodyMapper: Mappers.CloudError
|
|
106
76
|
}
|
|
107
77
|
},
|
|
108
|
-
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
const checkQuotaAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
112
|
-
httpMethod: "POST",
|
|
113
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability",
|
|
78
|
+
queryParameters: [Parameters.apiVersion],
|
|
114
79
|
urlParameters: [
|
|
80
|
+
Parameters.$host,
|
|
115
81
|
Parameters.subscriptionId,
|
|
116
82
|
Parameters.location
|
|
117
83
|
],
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
84
|
+
headerParameters: [Parameters.accept],
|
|
85
|
+
serializer
|
|
86
|
+
};
|
|
87
|
+
const checkQuotaAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
88
|
+
path:
|
|
89
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkQuotaAvailability",
|
|
90
|
+
httpMethod: "POST",
|
|
124
91
|
responses: {
|
|
125
92
|
200: {
|
|
126
93
|
bodyMapper: Mappers.Quota
|
|
@@ -129,5 +96,12 @@ const checkQuotaAvailabilityOperationSpec: msRest.OperationSpec = {
|
|
|
129
96
|
bodyMapper: Mappers.CloudError
|
|
130
97
|
}
|
|
131
98
|
},
|
|
99
|
+
queryParameters: [Parameters.apiVersion],
|
|
100
|
+
urlParameters: [
|
|
101
|
+
Parameters.$host,
|
|
102
|
+
Parameters.subscriptionId,
|
|
103
|
+
Parameters.location
|
|
104
|
+
],
|
|
105
|
+
headerParameters: [Parameters.accept],
|
|
132
106
|
serializer
|
|
133
107
|
};
|
|
@@ -3,92 +3,109 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
15
|
+
import {
|
|
16
|
+
Operation,
|
|
17
|
+
OperationsListNextOptionalParams,
|
|
18
|
+
OperationsListOptionalParams,
|
|
19
|
+
OperationsListResponse,
|
|
20
|
+
OperationsListNextResponse
|
|
21
|
+
} from "../models";
|
|
15
22
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Class containing Operations operations. */
|
|
25
|
+
export class OperationsImpl implements Operations {
|
|
26
|
+
private readonly client: AzureVMwareSolutionAPI;
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
29
|
+
* Initialize a new instance of the class Operations class.
|
|
30
|
+
* @param client Reference to the service client
|
|
23
31
|
*/
|
|
24
|
-
constructor(client:
|
|
32
|
+
constructor(client: AzureVMwareSolutionAPI) {
|
|
25
33
|
this.client = client;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
/**
|
|
29
37
|
* Lists all of the available operations
|
|
30
|
-
* @param
|
|
31
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
38
|
+
* @param options The options parameters.
|
|
32
39
|
*/
|
|
33
|
-
list(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationList>, callback?: msRest.ServiceCallback<Models.OperationList>): Promise<Models.OperationsListResponse> {
|
|
44
|
-
return this.client.sendOperationRequest(
|
|
45
|
-
{
|
|
46
|
-
options
|
|
40
|
+
public list(
|
|
41
|
+
options?: OperationsListOptionalParams
|
|
42
|
+
): PagedAsyncIterableIterator<Operation> {
|
|
43
|
+
const iter = this.listPagingAll(options);
|
|
44
|
+
return {
|
|
45
|
+
next() {
|
|
46
|
+
return iter.next();
|
|
47
|
+
},
|
|
48
|
+
[Symbol.asyncIterator]() {
|
|
49
|
+
return this;
|
|
47
50
|
},
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
byPage: () => {
|
|
52
|
+
return this.listPagingPage(options);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
private async *listPagingPage(
|
|
58
|
+
options?: OperationsListOptionalParams
|
|
59
|
+
): AsyncIterableIterator<Operation[]> {
|
|
60
|
+
let result = await this._list(options);
|
|
61
|
+
yield result.value || [];
|
|
62
|
+
let continuationToken = result.nextLink;
|
|
63
|
+
while (continuationToken) {
|
|
64
|
+
result = await this._listNext(continuationToken, options);
|
|
65
|
+
continuationToken = result.nextLink;
|
|
66
|
+
yield result.value || [];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async *listPagingAll(
|
|
71
|
+
options?: OperationsListOptionalParams
|
|
72
|
+
): AsyncIterableIterator<Operation> {
|
|
73
|
+
for await (const page of this.listPagingPage(options)) {
|
|
74
|
+
yield* page;
|
|
75
|
+
}
|
|
50
76
|
}
|
|
51
77
|
|
|
52
78
|
/**
|
|
53
79
|
* Lists all of the available operations
|
|
54
|
-
* @param
|
|
55
|
-
* @param [options] The optional parameters
|
|
56
|
-
* @returns Promise<Models.OperationsListNextResponse>
|
|
57
|
-
*/
|
|
58
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
61
|
-
* @param callback The callback
|
|
80
|
+
* @param options The options parameters.
|
|
62
81
|
*/
|
|
63
|
-
|
|
82
|
+
private _list(
|
|
83
|
+
options?: OperationsListOptionalParams
|
|
84
|
+
): Promise<OperationsListResponse> {
|
|
85
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
86
|
+
}
|
|
87
|
+
|
|
64
88
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
* @param
|
|
89
|
+
* ListNext
|
|
90
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
91
|
+
* @param options The options parameters.
|
|
68
92
|
*/
|
|
69
|
-
|
|
70
|
-
|
|
93
|
+
private _listNext(
|
|
94
|
+
nextLink: string,
|
|
95
|
+
options?: OperationsListNextOptionalParams
|
|
96
|
+
): Promise<OperationsListNextResponse> {
|
|
71
97
|
return this.client.sendOperationRequest(
|
|
72
|
-
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
listNextOperationSpec,
|
|
77
|
-
callback) as Promise<Models.OperationsListNextResponse>;
|
|
98
|
+
{ nextLink, options },
|
|
99
|
+
listNextOperationSpec
|
|
100
|
+
);
|
|
78
101
|
}
|
|
79
102
|
}
|
|
80
|
-
|
|
81
103
|
// Operation Specifications
|
|
82
|
-
const serializer =
|
|
83
|
-
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
105
|
+
|
|
106
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
107
|
+
path: "/providers/Microsoft.AVS/operations",
|
|
84
108
|
httpMethod: "GET",
|
|
85
|
-
path: "providers/Microsoft.AVS/operations",
|
|
86
|
-
queryParameters: [
|
|
87
|
-
Parameters.apiVersion
|
|
88
|
-
],
|
|
89
|
-
headerParameters: [
|
|
90
|
-
Parameters.acceptLanguage
|
|
91
|
-
],
|
|
92
109
|
responses: {
|
|
93
110
|
200: {
|
|
94
111
|
bodyMapper: Mappers.OperationList
|
|
@@ -97,22 +114,14 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
97
114
|
bodyMapper: Mappers.CloudError
|
|
98
115
|
}
|
|
99
116
|
},
|
|
117
|
+
queryParameters: [Parameters.apiVersion],
|
|
118
|
+
urlParameters: [Parameters.$host],
|
|
119
|
+
headerParameters: [Parameters.accept],
|
|
100
120
|
serializer
|
|
101
121
|
};
|
|
102
|
-
|
|
103
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
104
|
-
httpMethod: "GET",
|
|
105
|
-
baseUrl: "https://management.azure.com",
|
|
122
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
106
123
|
path: "{nextLink}",
|
|
107
|
-
|
|
108
|
-
Parameters.nextPageLink
|
|
109
|
-
],
|
|
110
|
-
queryParameters: [
|
|
111
|
-
Parameters.apiVersion
|
|
112
|
-
],
|
|
113
|
-
headerParameters: [
|
|
114
|
-
Parameters.acceptLanguage
|
|
115
|
-
],
|
|
124
|
+
httpMethod: "GET",
|
|
116
125
|
responses: {
|
|
117
126
|
200: {
|
|
118
127
|
bodyMapper: Mappers.OperationList
|
|
@@ -121,5 +130,8 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
121
130
|
bodyMapper: Mappers.CloudError
|
|
122
131
|
}
|
|
123
132
|
},
|
|
133
|
+
queryParameters: [Parameters.apiVersion],
|
|
134
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
135
|
+
headerParameters: [Parameters.accept],
|
|
124
136
|
serializer
|
|
125
137
|
};
|