@azure/arm-avs 4.0.0-alpha.20240617.1 → 5.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 +195 -7
- package/LICENSE +1 -1
- package/dist/index.js +9636 -7986
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +6 -6
- package/dist-esm/samples-dev/privateCloudsListSample.js +6 -6
- 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 +3 -3
- 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 +3 -3
- package/dist-esm/samples-dev/scriptPackagesGetSample.js +3 -3
- package/dist-esm/samples-dev/scriptPackagesListSample.js +3 -3
- 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 +5 -5
- 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 +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDnsServicesSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListDnsZonesSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListGatewaysSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListPortMirroringSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListPublicIPsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListSegmentsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListVMGroupsSample.js +3 -3
- package/dist-esm/samples-dev/workloadNetworksListVirtualMachinesSample.js +3 -3
- 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 +56 -54
- 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 +57 -55
- 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 +57 -55
- 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 +82 -79
- 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 +64 -62
- 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 +59 -57
- 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 +38 -38
- 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 +11 -11
- 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 +86 -90
- 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 +189 -168
- 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 +26 -29
- 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 +64 -62
- 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 +20 -20
- 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 +53 -45
- 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 +1062 -1056
- 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/package.json +9 -9
- 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
|
@@ -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 {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ScriptExecutionsDeleteOptionalParams,
|
|
32
32
|
ScriptExecutionsGetExecutionLogsOptionalParams,
|
|
33
33
|
ScriptExecutionsGetExecutionLogsResponse,
|
|
34
|
-
ScriptExecutionsListNextResponse
|
|
34
|
+
ScriptExecutionsListNextResponse,
|
|
35
35
|
} from "../models";
|
|
36
36
|
|
|
37
37
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -48,7 +48,7 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* List
|
|
51
|
+
* List ScriptExecution resources by PrivateCloud
|
|
52
52
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
53
|
* @param privateCloudName Name of the private cloud
|
|
54
54
|
* @param options The options parameters.
|
|
@@ -56,12 +56,12 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
56
56
|
public list(
|
|
57
57
|
resourceGroupName: string,
|
|
58
58
|
privateCloudName: string,
|
|
59
|
-
options?: ScriptExecutionsListOptionalParams
|
|
59
|
+
options?: ScriptExecutionsListOptionalParams,
|
|
60
60
|
): PagedAsyncIterableIterator<ScriptExecution> {
|
|
61
61
|
const iter = this.listPagingAll(
|
|
62
62
|
resourceGroupName,
|
|
63
63
|
privateCloudName,
|
|
64
|
-
options
|
|
64
|
+
options,
|
|
65
65
|
);
|
|
66
66
|
return {
|
|
67
67
|
next() {
|
|
@@ -78,9 +78,9 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
78
78
|
resourceGroupName,
|
|
79
79
|
privateCloudName,
|
|
80
80
|
options,
|
|
81
|
-
settings
|
|
81
|
+
settings,
|
|
82
82
|
);
|
|
83
|
-
}
|
|
83
|
+
},
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
88
88
|
resourceGroupName: string,
|
|
89
89
|
privateCloudName: string,
|
|
90
90
|
options?: ScriptExecutionsListOptionalParams,
|
|
91
|
-
settings?: PageSettings
|
|
91
|
+
settings?: PageSettings,
|
|
92
92
|
): AsyncIterableIterator<ScriptExecution[]> {
|
|
93
93
|
let result: ScriptExecutionsListResponse;
|
|
94
94
|
let continuationToken = settings?.continuationToken;
|
|
@@ -104,7 +104,7 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
104
104
|
resourceGroupName,
|
|
105
105
|
privateCloudName,
|
|
106
106
|
continuationToken,
|
|
107
|
-
options
|
|
107
|
+
options,
|
|
108
108
|
);
|
|
109
109
|
continuationToken = result.nextLink;
|
|
110
110
|
let page = result.value || [];
|
|
@@ -116,19 +116,19 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
116
116
|
private async *listPagingAll(
|
|
117
117
|
resourceGroupName: string,
|
|
118
118
|
privateCloudName: string,
|
|
119
|
-
options?: ScriptExecutionsListOptionalParams
|
|
119
|
+
options?: ScriptExecutionsListOptionalParams,
|
|
120
120
|
): AsyncIterableIterator<ScriptExecution> {
|
|
121
121
|
for await (const page of this.listPagingPage(
|
|
122
122
|
resourceGroupName,
|
|
123
123
|
privateCloudName,
|
|
124
|
-
options
|
|
124
|
+
options,
|
|
125
125
|
)) {
|
|
126
126
|
yield* page;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* List
|
|
131
|
+
* List ScriptExecution resources by PrivateCloud
|
|
132
132
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
133
133
|
* @param privateCloudName Name of the private cloud
|
|
134
134
|
* @param options The options parameters.
|
|
@@ -136,39 +136,39 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
136
136
|
private _list(
|
|
137
137
|
resourceGroupName: string,
|
|
138
138
|
privateCloudName: string,
|
|
139
|
-
options?: ScriptExecutionsListOptionalParams
|
|
139
|
+
options?: ScriptExecutionsListOptionalParams,
|
|
140
140
|
): Promise<ScriptExecutionsListResponse> {
|
|
141
141
|
return this.client.sendOperationRequest(
|
|
142
142
|
{ resourceGroupName, privateCloudName, options },
|
|
143
|
-
listOperationSpec
|
|
143
|
+
listOperationSpec,
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* Get
|
|
148
|
+
* Get a ScriptExecution
|
|
149
149
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
150
150
|
* @param privateCloudName Name of the private cloud
|
|
151
|
-
* @param scriptExecutionName Name of the
|
|
151
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
152
152
|
* @param options The options parameters.
|
|
153
153
|
*/
|
|
154
154
|
get(
|
|
155
155
|
resourceGroupName: string,
|
|
156
156
|
privateCloudName: string,
|
|
157
157
|
scriptExecutionName: string,
|
|
158
|
-
options?: ScriptExecutionsGetOptionalParams
|
|
158
|
+
options?: ScriptExecutionsGetOptionalParams,
|
|
159
159
|
): Promise<ScriptExecutionsGetResponse> {
|
|
160
160
|
return this.client.sendOperationRequest(
|
|
161
161
|
{ resourceGroupName, privateCloudName, scriptExecutionName, options },
|
|
162
|
-
getOperationSpec
|
|
162
|
+
getOperationSpec,
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* Create
|
|
167
|
+
* Create a ScriptExecution
|
|
168
168
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
|
-
* @param privateCloudName
|
|
170
|
-
* @param scriptExecutionName Name of the
|
|
171
|
-
* @param scriptExecution
|
|
169
|
+
* @param privateCloudName Name of the private cloud
|
|
170
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
171
|
+
* @param scriptExecution Resource create parameters.
|
|
172
172
|
* @param options The options parameters.
|
|
173
173
|
*/
|
|
174
174
|
async beginCreateOrUpdate(
|
|
@@ -176,7 +176,7 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
176
176
|
privateCloudName: string,
|
|
177
177
|
scriptExecutionName: string,
|
|
178
178
|
scriptExecution: ScriptExecution,
|
|
179
|
-
options?: ScriptExecutionsCreateOrUpdateOptionalParams
|
|
179
|
+
options?: ScriptExecutionsCreateOrUpdateOptionalParams,
|
|
180
180
|
): Promise<
|
|
181
181
|
SimplePollerLike<
|
|
182
182
|
OperationState<ScriptExecutionsCreateOrUpdateResponse>,
|
|
@@ -185,21 +185,20 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
185
185
|
> {
|
|
186
186
|
const directSendOperation = async (
|
|
187
187
|
args: coreClient.OperationArguments,
|
|
188
|
-
spec: coreClient.OperationSpec
|
|
188
|
+
spec: coreClient.OperationSpec,
|
|
189
189
|
): Promise<ScriptExecutionsCreateOrUpdateResponse> => {
|
|
190
190
|
return this.client.sendOperationRequest(args, spec);
|
|
191
191
|
};
|
|
192
192
|
const sendOperationFn = async (
|
|
193
193
|
args: coreClient.OperationArguments,
|
|
194
|
-
spec: coreClient.OperationSpec
|
|
194
|
+
spec: coreClient.OperationSpec,
|
|
195
195
|
) => {
|
|
196
|
-
let currentRawResponse:
|
|
197
|
-
|
|
198
|
-
| undefined = undefined;
|
|
196
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
197
|
+
undefined;
|
|
199
198
|
const providedCallback = args.options?.onResponse;
|
|
200
199
|
const callback: coreClient.RawResponseCallback = (
|
|
201
200
|
rawResponse: coreClient.FullOperationResponse,
|
|
202
|
-
flatResponse: unknown
|
|
201
|
+
flatResponse: unknown,
|
|
203
202
|
) => {
|
|
204
203
|
currentRawResponse = rawResponse;
|
|
205
204
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -208,8 +207,8 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
208
207
|
...args,
|
|
209
208
|
options: {
|
|
210
209
|
...args.options,
|
|
211
|
-
onResponse: callback
|
|
212
|
-
}
|
|
210
|
+
onResponse: callback,
|
|
211
|
+
},
|
|
213
212
|
};
|
|
214
213
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
215
214
|
return {
|
|
@@ -217,8 +216,8 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
217
216
|
rawResponse: {
|
|
218
217
|
statusCode: currentRawResponse!.status,
|
|
219
218
|
body: currentRawResponse!.parsedBody,
|
|
220
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
221
|
-
}
|
|
219
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
220
|
+
},
|
|
222
221
|
};
|
|
223
222
|
};
|
|
224
223
|
|
|
@@ -229,27 +228,28 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
229
228
|
privateCloudName,
|
|
230
229
|
scriptExecutionName,
|
|
231
230
|
scriptExecution,
|
|
232
|
-
options
|
|
231
|
+
options,
|
|
233
232
|
},
|
|
234
|
-
spec: createOrUpdateOperationSpec
|
|
233
|
+
spec: createOrUpdateOperationSpec,
|
|
235
234
|
});
|
|
236
235
|
const poller = await createHttpPoller<
|
|
237
236
|
ScriptExecutionsCreateOrUpdateResponse,
|
|
238
237
|
OperationState<ScriptExecutionsCreateOrUpdateResponse>
|
|
239
238
|
>(lro, {
|
|
240
239
|
restoreFrom: options?.resumeFrom,
|
|
241
|
-
intervalInMs: options?.updateIntervalInMs
|
|
240
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
241
|
+
resourceLocationConfig: "azure-async-operation",
|
|
242
242
|
});
|
|
243
243
|
await poller.poll();
|
|
244
244
|
return poller;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* Create
|
|
248
|
+
* Create a ScriptExecution
|
|
249
249
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
250
|
-
* @param privateCloudName
|
|
251
|
-
* @param scriptExecutionName Name of the
|
|
252
|
-
* @param scriptExecution
|
|
250
|
+
* @param privateCloudName Name of the private cloud
|
|
251
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
252
|
+
* @param scriptExecution Resource create parameters.
|
|
253
253
|
* @param options The options parameters.
|
|
254
254
|
*/
|
|
255
255
|
async beginCreateOrUpdateAndWait(
|
|
@@ -257,48 +257,47 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
257
257
|
privateCloudName: string,
|
|
258
258
|
scriptExecutionName: string,
|
|
259
259
|
scriptExecution: ScriptExecution,
|
|
260
|
-
options?: ScriptExecutionsCreateOrUpdateOptionalParams
|
|
260
|
+
options?: ScriptExecutionsCreateOrUpdateOptionalParams,
|
|
261
261
|
): Promise<ScriptExecutionsCreateOrUpdateResponse> {
|
|
262
262
|
const poller = await this.beginCreateOrUpdate(
|
|
263
263
|
resourceGroupName,
|
|
264
264
|
privateCloudName,
|
|
265
265
|
scriptExecutionName,
|
|
266
266
|
scriptExecution,
|
|
267
|
-
options
|
|
267
|
+
options,
|
|
268
268
|
);
|
|
269
269
|
return poller.pollUntilDone();
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
*
|
|
273
|
+
* Delete a ScriptExecution
|
|
274
274
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
275
275
|
* @param privateCloudName Name of the private cloud
|
|
276
|
-
* @param scriptExecutionName Name of the
|
|
276
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
277
277
|
* @param options The options parameters.
|
|
278
278
|
*/
|
|
279
279
|
async beginDelete(
|
|
280
280
|
resourceGroupName: string,
|
|
281
281
|
privateCloudName: string,
|
|
282
282
|
scriptExecutionName: string,
|
|
283
|
-
options?: ScriptExecutionsDeleteOptionalParams
|
|
283
|
+
options?: ScriptExecutionsDeleteOptionalParams,
|
|
284
284
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
285
285
|
const directSendOperation = async (
|
|
286
286
|
args: coreClient.OperationArguments,
|
|
287
|
-
spec: coreClient.OperationSpec
|
|
287
|
+
spec: coreClient.OperationSpec,
|
|
288
288
|
): Promise<void> => {
|
|
289
289
|
return this.client.sendOperationRequest(args, spec);
|
|
290
290
|
};
|
|
291
291
|
const sendOperationFn = async (
|
|
292
292
|
args: coreClient.OperationArguments,
|
|
293
|
-
spec: coreClient.OperationSpec
|
|
293
|
+
spec: coreClient.OperationSpec,
|
|
294
294
|
) => {
|
|
295
|
-
let currentRawResponse:
|
|
296
|
-
|
|
297
|
-
| undefined = undefined;
|
|
295
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
296
|
+
undefined;
|
|
298
297
|
const providedCallback = args.options?.onResponse;
|
|
299
298
|
const callback: coreClient.RawResponseCallback = (
|
|
300
299
|
rawResponse: coreClient.FullOperationResponse,
|
|
301
|
-
flatResponse: unknown
|
|
300
|
+
flatResponse: unknown,
|
|
302
301
|
) => {
|
|
303
302
|
currentRawResponse = rawResponse;
|
|
304
303
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -307,8 +306,8 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
307
306
|
...args,
|
|
308
307
|
options: {
|
|
309
308
|
...args.options,
|
|
310
|
-
onResponse: callback
|
|
311
|
-
}
|
|
309
|
+
onResponse: callback,
|
|
310
|
+
},
|
|
312
311
|
};
|
|
313
312
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
314
313
|
return {
|
|
@@ -316,8 +315,8 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
316
315
|
rawResponse: {
|
|
317
316
|
statusCode: currentRawResponse!.status,
|
|
318
317
|
body: currentRawResponse!.parsedBody,
|
|
319
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
320
|
-
}
|
|
318
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
319
|
+
},
|
|
321
320
|
};
|
|
322
321
|
};
|
|
323
322
|
|
|
@@ -327,36 +326,37 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
327
326
|
resourceGroupName,
|
|
328
327
|
privateCloudName,
|
|
329
328
|
scriptExecutionName,
|
|
330
|
-
options
|
|
329
|
+
options,
|
|
331
330
|
},
|
|
332
|
-
spec: deleteOperationSpec
|
|
331
|
+
spec: deleteOperationSpec,
|
|
333
332
|
});
|
|
334
333
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
335
334
|
restoreFrom: options?.resumeFrom,
|
|
336
|
-
intervalInMs: options?.updateIntervalInMs
|
|
335
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
336
|
+
resourceLocationConfig: "location",
|
|
337
337
|
});
|
|
338
338
|
await poller.poll();
|
|
339
339
|
return poller;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Delete a ScriptExecution
|
|
344
344
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
345
345
|
* @param privateCloudName Name of the private cloud
|
|
346
|
-
* @param scriptExecutionName Name of the
|
|
346
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
347
347
|
* @param options The options parameters.
|
|
348
348
|
*/
|
|
349
349
|
async beginDeleteAndWait(
|
|
350
350
|
resourceGroupName: string,
|
|
351
351
|
privateCloudName: string,
|
|
352
352
|
scriptExecutionName: string,
|
|
353
|
-
options?: ScriptExecutionsDeleteOptionalParams
|
|
353
|
+
options?: ScriptExecutionsDeleteOptionalParams,
|
|
354
354
|
): Promise<void> {
|
|
355
355
|
const poller = await this.beginDelete(
|
|
356
356
|
resourceGroupName,
|
|
357
357
|
privateCloudName,
|
|
358
358
|
scriptExecutionName,
|
|
359
|
-
options
|
|
359
|
+
options,
|
|
360
360
|
);
|
|
361
361
|
return poller.pollUntilDone();
|
|
362
362
|
}
|
|
@@ -365,18 +365,18 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
365
365
|
* Return the logs for a script execution resource
|
|
366
366
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
367
367
|
* @param privateCloudName Name of the private cloud
|
|
368
|
-
* @param scriptExecutionName Name of the
|
|
368
|
+
* @param scriptExecutionName Name of the script cmdlet.
|
|
369
369
|
* @param options The options parameters.
|
|
370
370
|
*/
|
|
371
371
|
getExecutionLogs(
|
|
372
372
|
resourceGroupName: string,
|
|
373
373
|
privateCloudName: string,
|
|
374
374
|
scriptExecutionName: string,
|
|
375
|
-
options?: ScriptExecutionsGetExecutionLogsOptionalParams
|
|
375
|
+
options?: ScriptExecutionsGetExecutionLogsOptionalParams,
|
|
376
376
|
): Promise<ScriptExecutionsGetExecutionLogsResponse> {
|
|
377
377
|
return this.client.sendOperationRequest(
|
|
378
378
|
{ resourceGroupName, privateCloudName, scriptExecutionName, options },
|
|
379
|
-
getExecutionLogsOperationSpec
|
|
379
|
+
getExecutionLogsOperationSpec,
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -391,11 +391,11 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
391
391
|
resourceGroupName: string,
|
|
392
392
|
privateCloudName: string,
|
|
393
393
|
nextLink: string,
|
|
394
|
-
options?: ScriptExecutionsListNextOptionalParams
|
|
394
|
+
options?: ScriptExecutionsListNextOptionalParams,
|
|
395
395
|
): Promise<ScriptExecutionsListNextResponse> {
|
|
396
396
|
return this.client.sendOperationRequest(
|
|
397
397
|
{ resourceGroupName, privateCloudName, nextLink, options },
|
|
398
|
-
listNextOperationSpec
|
|
398
|
+
listNextOperationSpec,
|
|
399
399
|
);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
@@ -403,38 +403,36 @@ export class ScriptExecutionsImpl implements ScriptExecutions {
|
|
|
403
403
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
404
404
|
|
|
405
405
|
const listOperationSpec: coreClient.OperationSpec = {
|
|
406
|
-
path:
|
|
407
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions",
|
|
406
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions",
|
|
408
407
|
httpMethod: "GET",
|
|
409
408
|
responses: {
|
|
410
409
|
200: {
|
|
411
|
-
bodyMapper: Mappers.
|
|
410
|
+
bodyMapper: Mappers.ScriptExecutionListResult,
|
|
412
411
|
},
|
|
413
412
|
default: {
|
|
414
|
-
bodyMapper: Mappers.ErrorResponse
|
|
415
|
-
}
|
|
413
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
414
|
+
},
|
|
416
415
|
},
|
|
417
416
|
queryParameters: [Parameters.apiVersion],
|
|
418
417
|
urlParameters: [
|
|
419
418
|
Parameters.$host,
|
|
420
419
|
Parameters.subscriptionId,
|
|
421
420
|
Parameters.resourceGroupName,
|
|
422
|
-
Parameters.privateCloudName
|
|
421
|
+
Parameters.privateCloudName,
|
|
423
422
|
],
|
|
424
423
|
headerParameters: [Parameters.accept],
|
|
425
|
-
serializer
|
|
424
|
+
serializer,
|
|
426
425
|
};
|
|
427
426
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
428
|
-
path:
|
|
429
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
427
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
430
428
|
httpMethod: "GET",
|
|
431
429
|
responses: {
|
|
432
430
|
200: {
|
|
433
|
-
bodyMapper: Mappers.ScriptExecution
|
|
431
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
434
432
|
},
|
|
435
433
|
default: {
|
|
436
|
-
bodyMapper: Mappers.ErrorResponse
|
|
437
|
-
}
|
|
434
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
435
|
+
},
|
|
438
436
|
},
|
|
439
437
|
queryParameters: [Parameters.apiVersion],
|
|
440
438
|
urlParameters: [
|
|
@@ -442,31 +440,30 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
442
440
|
Parameters.subscriptionId,
|
|
443
441
|
Parameters.resourceGroupName,
|
|
444
442
|
Parameters.privateCloudName,
|
|
445
|
-
Parameters.scriptExecutionName
|
|
443
|
+
Parameters.scriptExecutionName,
|
|
446
444
|
],
|
|
447
445
|
headerParameters: [Parameters.accept],
|
|
448
|
-
serializer
|
|
446
|
+
serializer,
|
|
449
447
|
};
|
|
450
448
|
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
451
|
-
path:
|
|
452
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
449
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
453
450
|
httpMethod: "PUT",
|
|
454
451
|
responses: {
|
|
455
452
|
200: {
|
|
456
|
-
bodyMapper: Mappers.ScriptExecution
|
|
453
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
457
454
|
},
|
|
458
455
|
201: {
|
|
459
|
-
bodyMapper: Mappers.ScriptExecution
|
|
456
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
460
457
|
},
|
|
461
458
|
202: {
|
|
462
|
-
bodyMapper: Mappers.ScriptExecution
|
|
459
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
463
460
|
},
|
|
464
461
|
204: {
|
|
465
|
-
bodyMapper: Mappers.ScriptExecution
|
|
462
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
466
463
|
},
|
|
467
464
|
default: {
|
|
468
|
-
bodyMapper: Mappers.ErrorResponse
|
|
469
|
-
}
|
|
465
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
466
|
+
},
|
|
470
467
|
},
|
|
471
468
|
requestBody: Parameters.scriptExecution,
|
|
472
469
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -474,16 +471,15 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
474
471
|
Parameters.$host,
|
|
475
472
|
Parameters.subscriptionId,
|
|
476
473
|
Parameters.resourceGroupName,
|
|
477
|
-
Parameters.
|
|
478
|
-
Parameters.scriptExecutionName
|
|
474
|
+
Parameters.privateCloudName,
|
|
475
|
+
Parameters.scriptExecutionName,
|
|
479
476
|
],
|
|
480
477
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
481
478
|
mediaType: "json",
|
|
482
|
-
serializer
|
|
479
|
+
serializer,
|
|
483
480
|
};
|
|
484
481
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
485
|
-
path:
|
|
486
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
482
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}",
|
|
487
483
|
httpMethod: "DELETE",
|
|
488
484
|
responses: {
|
|
489
485
|
200: {},
|
|
@@ -491,8 +487,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
491
487
|
202: {},
|
|
492
488
|
204: {},
|
|
493
489
|
default: {
|
|
494
|
-
bodyMapper: Mappers.ErrorResponse
|
|
495
|
-
}
|
|
490
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
491
|
+
},
|
|
496
492
|
},
|
|
497
493
|
queryParameters: [Parameters.apiVersion],
|
|
498
494
|
urlParameters: [
|
|
@@ -500,22 +496,21 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
500
496
|
Parameters.subscriptionId,
|
|
501
497
|
Parameters.resourceGroupName,
|
|
502
498
|
Parameters.privateCloudName,
|
|
503
|
-
Parameters.scriptExecutionName
|
|
499
|
+
Parameters.scriptExecutionName,
|
|
504
500
|
],
|
|
505
501
|
headerParameters: [Parameters.accept],
|
|
506
|
-
serializer
|
|
502
|
+
serializer,
|
|
507
503
|
};
|
|
508
504
|
const getExecutionLogsOperationSpec: coreClient.OperationSpec = {
|
|
509
|
-
path:
|
|
510
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs",
|
|
505
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs",
|
|
511
506
|
httpMethod: "POST",
|
|
512
507
|
responses: {
|
|
513
508
|
200: {
|
|
514
|
-
bodyMapper: Mappers.ScriptExecution
|
|
509
|
+
bodyMapper: Mappers.ScriptExecution,
|
|
515
510
|
},
|
|
516
511
|
default: {
|
|
517
|
-
bodyMapper: Mappers.ErrorResponse
|
|
518
|
-
}
|
|
512
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
513
|
+
},
|
|
519
514
|
},
|
|
520
515
|
requestBody: Parameters.scriptOutputStreamType,
|
|
521
516
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -524,30 +519,30 @@ const getExecutionLogsOperationSpec: coreClient.OperationSpec = {
|
|
|
524
519
|
Parameters.subscriptionId,
|
|
525
520
|
Parameters.resourceGroupName,
|
|
526
521
|
Parameters.privateCloudName,
|
|
527
|
-
Parameters.scriptExecutionName
|
|
522
|
+
Parameters.scriptExecutionName,
|
|
528
523
|
],
|
|
529
524
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
530
525
|
mediaType: "json",
|
|
531
|
-
serializer
|
|
526
|
+
serializer,
|
|
532
527
|
};
|
|
533
528
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
534
529
|
path: "{nextLink}",
|
|
535
530
|
httpMethod: "GET",
|
|
536
531
|
responses: {
|
|
537
532
|
200: {
|
|
538
|
-
bodyMapper: Mappers.
|
|
533
|
+
bodyMapper: Mappers.ScriptExecutionListResult,
|
|
539
534
|
},
|
|
540
535
|
default: {
|
|
541
|
-
bodyMapper: Mappers.ErrorResponse
|
|
542
|
-
}
|
|
536
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
537
|
+
},
|
|
543
538
|
},
|
|
544
539
|
urlParameters: [
|
|
545
540
|
Parameters.$host,
|
|
546
541
|
Parameters.nextLink,
|
|
547
542
|
Parameters.subscriptionId,
|
|
548
543
|
Parameters.resourceGroupName,
|
|
549
|
-
Parameters.privateCloudName
|
|
544
|
+
Parameters.privateCloudName,
|
|
550
545
|
],
|
|
551
546
|
headerParameters: [Parameters.accept],
|
|
552
|
-
serializer
|
|
547
|
+
serializer,
|
|
553
548
|
};
|