@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,213 +3,216 @@
|
|
|
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 { HcxEnterpriseSites } 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
|
+
HcxEnterpriseSite,
|
|
17
|
+
HcxEnterpriseSitesListNextOptionalParams,
|
|
18
|
+
HcxEnterpriseSitesListOptionalParams,
|
|
19
|
+
HcxEnterpriseSitesListResponse,
|
|
20
|
+
HcxEnterpriseSitesGetOptionalParams,
|
|
21
|
+
HcxEnterpriseSitesGetResponse,
|
|
22
|
+
HcxEnterpriseSitesCreateOrUpdateOptionalParams,
|
|
23
|
+
HcxEnterpriseSitesCreateOrUpdateResponse,
|
|
24
|
+
HcxEnterpriseSitesDeleteOptionalParams,
|
|
25
|
+
HcxEnterpriseSitesListNextResponse
|
|
26
|
+
} from "../models";
|
|
15
27
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
/// <reference lib="esnext.asynciterable" />
|
|
29
|
+
/** Class containing HcxEnterpriseSites operations. */
|
|
30
|
+
export class HcxEnterpriseSitesImpl implements HcxEnterpriseSites {
|
|
31
|
+
private readonly client: AzureVMwareSolutionAPI;
|
|
19
32
|
|
|
20
33
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
34
|
+
* Initialize a new instance of the class HcxEnterpriseSites class.
|
|
35
|
+
* @param client Reference to the service client
|
|
23
36
|
*/
|
|
24
|
-
constructor(client:
|
|
37
|
+
constructor(client: AzureVMwareSolutionAPI) {
|
|
25
38
|
this.client = client;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
/**
|
|
29
|
-
*
|
|
42
|
+
* List HCX Enterprise Sites in a private cloud
|
|
30
43
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
44
|
* @param privateCloudName Name of the private cloud
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.HcxEnterpriseSitesListResponse>
|
|
45
|
+
* @param options The options parameters.
|
|
34
46
|
*/
|
|
35
|
-
list(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
public list(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
privateCloudName: string,
|
|
50
|
+
options?: HcxEnterpriseSitesListOptionalParams
|
|
51
|
+
): PagedAsyncIterableIterator<HcxEnterpriseSite> {
|
|
52
|
+
const iter = this.listPagingAll(
|
|
53
|
+
resourceGroupName,
|
|
54
|
+
privateCloudName,
|
|
55
|
+
options
|
|
56
|
+
);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listPagingPage(
|
|
66
|
+
resourceGroupName,
|
|
67
|
+
privateCloudName,
|
|
68
|
+
options
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private async *listPagingPage(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
privateCloudName: string,
|
|
77
|
+
options?: HcxEnterpriseSitesListOptionalParams
|
|
78
|
+
): AsyncIterableIterator<HcxEnterpriseSite[]> {
|
|
79
|
+
let result = await this._list(resourceGroupName, privateCloudName, options);
|
|
80
|
+
yield result.value || [];
|
|
81
|
+
let continuationToken = result.nextLink;
|
|
82
|
+
while (continuationToken) {
|
|
83
|
+
result = await this._listNext(
|
|
52
84
|
resourceGroupName,
|
|
53
85
|
privateCloudName,
|
|
86
|
+
continuationToken,
|
|
54
87
|
options
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
88
|
+
);
|
|
89
|
+
continuationToken = result.nextLink;
|
|
90
|
+
yield result.value || [];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private async *listPagingAll(
|
|
95
|
+
resourceGroupName: string,
|
|
96
|
+
privateCloudName: string,
|
|
97
|
+
options?: HcxEnterpriseSitesListOptionalParams
|
|
98
|
+
): AsyncIterableIterator<HcxEnterpriseSite> {
|
|
99
|
+
for await (const page of this.listPagingPage(
|
|
100
|
+
resourceGroupName,
|
|
101
|
+
privateCloudName,
|
|
102
|
+
options
|
|
103
|
+
)) {
|
|
104
|
+
yield* page;
|
|
105
|
+
}
|
|
58
106
|
}
|
|
59
107
|
|
|
60
108
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
|
-
* @param privateCloudName Name of the private cloud
|
|
64
|
-
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
65
|
-
* @param [options] The optional parameters
|
|
66
|
-
* @returns Promise<Models.HcxEnterpriseSitesGetResponse>
|
|
67
|
-
*/
|
|
68
|
-
get(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options?: msRest.RequestOptionsBase): Promise<Models.HcxEnterpriseSitesGetResponse>;
|
|
69
|
-
/**
|
|
109
|
+
* List HCX Enterprise Sites in a private cloud
|
|
70
110
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
111
|
* @param privateCloudName Name of the private cloud
|
|
72
|
-
* @param
|
|
73
|
-
* @param callback The callback
|
|
112
|
+
* @param options The options parameters.
|
|
74
113
|
*/
|
|
75
|
-
|
|
114
|
+
private _list(
|
|
115
|
+
resourceGroupName: string,
|
|
116
|
+
privateCloudName: string,
|
|
117
|
+
options?: HcxEnterpriseSitesListOptionalParams
|
|
118
|
+
): Promise<HcxEnterpriseSitesListResponse> {
|
|
119
|
+
return this.client.sendOperationRequest(
|
|
120
|
+
{ resourceGroupName, privateCloudName, options },
|
|
121
|
+
listOperationSpec
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
76
125
|
/**
|
|
126
|
+
* Get an HCX Enterprise Site by name in a private cloud
|
|
77
127
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
128
|
* @param privateCloudName Name of the private cloud
|
|
79
129
|
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
80
|
-
* @param options The
|
|
81
|
-
* @param callback The callback
|
|
130
|
+
* @param options The options parameters.
|
|
82
131
|
*/
|
|
83
|
-
get(
|
|
84
|
-
|
|
132
|
+
get(
|
|
133
|
+
resourceGroupName: string,
|
|
134
|
+
privateCloudName: string,
|
|
135
|
+
hcxEnterpriseSiteName: string,
|
|
136
|
+
options?: HcxEnterpriseSitesGetOptionalParams
|
|
137
|
+
): Promise<HcxEnterpriseSitesGetResponse> {
|
|
85
138
|
return this.client.sendOperationRequest(
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
hcxEnterpriseSiteName,
|
|
90
|
-
options
|
|
91
|
-
},
|
|
92
|
-
getOperationSpec,
|
|
93
|
-
callback) as Promise<Models.HcxEnterpriseSitesGetResponse>;
|
|
139
|
+
{ resourceGroupName, privateCloudName, hcxEnterpriseSiteName, options },
|
|
140
|
+
getOperationSpec
|
|
141
|
+
);
|
|
94
142
|
}
|
|
95
143
|
|
|
96
144
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
-
* @param privateCloudName The name of the private cloud.
|
|
100
|
-
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
101
|
-
* @param [options] The optional parameters
|
|
102
|
-
* @returns Promise<Models.HcxEnterpriseSitesCreateOrUpdateResponse>
|
|
103
|
-
*/
|
|
104
|
-
createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options?: msRest.RequestOptionsBase): Promise<Models.HcxEnterpriseSitesCreateOrUpdateResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
107
|
-
* @param privateCloudName The name of the private cloud.
|
|
108
|
-
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
109
|
-
* @param callback The callback
|
|
110
|
-
*/
|
|
111
|
-
createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, callback: msRest.ServiceCallback<Models.HcxEnterpriseSite>): void;
|
|
112
|
-
/**
|
|
145
|
+
* Create or update an HCX Enterprise Site in a private cloud
|
|
113
146
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
147
|
* @param privateCloudName The name of the private cloud.
|
|
115
148
|
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
116
|
-
* @param
|
|
117
|
-
* @param
|
|
149
|
+
* @param hcxEnterpriseSite The HCX Enterprise Site
|
|
150
|
+
* @param options The options parameters.
|
|
118
151
|
*/
|
|
119
|
-
createOrUpdate(
|
|
120
|
-
|
|
152
|
+
createOrUpdate(
|
|
153
|
+
resourceGroupName: string,
|
|
154
|
+
privateCloudName: string,
|
|
155
|
+
hcxEnterpriseSiteName: string,
|
|
156
|
+
hcxEnterpriseSite: HcxEnterpriseSite,
|
|
157
|
+
options?: HcxEnterpriseSitesCreateOrUpdateOptionalParams
|
|
158
|
+
): Promise<HcxEnterpriseSitesCreateOrUpdateResponse> {
|
|
121
159
|
return this.client.sendOperationRequest(
|
|
122
160
|
{
|
|
123
161
|
resourceGroupName,
|
|
124
162
|
privateCloudName,
|
|
125
163
|
hcxEnterpriseSiteName,
|
|
164
|
+
hcxEnterpriseSite,
|
|
126
165
|
options
|
|
127
166
|
},
|
|
128
|
-
createOrUpdateOperationSpec
|
|
129
|
-
|
|
167
|
+
createOrUpdateOperationSpec
|
|
168
|
+
);
|
|
130
169
|
}
|
|
131
170
|
|
|
132
171
|
/**
|
|
133
|
-
*
|
|
134
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
135
|
-
* @param privateCloudName Name of the private cloud
|
|
136
|
-
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
137
|
-
* @param [options] The optional parameters
|
|
138
|
-
* @returns Promise<msRest.RestResponse>
|
|
139
|
-
*/
|
|
140
|
-
deleteMethod(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
141
|
-
/**
|
|
142
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
|
-
* @param privateCloudName Name of the private cloud
|
|
144
|
-
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
145
|
-
* @param callback The callback
|
|
146
|
-
*/
|
|
147
|
-
deleteMethod(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, callback: msRest.ServiceCallback<void>): void;
|
|
148
|
-
/**
|
|
172
|
+
* Delete an HCX Enterprise Site in a private cloud
|
|
149
173
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
150
174
|
* @param privateCloudName Name of the private cloud
|
|
151
175
|
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud
|
|
152
|
-
* @param options The
|
|
153
|
-
* @param callback The callback
|
|
176
|
+
* @param options The options parameters.
|
|
154
177
|
*/
|
|
155
|
-
|
|
156
|
-
|
|
178
|
+
delete(
|
|
179
|
+
resourceGroupName: string,
|
|
180
|
+
privateCloudName: string,
|
|
181
|
+
hcxEnterpriseSiteName: string,
|
|
182
|
+
options?: HcxEnterpriseSitesDeleteOptionalParams
|
|
183
|
+
): Promise<void> {
|
|
157
184
|
return this.client.sendOperationRequest(
|
|
158
|
-
{
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
hcxEnterpriseSiteName,
|
|
162
|
-
options
|
|
163
|
-
},
|
|
164
|
-
deleteMethodOperationSpec,
|
|
165
|
-
callback);
|
|
185
|
+
{ resourceGroupName, privateCloudName, hcxEnterpriseSiteName, options },
|
|
186
|
+
deleteOperationSpec
|
|
187
|
+
);
|
|
166
188
|
}
|
|
167
189
|
|
|
168
190
|
/**
|
|
169
|
-
*
|
|
170
|
-
* @param
|
|
171
|
-
* @param
|
|
172
|
-
* @
|
|
173
|
-
|
|
174
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HcxEnterpriseSitesListNextResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
177
|
-
* @param callback The callback
|
|
178
|
-
*/
|
|
179
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.HcxEnterpriseSiteList>): void;
|
|
180
|
-
/**
|
|
181
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
182
|
-
* @param options The optional parameters
|
|
183
|
-
* @param callback The callback
|
|
191
|
+
* ListNext
|
|
192
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
193
|
+
* @param privateCloudName Name of the private cloud
|
|
194
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
195
|
+
* @param options The options parameters.
|
|
184
196
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
private _listNext(
|
|
198
|
+
resourceGroupName: string,
|
|
199
|
+
privateCloudName: string,
|
|
200
|
+
nextLink: string,
|
|
201
|
+
options?: HcxEnterpriseSitesListNextOptionalParams
|
|
202
|
+
): Promise<HcxEnterpriseSitesListNextResponse> {
|
|
187
203
|
return this.client.sendOperationRequest(
|
|
188
|
-
{
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
},
|
|
192
|
-
listNextOperationSpec,
|
|
193
|
-
callback) as Promise<Models.HcxEnterpriseSitesListNextResponse>;
|
|
204
|
+
{ resourceGroupName, privateCloudName, nextLink, options },
|
|
205
|
+
listNextOperationSpec
|
|
206
|
+
);
|
|
194
207
|
}
|
|
195
208
|
}
|
|
196
|
-
|
|
197
209
|
// Operation Specifications
|
|
198
|
-
const serializer =
|
|
199
|
-
|
|
210
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
211
|
+
|
|
212
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
213
|
+
path:
|
|
214
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites",
|
|
200
215
|
httpMethod: "GET",
|
|
201
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites",
|
|
202
|
-
urlParameters: [
|
|
203
|
-
Parameters.subscriptionId,
|
|
204
|
-
Parameters.resourceGroupName,
|
|
205
|
-
Parameters.privateCloudName
|
|
206
|
-
],
|
|
207
|
-
queryParameters: [
|
|
208
|
-
Parameters.apiVersion
|
|
209
|
-
],
|
|
210
|
-
headerParameters: [
|
|
211
|
-
Parameters.acceptLanguage
|
|
212
|
-
],
|
|
213
216
|
responses: {
|
|
214
217
|
200: {
|
|
215
218
|
bodyMapper: Mappers.HcxEnterpriseSiteList
|
|
@@ -218,24 +221,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
218
221
|
bodyMapper: Mappers.CloudError
|
|
219
222
|
}
|
|
220
223
|
},
|
|
221
|
-
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
225
|
-
httpMethod: "GET",
|
|
226
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
224
|
+
queryParameters: [Parameters.apiVersion],
|
|
227
225
|
urlParameters: [
|
|
226
|
+
Parameters.$host,
|
|
228
227
|
Parameters.subscriptionId,
|
|
229
228
|
Parameters.resourceGroupName,
|
|
230
|
-
Parameters.privateCloudName
|
|
231
|
-
Parameters.hcxEnterpriseSiteName
|
|
232
|
-
],
|
|
233
|
-
queryParameters: [
|
|
234
|
-
Parameters.apiVersion
|
|
235
|
-
],
|
|
236
|
-
headerParameters: [
|
|
237
|
-
Parameters.acceptLanguage
|
|
229
|
+
Parameters.privateCloudName
|
|
238
230
|
],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
235
|
+
path:
|
|
236
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
237
|
+
httpMethod: "GET",
|
|
239
238
|
responses: {
|
|
240
239
|
200: {
|
|
241
240
|
bodyMapper: Mappers.HcxEnterpriseSite
|
|
@@ -244,31 +243,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
244
243
|
bodyMapper: Mappers.CloudError
|
|
245
244
|
}
|
|
246
245
|
},
|
|
247
|
-
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
251
|
-
httpMethod: "PUT",
|
|
252
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
246
|
+
queryParameters: [Parameters.apiVersion],
|
|
253
247
|
urlParameters: [
|
|
248
|
+
Parameters.$host,
|
|
254
249
|
Parameters.subscriptionId,
|
|
255
250
|
Parameters.resourceGroupName,
|
|
256
251
|
Parameters.privateCloudName,
|
|
257
252
|
Parameters.hcxEnterpriseSiteName
|
|
258
253
|
],
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
parameterPath: "hcxEnterpriseSite",
|
|
267
|
-
mapper: {
|
|
268
|
-
...Mappers.HcxEnterpriseSite,
|
|
269
|
-
required: true
|
|
270
|
-
}
|
|
271
|
-
},
|
|
254
|
+
headerParameters: [Parameters.accept],
|
|
255
|
+
serializer
|
|
256
|
+
};
|
|
257
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
258
|
+
path:
|
|
259
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
260
|
+
httpMethod: "PUT",
|
|
272
261
|
responses: {
|
|
273
262
|
200: {
|
|
274
263
|
bodyMapper: Mappers.HcxEnterpriseSite
|
|
@@ -280,24 +269,23 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
280
269
|
bodyMapper: Mappers.CloudError
|
|
281
270
|
}
|
|
282
271
|
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
287
|
-
httpMethod: "DELETE",
|
|
288
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
272
|
+
requestBody: Parameters.hcxEnterpriseSite,
|
|
273
|
+
queryParameters: [Parameters.apiVersion],
|
|
289
274
|
urlParameters: [
|
|
275
|
+
Parameters.$host,
|
|
290
276
|
Parameters.subscriptionId,
|
|
291
277
|
Parameters.resourceGroupName,
|
|
292
278
|
Parameters.privateCloudName,
|
|
293
279
|
Parameters.hcxEnterpriseSiteName
|
|
294
280
|
],
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
281
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
282
|
+
mediaType: "json",
|
|
283
|
+
serializer
|
|
284
|
+
};
|
|
285
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
286
|
+
path:
|
|
287
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/hcxEnterpriseSites/{hcxEnterpriseSiteName}",
|
|
288
|
+
httpMethod: "DELETE",
|
|
301
289
|
responses: {
|
|
302
290
|
200: {},
|
|
303
291
|
204: {},
|
|
@@ -305,22 +293,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
|
305
293
|
bodyMapper: Mappers.CloudError
|
|
306
294
|
}
|
|
307
295
|
},
|
|
296
|
+
queryParameters: [Parameters.apiVersion],
|
|
297
|
+
urlParameters: [
|
|
298
|
+
Parameters.$host,
|
|
299
|
+
Parameters.subscriptionId,
|
|
300
|
+
Parameters.resourceGroupName,
|
|
301
|
+
Parameters.privateCloudName,
|
|
302
|
+
Parameters.hcxEnterpriseSiteName
|
|
303
|
+
],
|
|
304
|
+
headerParameters: [Parameters.accept],
|
|
308
305
|
serializer
|
|
309
306
|
};
|
|
310
|
-
|
|
311
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
312
|
-
httpMethod: "GET",
|
|
313
|
-
baseUrl: "https://management.azure.com",
|
|
307
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
314
308
|
path: "{nextLink}",
|
|
315
|
-
|
|
316
|
-
Parameters.nextPageLink
|
|
317
|
-
],
|
|
318
|
-
queryParameters: [
|
|
319
|
-
Parameters.apiVersion
|
|
320
|
-
],
|
|
321
|
-
headerParameters: [
|
|
322
|
-
Parameters.acceptLanguage
|
|
323
|
-
],
|
|
309
|
+
httpMethod: "GET",
|
|
324
310
|
responses: {
|
|
325
311
|
200: {
|
|
326
312
|
bodyMapper: Mappers.HcxEnterpriseSiteList
|
|
@@ -329,5 +315,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
329
315
|
bodyMapper: Mappers.CloudError
|
|
330
316
|
}
|
|
331
317
|
},
|
|
318
|
+
queryParameters: [Parameters.apiVersion],
|
|
319
|
+
urlParameters: [
|
|
320
|
+
Parameters.$host,
|
|
321
|
+
Parameters.nextLink,
|
|
322
|
+
Parameters.subscriptionId,
|
|
323
|
+
Parameters.resourceGroupName,
|
|
324
|
+
Parameters.privateCloudName
|
|
325
|
+
],
|
|
326
|
+
headerParameters: [Parameters.accept],
|
|
332
327
|
serializer
|
|
333
328
|
};
|
package/src/operations/index.ts
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
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
9
|
export * from "./operations";
|