@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,208 +3,358 @@
|
|
|
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
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Authorizations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
ExpressRouteAuthorization,
|
|
19
|
+
AuthorizationsListNextOptionalParams,
|
|
20
|
+
AuthorizationsListOptionalParams,
|
|
21
|
+
AuthorizationsListResponse,
|
|
22
|
+
AuthorizationsGetOptionalParams,
|
|
23
|
+
AuthorizationsGetResponse,
|
|
24
|
+
AuthorizationsCreateOrUpdateOptionalParams,
|
|
25
|
+
AuthorizationsCreateOrUpdateResponse,
|
|
26
|
+
AuthorizationsDeleteOptionalParams,
|
|
27
|
+
AuthorizationsListNextResponse
|
|
28
|
+
} from "../models";
|
|
16
29
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
31
|
+
/** Class containing Authorizations operations. */
|
|
32
|
+
export class AuthorizationsImpl implements Authorizations {
|
|
33
|
+
private readonly client: AzureVMwareSolutionAPI;
|
|
20
34
|
|
|
21
35
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
36
|
+
* Initialize a new instance of the class Authorizations class.
|
|
37
|
+
* @param client Reference to the service client
|
|
24
38
|
*/
|
|
25
|
-
constructor(client:
|
|
39
|
+
constructor(client: AzureVMwareSolutionAPI) {
|
|
26
40
|
this.client = client;
|
|
27
41
|
}
|
|
28
42
|
|
|
29
43
|
/**
|
|
30
|
-
*
|
|
44
|
+
* List ExpressRoute Circuit Authorizations in a private cloud
|
|
31
45
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
46
|
* @param privateCloudName Name of the private cloud
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.AuthorizationsListResponse>
|
|
47
|
+
* @param options The options parameters.
|
|
35
48
|
*/
|
|
36
|
-
list(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
public list(
|
|
50
|
+
resourceGroupName: string,
|
|
51
|
+
privateCloudName: string,
|
|
52
|
+
options?: AuthorizationsListOptionalParams
|
|
53
|
+
): PagedAsyncIterableIterator<ExpressRouteAuthorization> {
|
|
54
|
+
const iter = this.listPagingAll(
|
|
55
|
+
resourceGroupName,
|
|
56
|
+
privateCloudName,
|
|
57
|
+
options
|
|
58
|
+
);
|
|
59
|
+
return {
|
|
60
|
+
next() {
|
|
61
|
+
return iter.next();
|
|
62
|
+
},
|
|
63
|
+
[Symbol.asyncIterator]() {
|
|
64
|
+
return this;
|
|
65
|
+
},
|
|
66
|
+
byPage: () => {
|
|
67
|
+
return this.listPagingPage(
|
|
68
|
+
resourceGroupName,
|
|
69
|
+
privateCloudName,
|
|
70
|
+
options
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
private async *listPagingPage(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
privateCloudName: string,
|
|
79
|
+
options?: AuthorizationsListOptionalParams
|
|
80
|
+
): AsyncIterableIterator<ExpressRouteAuthorization[]> {
|
|
81
|
+
let result = await this._list(resourceGroupName, privateCloudName, options);
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
let continuationToken = result.nextLink;
|
|
84
|
+
while (continuationToken) {
|
|
85
|
+
result = await this._listNext(
|
|
53
86
|
resourceGroupName,
|
|
54
87
|
privateCloudName,
|
|
88
|
+
continuationToken,
|
|
55
89
|
options
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
90
|
+
);
|
|
91
|
+
continuationToken = result.nextLink;
|
|
92
|
+
yield result.value || [];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
private async *listPagingAll(
|
|
97
|
+
resourceGroupName: string,
|
|
98
|
+
privateCloudName: string,
|
|
99
|
+
options?: AuthorizationsListOptionalParams
|
|
100
|
+
): AsyncIterableIterator<ExpressRouteAuthorization> {
|
|
101
|
+
for await (const page of this.listPagingPage(
|
|
102
|
+
resourceGroupName,
|
|
103
|
+
privateCloudName,
|
|
104
|
+
options
|
|
105
|
+
)) {
|
|
106
|
+
yield* page;
|
|
107
|
+
}
|
|
59
108
|
}
|
|
60
109
|
|
|
61
110
|
/**
|
|
62
|
-
*
|
|
111
|
+
* List ExpressRoute Circuit Authorizations in a private cloud
|
|
63
112
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
64
113
|
* @param privateCloudName Name of the private cloud
|
|
65
|
-
* @param
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<Models.AuthorizationsGetResponse>
|
|
114
|
+
* @param options The options parameters.
|
|
68
115
|
*/
|
|
69
|
-
|
|
116
|
+
private _list(
|
|
117
|
+
resourceGroupName: string,
|
|
118
|
+
privateCloudName: string,
|
|
119
|
+
options?: AuthorizationsListOptionalParams
|
|
120
|
+
): Promise<AuthorizationsListResponse> {
|
|
121
|
+
return this.client.sendOperationRequest(
|
|
122
|
+
{ resourceGroupName, privateCloudName, options },
|
|
123
|
+
listOperationSpec
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
70
127
|
/**
|
|
128
|
+
* Get an ExpressRoute Circuit Authorization by name in a private cloud
|
|
71
129
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
130
|
* @param privateCloudName Name of the private cloud
|
|
73
131
|
* @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
|
|
74
|
-
* @param
|
|
132
|
+
* @param options The options parameters.
|
|
75
133
|
*/
|
|
76
|
-
get(
|
|
134
|
+
get(
|
|
135
|
+
resourceGroupName: string,
|
|
136
|
+
privateCloudName: string,
|
|
137
|
+
authorizationName: string,
|
|
138
|
+
options?: AuthorizationsGetOptionalParams
|
|
139
|
+
): Promise<AuthorizationsGetResponse> {
|
|
140
|
+
return this.client.sendOperationRequest(
|
|
141
|
+
{ resourceGroupName, privateCloudName, authorizationName, options },
|
|
142
|
+
getOperationSpec
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
77
146
|
/**
|
|
147
|
+
* Create or update an ExpressRoute Circuit Authorization in a private cloud
|
|
78
148
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
79
|
-
* @param privateCloudName
|
|
149
|
+
* @param privateCloudName The name of the private cloud.
|
|
80
150
|
* @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
|
|
81
|
-
* @param
|
|
82
|
-
* @param
|
|
151
|
+
* @param authorization An ExpressRoute Circuit Authorization
|
|
152
|
+
* @param options The options parameters.
|
|
83
153
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
154
|
+
async beginCreateOrUpdate(
|
|
155
|
+
resourceGroupName: string,
|
|
156
|
+
privateCloudName: string,
|
|
157
|
+
authorizationName: string,
|
|
158
|
+
authorization: ExpressRouteAuthorization,
|
|
159
|
+
options?: AuthorizationsCreateOrUpdateOptionalParams
|
|
160
|
+
): Promise<
|
|
161
|
+
PollerLike<
|
|
162
|
+
PollOperationState<AuthorizationsCreateOrUpdateResponse>,
|
|
163
|
+
AuthorizationsCreateOrUpdateResponse
|
|
164
|
+
>
|
|
165
|
+
> {
|
|
166
|
+
const directSendOperation = async (
|
|
167
|
+
args: coreClient.OperationArguments,
|
|
168
|
+
spec: coreClient.OperationSpec
|
|
169
|
+
): Promise<AuthorizationsCreateOrUpdateResponse> => {
|
|
170
|
+
return this.client.sendOperationRequest(args, spec);
|
|
171
|
+
};
|
|
172
|
+
const sendOperation = async (
|
|
173
|
+
args: coreClient.OperationArguments,
|
|
174
|
+
spec: coreClient.OperationSpec
|
|
175
|
+
) => {
|
|
176
|
+
let currentRawResponse:
|
|
177
|
+
| coreClient.FullOperationResponse
|
|
178
|
+
| undefined = undefined;
|
|
179
|
+
const providedCallback = args.options?.onResponse;
|
|
180
|
+
const callback: coreClient.RawResponseCallback = (
|
|
181
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
182
|
+
flatResponse: unknown
|
|
183
|
+
) => {
|
|
184
|
+
currentRawResponse = rawResponse;
|
|
185
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
186
|
+
};
|
|
187
|
+
const updatedArgs = {
|
|
188
|
+
...args,
|
|
189
|
+
options: {
|
|
190
|
+
...args.options,
|
|
191
|
+
onResponse: callback
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
195
|
+
return {
|
|
196
|
+
flatResponse,
|
|
197
|
+
rawResponse: {
|
|
198
|
+
statusCode: currentRawResponse!.status,
|
|
199
|
+
body: currentRawResponse!.parsedBody,
|
|
200
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
const lro = new LroImpl(
|
|
206
|
+
sendOperation,
|
|
87
207
|
{
|
|
88
208
|
resourceGroupName,
|
|
89
209
|
privateCloudName,
|
|
90
210
|
authorizationName,
|
|
211
|
+
authorization,
|
|
91
212
|
options
|
|
92
213
|
},
|
|
93
|
-
|
|
94
|
-
|
|
214
|
+
createOrUpdateOperationSpec
|
|
215
|
+
);
|
|
216
|
+
return new LroEngine(lro, {
|
|
217
|
+
resumeFrom: options?.resumeFrom,
|
|
218
|
+
intervalInMs: options?.updateIntervalInMs
|
|
219
|
+
});
|
|
95
220
|
}
|
|
96
221
|
|
|
97
222
|
/**
|
|
98
|
-
*
|
|
223
|
+
* Create or update an ExpressRoute Circuit Authorization in a private cloud
|
|
99
224
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
225
|
* @param privateCloudName The name of the private cloud.
|
|
101
226
|
* @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
|
|
102
|
-
* @param
|
|
103
|
-
* @
|
|
227
|
+
* @param authorization An ExpressRoute Circuit Authorization
|
|
228
|
+
* @param options The options parameters.
|
|
104
229
|
*/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
230
|
+
async beginCreateOrUpdateAndWait(
|
|
231
|
+
resourceGroupName: string,
|
|
232
|
+
privateCloudName: string,
|
|
233
|
+
authorizationName: string,
|
|
234
|
+
authorization: ExpressRouteAuthorization,
|
|
235
|
+
options?: AuthorizationsCreateOrUpdateOptionalParams
|
|
236
|
+
): Promise<AuthorizationsCreateOrUpdateResponse> {
|
|
237
|
+
const poller = await this.beginCreateOrUpdate(
|
|
238
|
+
resourceGroupName,
|
|
239
|
+
privateCloudName,
|
|
240
|
+
authorizationName,
|
|
241
|
+
authorization,
|
|
242
|
+
options
|
|
243
|
+
);
|
|
244
|
+
return poller.pollUntilDone();
|
|
108
245
|
}
|
|
109
246
|
|
|
110
247
|
/**
|
|
111
|
-
*
|
|
248
|
+
* Delete an ExpressRoute Circuit Authorization in a private cloud
|
|
112
249
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
250
|
* @param privateCloudName Name of the private cloud
|
|
114
251
|
* @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
|
|
115
|
-
* @param
|
|
116
|
-
* @returns Promise<msRest.RestResponse>
|
|
252
|
+
* @param options The options parameters.
|
|
117
253
|
*/
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
254
|
+
async beginDelete(
|
|
255
|
+
resourceGroupName: string,
|
|
256
|
+
privateCloudName: string,
|
|
257
|
+
authorizationName: string,
|
|
258
|
+
options?: AuthorizationsDeleteOptionalParams
|
|
259
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
260
|
+
const directSendOperation = async (
|
|
261
|
+
args: coreClient.OperationArguments,
|
|
262
|
+
spec: coreClient.OperationSpec
|
|
263
|
+
): Promise<void> => {
|
|
264
|
+
return this.client.sendOperationRequest(args, spec);
|
|
265
|
+
};
|
|
266
|
+
const sendOperation = async (
|
|
267
|
+
args: coreClient.OperationArguments,
|
|
268
|
+
spec: coreClient.OperationSpec
|
|
269
|
+
) => {
|
|
270
|
+
let currentRawResponse:
|
|
271
|
+
| coreClient.FullOperationResponse
|
|
272
|
+
| undefined = undefined;
|
|
273
|
+
const providedCallback = args.options?.onResponse;
|
|
274
|
+
const callback: coreClient.RawResponseCallback = (
|
|
275
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
276
|
+
flatResponse: unknown
|
|
277
|
+
) => {
|
|
278
|
+
currentRawResponse = rawResponse;
|
|
279
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
280
|
+
};
|
|
281
|
+
const updatedArgs = {
|
|
282
|
+
...args,
|
|
283
|
+
options: {
|
|
284
|
+
...args.options,
|
|
285
|
+
onResponse: callback
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
289
|
+
return {
|
|
290
|
+
flatResponse,
|
|
291
|
+
rawResponse: {
|
|
292
|
+
statusCode: currentRawResponse!.status,
|
|
293
|
+
body: currentRawResponse!.parsedBody,
|
|
294
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
};
|
|
122
298
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
return this.client.sendLRORequest(
|
|
133
|
-
{
|
|
134
|
-
resourceGroupName,
|
|
135
|
-
privateCloudName,
|
|
136
|
-
authorizationName,
|
|
137
|
-
options
|
|
138
|
-
},
|
|
139
|
-
beginCreateOrUpdateOperationSpec,
|
|
140
|
-
options);
|
|
299
|
+
const lro = new LroImpl(
|
|
300
|
+
sendOperation,
|
|
301
|
+
{ resourceGroupName, privateCloudName, authorizationName, options },
|
|
302
|
+
deleteOperationSpec
|
|
303
|
+
);
|
|
304
|
+
return new LroEngine(lro, {
|
|
305
|
+
resumeFrom: options?.resumeFrom,
|
|
306
|
+
intervalInMs: options?.updateIntervalInMs
|
|
307
|
+
});
|
|
141
308
|
}
|
|
142
309
|
|
|
143
310
|
/**
|
|
144
|
-
*
|
|
311
|
+
* Delete an ExpressRoute Circuit Authorization in a private cloud
|
|
145
312
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
313
|
* @param privateCloudName Name of the private cloud
|
|
147
314
|
* @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud
|
|
148
|
-
* @param
|
|
149
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
315
|
+
* @param options The options parameters.
|
|
150
316
|
*/
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
317
|
+
async beginDeleteAndWait(
|
|
318
|
+
resourceGroupName: string,
|
|
319
|
+
privateCloudName: string,
|
|
320
|
+
authorizationName: string,
|
|
321
|
+
options?: AuthorizationsDeleteOptionalParams
|
|
322
|
+
): Promise<void> {
|
|
323
|
+
const poller = await this.beginDelete(
|
|
324
|
+
resourceGroupName,
|
|
325
|
+
privateCloudName,
|
|
326
|
+
authorizationName,
|
|
327
|
+
options
|
|
328
|
+
);
|
|
329
|
+
return poller.pollUntilDone();
|
|
161
330
|
}
|
|
162
331
|
|
|
163
332
|
/**
|
|
164
|
-
*
|
|
165
|
-
* @param
|
|
166
|
-
* @param
|
|
167
|
-
* @
|
|
168
|
-
|
|
169
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.AuthorizationsListNextResponse>;
|
|
170
|
-
/**
|
|
171
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
172
|
-
* @param callback The callback
|
|
173
|
-
*/
|
|
174
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ExpressRouteAuthorizationList>): void;
|
|
175
|
-
/**
|
|
176
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
177
|
-
* @param options The optional parameters
|
|
178
|
-
* @param callback The callback
|
|
333
|
+
* ListNext
|
|
334
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
335
|
+
* @param privateCloudName Name of the private cloud
|
|
336
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
337
|
+
* @param options The options parameters.
|
|
179
338
|
*/
|
|
180
|
-
|
|
181
|
-
|
|
339
|
+
private _listNext(
|
|
340
|
+
resourceGroupName: string,
|
|
341
|
+
privateCloudName: string,
|
|
342
|
+
nextLink: string,
|
|
343
|
+
options?: AuthorizationsListNextOptionalParams
|
|
344
|
+
): Promise<AuthorizationsListNextResponse> {
|
|
182
345
|
return this.client.sendOperationRequest(
|
|
183
|
-
{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
listNextOperationSpec,
|
|
188
|
-
callback) as Promise<Models.AuthorizationsListNextResponse>;
|
|
346
|
+
{ resourceGroupName, privateCloudName, nextLink, options },
|
|
347
|
+
listNextOperationSpec
|
|
348
|
+
);
|
|
189
349
|
}
|
|
190
350
|
}
|
|
191
|
-
|
|
192
351
|
// Operation Specifications
|
|
193
|
-
const serializer =
|
|
194
|
-
|
|
352
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
353
|
+
|
|
354
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
355
|
+
path:
|
|
356
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations",
|
|
195
357
|
httpMethod: "GET",
|
|
196
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations",
|
|
197
|
-
urlParameters: [
|
|
198
|
-
Parameters.subscriptionId,
|
|
199
|
-
Parameters.resourceGroupName,
|
|
200
|
-
Parameters.privateCloudName
|
|
201
|
-
],
|
|
202
|
-
queryParameters: [
|
|
203
|
-
Parameters.apiVersion
|
|
204
|
-
],
|
|
205
|
-
headerParameters: [
|
|
206
|
-
Parameters.acceptLanguage
|
|
207
|
-
],
|
|
208
358
|
responses: {
|
|
209
359
|
200: {
|
|
210
360
|
bodyMapper: Mappers.ExpressRouteAuthorizationList
|
|
@@ -213,24 +363,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
213
363
|
bodyMapper: Mappers.CloudError
|
|
214
364
|
}
|
|
215
365
|
},
|
|
216
|
-
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
220
|
-
httpMethod: "GET",
|
|
221
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
366
|
+
queryParameters: [Parameters.apiVersion],
|
|
222
367
|
urlParameters: [
|
|
368
|
+
Parameters.$host,
|
|
223
369
|
Parameters.subscriptionId,
|
|
224
370
|
Parameters.resourceGroupName,
|
|
225
|
-
Parameters.privateCloudName
|
|
226
|
-
Parameters.authorizationName
|
|
227
|
-
],
|
|
228
|
-
queryParameters: [
|
|
229
|
-
Parameters.apiVersion
|
|
230
|
-
],
|
|
231
|
-
headerParameters: [
|
|
232
|
-
Parameters.acceptLanguage
|
|
371
|
+
Parameters.privateCloudName
|
|
233
372
|
],
|
|
373
|
+
headerParameters: [Parameters.accept],
|
|
374
|
+
serializer
|
|
375
|
+
};
|
|
376
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
377
|
+
path:
|
|
378
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
379
|
+
httpMethod: "GET",
|
|
234
380
|
responses: {
|
|
235
381
|
200: {
|
|
236
382
|
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
@@ -239,36 +385,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
239
385
|
bodyMapper: Mappers.CloudError
|
|
240
386
|
}
|
|
241
387
|
},
|
|
242
|
-
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
246
|
-
httpMethod: "PUT",
|
|
247
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
388
|
+
queryParameters: [Parameters.apiVersion],
|
|
248
389
|
urlParameters: [
|
|
390
|
+
Parameters.$host,
|
|
249
391
|
Parameters.subscriptionId,
|
|
250
392
|
Parameters.resourceGroupName,
|
|
251
393
|
Parameters.privateCloudName,
|
|
252
394
|
Parameters.authorizationName
|
|
253
395
|
],
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
parameterPath: {
|
|
262
|
-
expressRouteId: [
|
|
263
|
-
"options",
|
|
264
|
-
"expressRouteId"
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
|
-
mapper: {
|
|
268
|
-
...Mappers.ExpressRouteAuthorization,
|
|
269
|
-
required: true
|
|
270
|
-
}
|
|
271
|
-
},
|
|
396
|
+
headerParameters: [Parameters.accept],
|
|
397
|
+
serializer
|
|
398
|
+
};
|
|
399
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
400
|
+
path:
|
|
401
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
402
|
+
httpMethod: "PUT",
|
|
272
403
|
responses: {
|
|
273
404
|
200: {
|
|
274
405
|
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
@@ -276,52 +407,56 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
276
407
|
201: {
|
|
277
408
|
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
278
409
|
},
|
|
410
|
+
202: {
|
|
411
|
+
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
412
|
+
},
|
|
413
|
+
204: {
|
|
414
|
+
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
415
|
+
},
|
|
279
416
|
default: {
|
|
280
417
|
bodyMapper: Mappers.CloudError
|
|
281
418
|
}
|
|
282
419
|
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
287
|
-
httpMethod: "DELETE",
|
|
288
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
420
|
+
requestBody: Parameters.authorization,
|
|
421
|
+
queryParameters: [Parameters.apiVersion],
|
|
289
422
|
urlParameters: [
|
|
423
|
+
Parameters.$host,
|
|
290
424
|
Parameters.subscriptionId,
|
|
291
425
|
Parameters.resourceGroupName,
|
|
292
426
|
Parameters.privateCloudName,
|
|
293
427
|
Parameters.authorizationName
|
|
294
428
|
],
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
429
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
430
|
+
mediaType: "json",
|
|
431
|
+
serializer
|
|
432
|
+
};
|
|
433
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
434
|
+
path:
|
|
435
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
436
|
+
httpMethod: "DELETE",
|
|
301
437
|
responses: {
|
|
302
438
|
200: {},
|
|
439
|
+
201: {},
|
|
303
440
|
202: {},
|
|
304
441
|
204: {},
|
|
305
442
|
default: {
|
|
306
443
|
bodyMapper: Mappers.CloudError
|
|
307
444
|
}
|
|
308
445
|
},
|
|
446
|
+
queryParameters: [Parameters.apiVersion],
|
|
447
|
+
urlParameters: [
|
|
448
|
+
Parameters.$host,
|
|
449
|
+
Parameters.subscriptionId,
|
|
450
|
+
Parameters.resourceGroupName,
|
|
451
|
+
Parameters.privateCloudName,
|
|
452
|
+
Parameters.authorizationName
|
|
453
|
+
],
|
|
454
|
+
headerParameters: [Parameters.accept],
|
|
309
455
|
serializer
|
|
310
456
|
};
|
|
311
|
-
|
|
312
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
313
|
-
httpMethod: "GET",
|
|
314
|
-
baseUrl: "https://management.azure.com",
|
|
457
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
315
458
|
path: "{nextLink}",
|
|
316
|
-
|
|
317
|
-
Parameters.nextPageLink
|
|
318
|
-
],
|
|
319
|
-
queryParameters: [
|
|
320
|
-
Parameters.apiVersion
|
|
321
|
-
],
|
|
322
|
-
headerParameters: [
|
|
323
|
-
Parameters.acceptLanguage
|
|
324
|
-
],
|
|
459
|
+
httpMethod: "GET",
|
|
325
460
|
responses: {
|
|
326
461
|
200: {
|
|
327
462
|
bodyMapper: Mappers.ExpressRouteAuthorizationList
|
|
@@ -330,5 +465,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
330
465
|
bodyMapper: Mappers.CloudError
|
|
331
466
|
}
|
|
332
467
|
},
|
|
468
|
+
queryParameters: [Parameters.apiVersion],
|
|
469
|
+
urlParameters: [
|
|
470
|
+
Parameters.$host,
|
|
471
|
+
Parameters.nextLink,
|
|
472
|
+
Parameters.subscriptionId,
|
|
473
|
+
Parameters.resourceGroupName,
|
|
474
|
+
Parameters.privateCloudName
|
|
475
|
+
],
|
|
476
|
+
headerParameters: [Parameters.accept],
|
|
333
477
|
serializer
|
|
334
478
|
};
|