@azure/arm-avs 4.0.0 → 5.0.1-alpha.20240624.3
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 +205 -7
- package/LICENSE +1 -1
- package/dist/index.js +9788 -8264
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/addonsCreateOrUpdateSample.js +20 -20
- package/dist-esm/samples-dev/addonsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/addonsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/addonsGetSample.js +12 -12
- package/dist-esm/samples-dev/addonsListSample.js +7 -12
- package/dist-esm/samples-dev/addonsListSample.js.map +1 -1
- package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/authorizationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/authorizationsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/authorizationsGetSample.js +3 -3
- package/dist-esm/samples-dev/authorizationsListSample.js +7 -12
- package/dist-esm/samples-dev/authorizationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudLinksCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/cloudLinksDeleteSample.js +3 -3
- package/dist-esm/samples-dev/cloudLinksGetSample.js +3 -3
- package/dist-esm/samples-dev/cloudLinksListSample.js +7 -12
- package/dist-esm/samples-dev/cloudLinksListSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/clustersDeleteSample.js +3 -3
- package/dist-esm/samples-dev/clustersGetSample.js +3 -3
- package/dist-esm/samples-dev/clustersListSample.js +7 -12
- package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersListZonesSample.js +6 -6
- package/dist-esm/samples-dev/clustersListZonesSample.js.map +1 -1
- package/dist-esm/samples-dev/clustersUpdateSample.js +3 -3
- package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/datastoresCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/datastoresDeleteSample.js +3 -3
- package/dist-esm/samples-dev/datastoresGetSample.js +3 -3
- package/dist-esm/samples-dev/datastoresListSample.js +7 -12
- package/dist-esm/samples-dev/datastoresListSample.js.map +1 -1
- package/dist-esm/samples-dev/globalReachConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/globalReachConnectionsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/globalReachConnectionsGetSample.js +3 -3
- package/dist-esm/samples-dev/globalReachConnectionsListSample.js +7 -12
- package/dist-esm/samples-dev/globalReachConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/hcxEnterpriseSitesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesDeleteSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesGetSample.js +3 -3
- package/dist-esm/samples-dev/hcxEnterpriseSitesListSample.js +7 -12
- package/dist-esm/samples-dev/hcxEnterpriseSitesListSample.js.map +1 -1
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js +40 -0
- package/dist-esm/samples-dev/iscsiPathsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/iscsiPathsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.js +39 -0
- package/dist-esm/samples-dev/iscsiPathsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts +2 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js +55 -0
- package/dist-esm/samples-dev/iscsiPathsListByPrivateCloudSample.js.map +1 -0
- package/dist-esm/samples-dev/locationsCheckQuotaAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/locationsCheckTrialAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +7 -12
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/placementPoliciesCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/placementPoliciesDeleteSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesGetSample.js +3 -3
- package/dist-esm/samples-dev/placementPoliciesListSample.js +7 -12
- package/dist-esm/samples-dev/placementPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/placementPoliciesUpdateSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsCreateOrUpdateSample.js +8 -8
- package/dist-esm/samples-dev/privateCloudsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/privateCloudsGetSample.js +6 -6
- package/dist-esm/samples-dev/privateCloudsListAdminCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsListInSubscriptionSample.js +14 -24
- package/dist-esm/samples-dev/privateCloudsListInSubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/privateCloudsListSample.js +14 -24
- package/dist-esm/samples-dev/privateCloudsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateCloudsRotateNsxtPasswordSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsRotateVcenterPasswordSample.js +1 -1
- package/dist-esm/samples-dev/privateCloudsUpdateSample.js +10 -10
- package/dist-esm/samples-dev/scriptCmdletsGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptCmdletsListSample.js +7 -12
- package/dist-esm/samples-dev/scriptCmdletsListSample.js.map +1 -1
- package/dist-esm/samples-dev/scriptExecutionsCreateOrUpdateSample.js +8 -8
- package/dist-esm/samples-dev/scriptExecutionsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js +4 -4
- package/dist-esm/samples-dev/scriptExecutionsGetExecutionLogsSample.js.map +1 -1
- package/dist-esm/samples-dev/scriptExecutionsGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptExecutionsListSample.js +7 -12
- package/dist-esm/samples-dev/scriptExecutionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/scriptPackagesGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptPackagesListSample.js +7 -12
- package/dist-esm/samples-dev/scriptPackagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +5 -5
- package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesListSample.js +9 -14
- package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js +5 -5
- package/dist-esm/samples-dev/virtualMachinesRestrictMovementSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateDhcpSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateDnsServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateDnsZoneSample.js +4 -4
- package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreatePortMirroringSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreatePublicIPSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksCreateSegmentsSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksCreateVMGroupSample.js +4 -4
- package/dist-esm/samples-dev/workloadNetworksDeleteDhcpSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteDnsServiceSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteDnsZoneSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeletePortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeletePublicIPSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteSegmentSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksDeleteVMGroupSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDhcpSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDnsServiceSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetDnsZoneSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetGatewaySample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetPortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetPublicIPSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetSample.js +4 -5
- package/dist-esm/samples-dev/workloadNetworksGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksGetSegmentSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetVMGroupSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksGetVirtualMachineSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDhcpSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListDhcpSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListDnsServicesSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListDnsServicesSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListDnsZonesSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListDnsZonesSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListGatewaysSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListGatewaysSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListPortMirroringSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListPortMirroringSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListPublicIPsSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListPublicIPsSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListSegmentsSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListSegmentsSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListVMGroupsSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListVMGroupsSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksListVirtualMachinesSample.js +7 -12
- package/dist-esm/samples-dev/workloadNetworksListVirtualMachinesSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js +6 -6
- package/dist-esm/samples-dev/workloadNetworksUpdateDhcpSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateDnsZoneSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdatePortMirroringSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js +6 -6
- package/dist-esm/samples-dev/workloadNetworksUpdateSegmentsSample.js.map +1 -1
- package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js +5 -5
- package/dist-esm/samples-dev/workloadNetworksUpdateVMGroupSample.js.map +1 -1
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts +11 -10
- package/dist-esm/src/azureVMwareSolutionAPI.d.ts.map +1 -1
- package/dist-esm/src/azureVMwareSolutionAPI.js +19 -18
- package/dist-esm/src/azureVMwareSolutionAPI.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +2510 -1892
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +546 -424
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +130 -77
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +3128 -2072
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +34 -29
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +290 -255
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/addons.d.ts +16 -16
- package/dist-esm/src/operations/addons.js +59 -62
- package/dist-esm/src/operations/addons.js.map +1 -1
- package/dist-esm/src/operations/authorizations.d.ts +16 -16
- package/dist-esm/src/operations/authorizations.js +60 -63
- package/dist-esm/src/operations/authorizations.js.map +1 -1
- package/dist-esm/src/operations/cloudLinks.d.ts +16 -16
- package/dist-esm/src/operations/cloudLinks.js +60 -63
- package/dist-esm/src/operations/cloudLinks.js.map +1 -1
- package/dist-esm/src/operations/clusters.d.ts +23 -23
- package/dist-esm/src/operations/clusters.js +85 -87
- package/dist-esm/src/operations/clusters.js.map +1 -1
- package/dist-esm/src/operations/datastores.d.ts +22 -22
- package/dist-esm/src/operations/datastores.js +67 -70
- package/dist-esm/src/operations/datastores.js.map +1 -1
- package/dist-esm/src/operations/globalReachConnections.d.ts +16 -16
- package/dist-esm/src/operations/globalReachConnections.js +62 -65
- package/dist-esm/src/operations/globalReachConnections.js.map +1 -1
- package/dist-esm/src/operations/hcxEnterpriseSites.d.ts +10 -10
- package/dist-esm/src/operations/hcxEnterpriseSites.js +41 -46
- package/dist-esm/src/operations/hcxEnterpriseSites.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +9 -8
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +9 -8
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/iscsiPaths.d.ts +76 -0
- package/dist-esm/src/operations/iscsiPaths.d.ts.map +1 -0
- package/dist-esm/src/operations/iscsiPaths.js +350 -0
- package/dist-esm/src/operations/iscsiPaths.js.map +1 -0
- package/dist-esm/src/operations/locations.d.ts +7 -7
- package/dist-esm/src/operations/locations.js +26 -26
- package/dist-esm/src/operations/locations.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.js +14 -19
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/placementPolicies.d.ts +30 -37
- package/dist-esm/src/operations/placementPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/placementPolicies.js +89 -98
- package/dist-esm/src/operations/placementPolicies.js.map +1 -1
- package/dist-esm/src/operations/privateClouds.d.ts +38 -38
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -1
- package/dist-esm/src/operations/privateClouds.js +193 -182
- package/dist-esm/src/operations/privateClouds.js.map +1 -1
- package/dist-esm/src/operations/scriptCmdlets.d.ts +8 -11
- package/dist-esm/src/operations/scriptCmdlets.d.ts.map +1 -1
- package/dist-esm/src/operations/scriptCmdlets.js +29 -37
- package/dist-esm/src/operations/scriptCmdlets.js.map +1 -1
- package/dist-esm/src/operations/scriptExecutions.d.ts +17 -17
- package/dist-esm/src/operations/scriptExecutions.js +67 -70
- package/dist-esm/src/operations/scriptExecutions.js.map +1 -1
- package/dist-esm/src/operations/scriptPackages.d.ts +4 -4
- package/dist-esm/src/operations/scriptPackages.js +23 -28
- package/dist-esm/src/operations/scriptPackages.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +17 -17
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +56 -53
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operations/workloadNetworks.d.ts +256 -269
- package/dist-esm/src/operations/workloadNetworks.d.ts.map +1 -1
- package/dist-esm/src/operations/workloadNetworks.js +1092 -1136
- package/dist-esm/src/operations/workloadNetworks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/addons.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/authorizations.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/cloudLinks.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +22 -22
- package/dist-esm/src/operationsInterfaces/datastores.d.ts +19 -19
- package/dist-esm/src/operationsInterfaces/globalReachConnections.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/hcxEnterpriseSites.d.ts +9 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +9 -8
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts +51 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.js +9 -0
- package/dist-esm/src/operationsInterfaces/iscsiPaths.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/locations.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts +27 -34
- package/dist-esm/src/operationsInterfaces/placementPolicies.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +26 -26
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts +5 -7
- package/dist-esm/src/operationsInterfaces/scriptCmdlets.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scriptExecutions.d.ts +16 -16
- package/dist-esm/src/operationsInterfaces/scriptPackages.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +14 -14
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts +195 -208
- package/dist-esm/src/operationsInterfaces/workloadNetworks.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/avs_examples.spec.js +13 -28
- package/dist-esm/test/avs_examples.spec.js.map +1 -1
- package/package.json +20 -25
- package/review/arm-avs.api.md +774 -284
- package/src/azureVMwareSolutionAPI.ts +53 -48
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +2838 -2095
- package/src/models/mappers.ts +3359 -2221
- package/src/models/parameters.ts +320 -273
- package/src/operations/addons.ts +94 -98
- package/src/operations/authorizations.ts +95 -99
- package/src/operations/cloudLinks.ts +95 -99
- package/src/operations/clusters.ts +134 -140
- package/src/operations/datastores.ts +103 -107
- package/src/operations/globalReachConnections.ts +97 -101
- package/src/operations/hcxEnterpriseSites.ts +60 -64
- package/src/operations/index.ts +9 -8
- package/src/operations/iscsiPaths.ts +481 -0
- package/src/operations/locations.ts +32 -34
- package/src/operations/operations.ts +18 -18
- package/src/operations/placementPolicies.ts +136 -148
- package/src/operations/privateClouds.ts +312 -286
- package/src/operations/scriptCmdlets.ts +43 -48
- package/src/operations/scriptExecutions.ts +105 -110
- package/src/operations/scriptPackages.ts +36 -38
- package/src/operations/virtualMachines.ts +94 -81
- package/src/operations/workloadNetworks.ts +1729 -1779
- package/src/operationsInterfaces/addons.ts +22 -22
- package/src/operationsInterfaces/authorizations.ts +22 -22
- package/src/operationsInterfaces/cloudLinks.ts +22 -22
- package/src/operationsInterfaces/clusters.ts +32 -32
- package/src/operationsInterfaces/datastores.ts +26 -26
- package/src/operationsInterfaces/globalReachConnections.ts +22 -22
- package/src/operationsInterfaces/hcxEnterpriseSites.ts +14 -14
- package/src/operationsInterfaces/index.ts +9 -8
- package/src/operationsInterfaces/iscsiPaths.ts +99 -0
- package/src/operationsInterfaces/locations.ts +12 -12
- package/src/operationsInterfaces/operations.ts +2 -2
- package/src/operationsInterfaces/placementPolicies.ts +36 -43
- package/src/operationsInterfaces/privateClouds.ts +61 -49
- package/src/operationsInterfaces/scriptCmdlets.ts +8 -10
- package/src/operationsInterfaces/scriptExecutions.ts +24 -24
- package/src/operationsInterfaces/scriptPackages.ts +6 -6
- package/src/operationsInterfaces/virtualMachines.ts +24 -18
- package/src/operationsInterfaces/workloadNetworks.ts +453 -462
- package/src/pagingHelper.ts +1 -1
- package/types/arm-avs.d.ts +2197 -1466
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -16,7 +16,7 @@ import { AzureVMwareSolutionAPI } from "../azureVMwareSolutionAPI";
|
|
|
16
16
|
import {
|
|
17
17
|
SimplePollerLike,
|
|
18
18
|
OperationState,
|
|
19
|
-
createHttpPoller
|
|
19
|
+
createHttpPoller,
|
|
20
20
|
} from "@azure/core-lro";
|
|
21
21
|
import { createLroSpec } from "../lroImpl";
|
|
22
22
|
import {
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
AuthorizationsCreateOrUpdateOptionalParams,
|
|
30
30
|
AuthorizationsCreateOrUpdateResponse,
|
|
31
31
|
AuthorizationsDeleteOptionalParams,
|
|
32
|
-
AuthorizationsListNextResponse
|
|
32
|
+
AuthorizationsListNextResponse,
|
|
33
33
|
} from "../models";
|
|
34
34
|
|
|
35
35
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -46,7 +46,7 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* List
|
|
49
|
+
* List ExpressRouteAuthorization resources by PrivateCloud
|
|
50
50
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
51
|
* @param privateCloudName Name of the private cloud
|
|
52
52
|
* @param options The options parameters.
|
|
@@ -54,12 +54,12 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
54
54
|
public list(
|
|
55
55
|
resourceGroupName: string,
|
|
56
56
|
privateCloudName: string,
|
|
57
|
-
options?: AuthorizationsListOptionalParams
|
|
57
|
+
options?: AuthorizationsListOptionalParams,
|
|
58
58
|
): PagedAsyncIterableIterator<ExpressRouteAuthorization> {
|
|
59
59
|
const iter = this.listPagingAll(
|
|
60
60
|
resourceGroupName,
|
|
61
61
|
privateCloudName,
|
|
62
|
-
options
|
|
62
|
+
options,
|
|
63
63
|
);
|
|
64
64
|
return {
|
|
65
65
|
next() {
|
|
@@ -76,9 +76,9 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
76
76
|
resourceGroupName,
|
|
77
77
|
privateCloudName,
|
|
78
78
|
options,
|
|
79
|
-
settings
|
|
79
|
+
settings,
|
|
80
80
|
);
|
|
81
|
-
}
|
|
81
|
+
},
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
86
86
|
resourceGroupName: string,
|
|
87
87
|
privateCloudName: string,
|
|
88
88
|
options?: AuthorizationsListOptionalParams,
|
|
89
|
-
settings?: PageSettings
|
|
89
|
+
settings?: PageSettings,
|
|
90
90
|
): AsyncIterableIterator<ExpressRouteAuthorization[]> {
|
|
91
91
|
let result: AuthorizationsListResponse;
|
|
92
92
|
let continuationToken = settings?.continuationToken;
|
|
@@ -102,7 +102,7 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
102
102
|
resourceGroupName,
|
|
103
103
|
privateCloudName,
|
|
104
104
|
continuationToken,
|
|
105
|
-
options
|
|
105
|
+
options,
|
|
106
106
|
);
|
|
107
107
|
continuationToken = result.nextLink;
|
|
108
108
|
let page = result.value || [];
|
|
@@ -114,19 +114,19 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
114
114
|
private async *listPagingAll(
|
|
115
115
|
resourceGroupName: string,
|
|
116
116
|
privateCloudName: string,
|
|
117
|
-
options?: AuthorizationsListOptionalParams
|
|
117
|
+
options?: AuthorizationsListOptionalParams,
|
|
118
118
|
): AsyncIterableIterator<ExpressRouteAuthorization> {
|
|
119
119
|
for await (const page of this.listPagingPage(
|
|
120
120
|
resourceGroupName,
|
|
121
121
|
privateCloudName,
|
|
122
|
-
options
|
|
122
|
+
options,
|
|
123
123
|
)) {
|
|
124
124
|
yield* page;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* List
|
|
129
|
+
* List ExpressRouteAuthorization resources by PrivateCloud
|
|
130
130
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
131
|
* @param privateCloudName Name of the private cloud
|
|
132
132
|
* @param options The options parameters.
|
|
@@ -134,39 +134,39 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
134
134
|
private _list(
|
|
135
135
|
resourceGroupName: string,
|
|
136
136
|
privateCloudName: string,
|
|
137
|
-
options?: AuthorizationsListOptionalParams
|
|
137
|
+
options?: AuthorizationsListOptionalParams,
|
|
138
138
|
): Promise<AuthorizationsListResponse> {
|
|
139
139
|
return this.client.sendOperationRequest(
|
|
140
140
|
{ resourceGroupName, privateCloudName, options },
|
|
141
|
-
listOperationSpec
|
|
141
|
+
listOperationSpec,
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* Get
|
|
146
|
+
* Get a ExpressRouteAuthorization
|
|
147
147
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
148
148
|
* @param privateCloudName Name of the private cloud
|
|
149
|
-
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
149
|
+
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
150
150
|
* @param options The options parameters.
|
|
151
151
|
*/
|
|
152
152
|
get(
|
|
153
153
|
resourceGroupName: string,
|
|
154
154
|
privateCloudName: string,
|
|
155
155
|
authorizationName: string,
|
|
156
|
-
options?: AuthorizationsGetOptionalParams
|
|
156
|
+
options?: AuthorizationsGetOptionalParams,
|
|
157
157
|
): Promise<AuthorizationsGetResponse> {
|
|
158
158
|
return this.client.sendOperationRequest(
|
|
159
159
|
{ resourceGroupName, privateCloudName, authorizationName, options },
|
|
160
|
-
getOperationSpec
|
|
160
|
+
getOperationSpec,
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* Create
|
|
165
|
+
* Create a ExpressRouteAuthorization
|
|
166
166
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
-
* @param privateCloudName
|
|
168
|
-
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
169
|
-
* @param authorization
|
|
167
|
+
* @param privateCloudName Name of the private cloud
|
|
168
|
+
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
169
|
+
* @param authorization Resource create parameters.
|
|
170
170
|
* @param options The options parameters.
|
|
171
171
|
*/
|
|
172
172
|
async beginCreateOrUpdate(
|
|
@@ -174,7 +174,7 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
174
174
|
privateCloudName: string,
|
|
175
175
|
authorizationName: string,
|
|
176
176
|
authorization: ExpressRouteAuthorization,
|
|
177
|
-
options?: AuthorizationsCreateOrUpdateOptionalParams
|
|
177
|
+
options?: AuthorizationsCreateOrUpdateOptionalParams,
|
|
178
178
|
): Promise<
|
|
179
179
|
SimplePollerLike<
|
|
180
180
|
OperationState<AuthorizationsCreateOrUpdateResponse>,
|
|
@@ -183,21 +183,20 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
183
183
|
> {
|
|
184
184
|
const directSendOperation = async (
|
|
185
185
|
args: coreClient.OperationArguments,
|
|
186
|
-
spec: coreClient.OperationSpec
|
|
186
|
+
spec: coreClient.OperationSpec,
|
|
187
187
|
): Promise<AuthorizationsCreateOrUpdateResponse> => {
|
|
188
188
|
return this.client.sendOperationRequest(args, spec);
|
|
189
189
|
};
|
|
190
190
|
const sendOperationFn = async (
|
|
191
191
|
args: coreClient.OperationArguments,
|
|
192
|
-
spec: coreClient.OperationSpec
|
|
192
|
+
spec: coreClient.OperationSpec,
|
|
193
193
|
) => {
|
|
194
|
-
let currentRawResponse:
|
|
195
|
-
|
|
196
|
-
| undefined = undefined;
|
|
194
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
195
|
+
undefined;
|
|
197
196
|
const providedCallback = args.options?.onResponse;
|
|
198
197
|
const callback: coreClient.RawResponseCallback = (
|
|
199
198
|
rawResponse: coreClient.FullOperationResponse,
|
|
200
|
-
flatResponse: unknown
|
|
199
|
+
flatResponse: unknown,
|
|
201
200
|
) => {
|
|
202
201
|
currentRawResponse = rawResponse;
|
|
203
202
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -206,8 +205,8 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
206
205
|
...args,
|
|
207
206
|
options: {
|
|
208
207
|
...args.options,
|
|
209
|
-
onResponse: callback
|
|
210
|
-
}
|
|
208
|
+
onResponse: callback,
|
|
209
|
+
},
|
|
211
210
|
};
|
|
212
211
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
213
212
|
return {
|
|
@@ -215,8 +214,8 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
215
214
|
rawResponse: {
|
|
216
215
|
statusCode: currentRawResponse!.status,
|
|
217
216
|
body: currentRawResponse!.parsedBody,
|
|
218
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
219
|
-
}
|
|
217
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
218
|
+
},
|
|
220
219
|
};
|
|
221
220
|
};
|
|
222
221
|
|
|
@@ -227,27 +226,28 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
227
226
|
privateCloudName,
|
|
228
227
|
authorizationName,
|
|
229
228
|
authorization,
|
|
230
|
-
options
|
|
229
|
+
options,
|
|
231
230
|
},
|
|
232
|
-
spec: createOrUpdateOperationSpec
|
|
231
|
+
spec: createOrUpdateOperationSpec,
|
|
233
232
|
});
|
|
234
233
|
const poller = await createHttpPoller<
|
|
235
234
|
AuthorizationsCreateOrUpdateResponse,
|
|
236
235
|
OperationState<AuthorizationsCreateOrUpdateResponse>
|
|
237
236
|
>(lro, {
|
|
238
237
|
restoreFrom: options?.resumeFrom,
|
|
239
|
-
intervalInMs: options?.updateIntervalInMs
|
|
238
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
239
|
+
resourceLocationConfig: "azure-async-operation",
|
|
240
240
|
});
|
|
241
241
|
await poller.poll();
|
|
242
242
|
return poller;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
|
-
* Create
|
|
246
|
+
* Create a ExpressRouteAuthorization
|
|
247
247
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
248
|
-
* @param privateCloudName
|
|
249
|
-
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
250
|
-
* @param authorization
|
|
248
|
+
* @param privateCloudName Name of the private cloud
|
|
249
|
+
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
250
|
+
* @param authorization Resource create parameters.
|
|
251
251
|
* @param options The options parameters.
|
|
252
252
|
*/
|
|
253
253
|
async beginCreateOrUpdateAndWait(
|
|
@@ -255,48 +255,47 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
255
255
|
privateCloudName: string,
|
|
256
256
|
authorizationName: string,
|
|
257
257
|
authorization: ExpressRouteAuthorization,
|
|
258
|
-
options?: AuthorizationsCreateOrUpdateOptionalParams
|
|
258
|
+
options?: AuthorizationsCreateOrUpdateOptionalParams,
|
|
259
259
|
): Promise<AuthorizationsCreateOrUpdateResponse> {
|
|
260
260
|
const poller = await this.beginCreateOrUpdate(
|
|
261
261
|
resourceGroupName,
|
|
262
262
|
privateCloudName,
|
|
263
263
|
authorizationName,
|
|
264
264
|
authorization,
|
|
265
|
-
options
|
|
265
|
+
options,
|
|
266
266
|
);
|
|
267
267
|
return poller.pollUntilDone();
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
* Delete
|
|
271
|
+
* Delete a ExpressRouteAuthorization
|
|
272
272
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
273
273
|
* @param privateCloudName Name of the private cloud
|
|
274
|
-
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
274
|
+
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
275
275
|
* @param options The options parameters.
|
|
276
276
|
*/
|
|
277
277
|
async beginDelete(
|
|
278
278
|
resourceGroupName: string,
|
|
279
279
|
privateCloudName: string,
|
|
280
280
|
authorizationName: string,
|
|
281
|
-
options?: AuthorizationsDeleteOptionalParams
|
|
281
|
+
options?: AuthorizationsDeleteOptionalParams,
|
|
282
282
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
283
283
|
const directSendOperation = async (
|
|
284
284
|
args: coreClient.OperationArguments,
|
|
285
|
-
spec: coreClient.OperationSpec
|
|
285
|
+
spec: coreClient.OperationSpec,
|
|
286
286
|
): Promise<void> => {
|
|
287
287
|
return this.client.sendOperationRequest(args, spec);
|
|
288
288
|
};
|
|
289
289
|
const sendOperationFn = async (
|
|
290
290
|
args: coreClient.OperationArguments,
|
|
291
|
-
spec: coreClient.OperationSpec
|
|
291
|
+
spec: coreClient.OperationSpec,
|
|
292
292
|
) => {
|
|
293
|
-
let currentRawResponse:
|
|
294
|
-
|
|
295
|
-
| undefined = undefined;
|
|
293
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
294
|
+
undefined;
|
|
296
295
|
const providedCallback = args.options?.onResponse;
|
|
297
296
|
const callback: coreClient.RawResponseCallback = (
|
|
298
297
|
rawResponse: coreClient.FullOperationResponse,
|
|
299
|
-
flatResponse: unknown
|
|
298
|
+
flatResponse: unknown,
|
|
300
299
|
) => {
|
|
301
300
|
currentRawResponse = rawResponse;
|
|
302
301
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -305,8 +304,8 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
305
304
|
...args,
|
|
306
305
|
options: {
|
|
307
306
|
...args.options,
|
|
308
|
-
onResponse: callback
|
|
309
|
-
}
|
|
307
|
+
onResponse: callback,
|
|
308
|
+
},
|
|
310
309
|
};
|
|
311
310
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
312
311
|
return {
|
|
@@ -314,42 +313,43 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
314
313
|
rawResponse: {
|
|
315
314
|
statusCode: currentRawResponse!.status,
|
|
316
315
|
body: currentRawResponse!.parsedBody,
|
|
317
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
318
|
-
}
|
|
316
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
317
|
+
},
|
|
319
318
|
};
|
|
320
319
|
};
|
|
321
320
|
|
|
322
321
|
const lro = createLroSpec({
|
|
323
322
|
sendOperationFn,
|
|
324
323
|
args: { resourceGroupName, privateCloudName, authorizationName, options },
|
|
325
|
-
spec: deleteOperationSpec
|
|
324
|
+
spec: deleteOperationSpec,
|
|
326
325
|
});
|
|
327
326
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
328
327
|
restoreFrom: options?.resumeFrom,
|
|
329
|
-
intervalInMs: options?.updateIntervalInMs
|
|
328
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
329
|
+
resourceLocationConfig: "location",
|
|
330
330
|
});
|
|
331
331
|
await poller.poll();
|
|
332
332
|
return poller;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
* Delete
|
|
336
|
+
* Delete a ExpressRouteAuthorization
|
|
337
337
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
338
338
|
* @param privateCloudName Name of the private cloud
|
|
339
|
-
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
339
|
+
* @param authorizationName Name of the ExpressRoute Circuit Authorization
|
|
340
340
|
* @param options The options parameters.
|
|
341
341
|
*/
|
|
342
342
|
async beginDeleteAndWait(
|
|
343
343
|
resourceGroupName: string,
|
|
344
344
|
privateCloudName: string,
|
|
345
345
|
authorizationName: string,
|
|
346
|
-
options?: AuthorizationsDeleteOptionalParams
|
|
346
|
+
options?: AuthorizationsDeleteOptionalParams,
|
|
347
347
|
): Promise<void> {
|
|
348
348
|
const poller = await this.beginDelete(
|
|
349
349
|
resourceGroupName,
|
|
350
350
|
privateCloudName,
|
|
351
351
|
authorizationName,
|
|
352
|
-
options
|
|
352
|
+
options,
|
|
353
353
|
);
|
|
354
354
|
return poller.pollUntilDone();
|
|
355
355
|
}
|
|
@@ -365,11 +365,11 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
365
365
|
resourceGroupName: string,
|
|
366
366
|
privateCloudName: string,
|
|
367
367
|
nextLink: string,
|
|
368
|
-
options?: AuthorizationsListNextOptionalParams
|
|
368
|
+
options?: AuthorizationsListNextOptionalParams,
|
|
369
369
|
): Promise<AuthorizationsListNextResponse> {
|
|
370
370
|
return this.client.sendOperationRequest(
|
|
371
371
|
{ resourceGroupName, privateCloudName, nextLink, options },
|
|
372
|
-
listNextOperationSpec
|
|
372
|
+
listNextOperationSpec,
|
|
373
373
|
);
|
|
374
374
|
}
|
|
375
375
|
}
|
|
@@ -377,38 +377,36 @@ export class AuthorizationsImpl implements Authorizations {
|
|
|
377
377
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
378
378
|
|
|
379
379
|
const listOperationSpec: coreClient.OperationSpec = {
|
|
380
|
-
path:
|
|
381
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations",
|
|
380
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations",
|
|
382
381
|
httpMethod: "GET",
|
|
383
382
|
responses: {
|
|
384
383
|
200: {
|
|
385
|
-
bodyMapper: Mappers.
|
|
384
|
+
bodyMapper: Mappers.ExpressRouteAuthorizationListResult,
|
|
386
385
|
},
|
|
387
386
|
default: {
|
|
388
|
-
bodyMapper: Mappers.ErrorResponse
|
|
389
|
-
}
|
|
387
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
388
|
+
},
|
|
390
389
|
},
|
|
391
390
|
queryParameters: [Parameters.apiVersion],
|
|
392
391
|
urlParameters: [
|
|
393
392
|
Parameters.$host,
|
|
394
393
|
Parameters.subscriptionId,
|
|
395
394
|
Parameters.resourceGroupName,
|
|
396
|
-
Parameters.privateCloudName
|
|
395
|
+
Parameters.privateCloudName,
|
|
397
396
|
],
|
|
398
397
|
headerParameters: [Parameters.accept],
|
|
399
|
-
serializer
|
|
398
|
+
serializer,
|
|
400
399
|
};
|
|
401
400
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
402
|
-
path:
|
|
403
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
401
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
404
402
|
httpMethod: "GET",
|
|
405
403
|
responses: {
|
|
406
404
|
200: {
|
|
407
|
-
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
405
|
+
bodyMapper: Mappers.ExpressRouteAuthorization,
|
|
408
406
|
},
|
|
409
407
|
default: {
|
|
410
|
-
bodyMapper: Mappers.ErrorResponse
|
|
411
|
-
}
|
|
408
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
409
|
+
},
|
|
412
410
|
},
|
|
413
411
|
queryParameters: [Parameters.apiVersion],
|
|
414
412
|
urlParameters: [
|
|
@@ -416,31 +414,30 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
416
414
|
Parameters.subscriptionId,
|
|
417
415
|
Parameters.resourceGroupName,
|
|
418
416
|
Parameters.privateCloudName,
|
|
419
|
-
Parameters.authorizationName
|
|
417
|
+
Parameters.authorizationName,
|
|
420
418
|
],
|
|
421
419
|
headerParameters: [Parameters.accept],
|
|
422
|
-
serializer
|
|
420
|
+
serializer,
|
|
423
421
|
};
|
|
424
422
|
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
425
|
-
path:
|
|
426
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
423
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
427
424
|
httpMethod: "PUT",
|
|
428
425
|
responses: {
|
|
429
426
|
200: {
|
|
430
|
-
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
427
|
+
bodyMapper: Mappers.ExpressRouteAuthorization,
|
|
431
428
|
},
|
|
432
429
|
201: {
|
|
433
|
-
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
430
|
+
bodyMapper: Mappers.ExpressRouteAuthorization,
|
|
434
431
|
},
|
|
435
432
|
202: {
|
|
436
|
-
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
433
|
+
bodyMapper: Mappers.ExpressRouteAuthorization,
|
|
437
434
|
},
|
|
438
435
|
204: {
|
|
439
|
-
bodyMapper: Mappers.ExpressRouteAuthorization
|
|
436
|
+
bodyMapper: Mappers.ExpressRouteAuthorization,
|
|
440
437
|
},
|
|
441
438
|
default: {
|
|
442
|
-
bodyMapper: Mappers.ErrorResponse
|
|
443
|
-
}
|
|
439
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
440
|
+
},
|
|
444
441
|
},
|
|
445
442
|
requestBody: Parameters.authorization,
|
|
446
443
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -448,16 +445,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
448
445
|
Parameters.$host,
|
|
449
446
|
Parameters.subscriptionId,
|
|
450
447
|
Parameters.resourceGroupName,
|
|
451
|
-
Parameters.
|
|
452
|
-
Parameters.authorizationName
|
|
448
|
+
Parameters.privateCloudName,
|
|
449
|
+
Parameters.authorizationName,
|
|
453
450
|
],
|
|
454
451
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
455
452
|
mediaType: "json",
|
|
456
|
-
serializer
|
|
453
|
+
serializer,
|
|
457
454
|
};
|
|
458
455
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
459
|
-
path:
|
|
460
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
456
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}",
|
|
461
457
|
httpMethod: "DELETE",
|
|
462
458
|
responses: {
|
|
463
459
|
200: {},
|
|
@@ -465,8 +461,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
465
461
|
202: {},
|
|
466
462
|
204: {},
|
|
467
463
|
default: {
|
|
468
|
-
bodyMapper: Mappers.ErrorResponse
|
|
469
|
-
}
|
|
464
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
465
|
+
},
|
|
470
466
|
},
|
|
471
467
|
queryParameters: [Parameters.apiVersion],
|
|
472
468
|
urlParameters: [
|
|
@@ -474,29 +470,29 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
474
470
|
Parameters.subscriptionId,
|
|
475
471
|
Parameters.resourceGroupName,
|
|
476
472
|
Parameters.privateCloudName,
|
|
477
|
-
Parameters.authorizationName
|
|
473
|
+
Parameters.authorizationName,
|
|
478
474
|
],
|
|
479
475
|
headerParameters: [Parameters.accept],
|
|
480
|
-
serializer
|
|
476
|
+
serializer,
|
|
481
477
|
};
|
|
482
478
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
483
479
|
path: "{nextLink}",
|
|
484
480
|
httpMethod: "GET",
|
|
485
481
|
responses: {
|
|
486
482
|
200: {
|
|
487
|
-
bodyMapper: Mappers.
|
|
483
|
+
bodyMapper: Mappers.ExpressRouteAuthorizationListResult,
|
|
488
484
|
},
|
|
489
485
|
default: {
|
|
490
|
-
bodyMapper: Mappers.ErrorResponse
|
|
491
|
-
}
|
|
486
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
487
|
+
},
|
|
492
488
|
},
|
|
493
489
|
urlParameters: [
|
|
494
490
|
Parameters.$host,
|
|
495
491
|
Parameters.nextLink,
|
|
496
492
|
Parameters.subscriptionId,
|
|
497
493
|
Parameters.resourceGroupName,
|
|
498
|
-
Parameters.privateCloudName
|
|
494
|
+
Parameters.privateCloudName,
|
|
499
495
|
],
|
|
500
496
|
headerParameters: [Parameters.accept],
|
|
501
|
-
serializer
|
|
497
|
+
serializer,
|
|
502
498
|
};
|