@azure/arm-scvmm 1.0.0-beta.2 → 1.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 +3 -13
- package/LICENSE +1 -1
- package/README.md +14 -14
- package/dist/index.js +5281 -3757
- 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/availabilitySetsCreateOrUpdateSample.js +49 -15
- package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +38 -9
- package/dist-esm/samples-dev/availabilitySetsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsGetSample.js +36 -9
- package/dist-esm/samples-dev/availabilitySetsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js +55 -11
- package/dist-esm/samples-dev/availabilitySetsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +53 -10
- package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +40 -10
- package/dist-esm/samples-dev/availabilitySetsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js +48 -15
- package/dist-esm/samples-dev/cloudsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsDeleteSample.js +38 -9
- package/dist-esm/samples-dev/cloudsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsGetSample.js +36 -9
- package/dist-esm/samples-dev/cloudsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js +55 -11
- package/dist-esm/samples-dev/cloudsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js +53 -10
- package/dist-esm/samples-dev/cloudsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudsUpdateSample.js +40 -10
- package/dist-esm/samples-dev/cloudsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/guestAgentsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/guestAgentsCreateSample.js +63 -0
- package/dist-esm/samples-dev/guestAgentsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/guestAgentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/guestAgentsDeleteSample.js +52 -0
- package/dist-esm/samples-dev/guestAgentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/guestAgentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/guestAgentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/guestAgentsGetSample.js +52 -0
- package/dist-esm/samples-dev/guestAgentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js +84 -0
- package/dist-esm/samples-dev/guestAgentsListByVirtualMachineInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/inventoryItemsCreateSample.js +43 -12
- package/dist-esm/samples-dev/inventoryItemsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/inventoryItemsDeleteSample.js +38 -10
- package/dist-esm/samples-dev/inventoryItemsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/inventoryItemsGetSample.js +38 -10
- package/dist-esm/samples-dev/inventoryItemsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js +59 -14
- package/dist-esm/samples-dev/inventoryItemsListByVmmServerSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +55 -12
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js +57 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateCheckpointSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js +127 -0
- package/dist-esm/samples-dev/virtualMachineInstancesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js +56 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteCheckpointSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js +58 -0
- package/dist-esm/samples-dev/virtualMachineInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js +52 -0
- package/dist-esm/samples-dev/virtualMachineInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesListSample.js +84 -0
- package/dist-esm/samples-dev/virtualMachineInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js +52 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestartSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js +54 -0
- package/dist-esm/samples-dev/virtualMachineInstancesRestoreCheckpointSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js +52 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStartSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js +54 -0
- package/dist-esm/samples-dev/virtualMachineInstancesStopSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js +99 -0
- package/dist-esm/samples-dev/virtualMachineInstancesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js +55 -15
- package/dist-esm/samples-dev/virtualMachineTemplatesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js +37 -8
- package/dist-esm/samples-dev/virtualMachineTemplatesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js +35 -8
- package/dist-esm/samples-dev/virtualMachineTemplatesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js +55 -11
- package/dist-esm/samples-dev/virtualMachineTemplatesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js +53 -10
- package/dist-esm/samples-dev/virtualMachineTemplatesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js +40 -10
- package/dist-esm/samples-dev/virtualMachineTemplatesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js +47 -15
- package/dist-esm/samples-dev/virtualNetworksCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksDeleteSample.js +37 -8
- package/dist-esm/samples-dev/virtualNetworksDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksGetSample.js +35 -8
- package/dist-esm/samples-dev/virtualNetworksGetSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js +55 -11
- package/dist-esm/samples-dev/virtualNetworksListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js +53 -10
- package/dist-esm/samples-dev/virtualNetworksListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualNetworksUpdateSample.js +38 -10
- package/dist-esm/samples-dev/virtualNetworksUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js +52 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasGetSample.js.map +1 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js +84 -0
- package/dist-esm/samples-dev/vmInstanceHybridIdentityMetadatasListByVirtualMachineInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js +52 -18
- package/dist-esm/samples-dev/vmmServersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/vmmServersDeleteSample.js +39 -10
- package/dist-esm/samples-dev/vmmServersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/vmmServersGetSample.js +37 -10
- package/dist-esm/samples-dev/vmmServersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js +55 -11
- package/dist-esm/samples-dev/vmmServersListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js +53 -10
- package/dist-esm/samples-dev/vmmServersListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/vmmServersUpdateSample.js +40 -10
- package/dist-esm/samples-dev/vmmServersUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +2 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +2 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +1320 -859
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +112 -34
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +83 -38
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +2251 -1581
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +25 -20
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +184 -131
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilitySets.d.ts +50 -50
- package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilitySets.js +259 -203
- package/dist-esm/src/operations/availabilitySets.js.map +1 -1
- package/dist-esm/src/operations/clouds.d.ts +50 -50
- package/dist-esm/src/operations/clouds.d.ts.map +1 -1
- package/dist-esm/src/operations/clouds.js +248 -203
- package/dist-esm/src/operations/clouds.js.map +1 -1
- package/dist-esm/src/operations/guestAgents.d.ts +63 -0
- package/dist-esm/src/operations/guestAgents.d.ts.map +1 -0
- package/dist-esm/src/operations/guestAgents.js +273 -0
- package/dist-esm/src/operations/guestAgents.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -4
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +6 -4
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/inventoryItems.d.ts +33 -32
- package/dist-esm/src/operations/inventoryItems.d.ts.map +1 -1
- package/dist-esm/src/operations/inventoryItems.js +116 -93
- package/dist-esm/src/operations/inventoryItems.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +6 -6
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +36 -23
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineInstances.d.ts +164 -0
- package/dist-esm/src/operations/virtualMachineInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineInstances.js +907 -0
- package/dist-esm/src/operations/virtualMachineInstances.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts +44 -44
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineTemplates.js +246 -191
- package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -1
- package/dist-esm/src/operations/virtualNetworks.d.ts +44 -44
- package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualNetworks.js +236 -191
- package/dist-esm/src/operations/virtualNetworks.js.map +1 -1
- package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts +42 -0
- package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
- package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js +165 -0
- package/dist-esm/src/operations/vmInstanceHybridIdentityMetadatas.js.map +1 -0
- package/dist-esm/src/operations/vmmServers.d.ts +52 -52
- package/dist-esm/src/operations/vmmServers.d.ts.map +1 -1
- package/dist-esm/src/operations/vmmServers.js +246 -201
- package/dist-esm/src/operations/vmmServers.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts +36 -36
- package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/clouds.d.ts +36 -36
- package/dist-esm/src/operationsInterfaces/clouds.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/guestAgents.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/guestAgents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{virtualMachines.js → guestAgents.js} +1 -1
- package/dist-esm/src/operationsInterfaces/guestAgents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -4
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +6 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts +20 -19
- package/dist-esm/src/operationsInterfaces/inventoryItems.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts +141 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +28 -28
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +28 -28
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js +9 -0
- package/dist-esm/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/vmmServers.d.ts +38 -38
- package/dist-esm/src/operationsInterfaces/vmmServers.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/scVmm.d.ts +30 -0
- package/dist-esm/src/scVmm.d.ts.map +1 -0
- package/dist-esm/src/{scvmm.js → scVmm.js} +41 -39
- package/dist-esm/src/scVmm.js.map +1 -0
- package/dist-esm/test/scvmm_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/scvmm_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/scvmm_operations_test.spec.js +74 -0
- package/dist-esm/test/scvmm_operations_test.spec.js.map +1 -0
- package/package.json +26 -29
- package/review/arm-scvmm.api.md +727 -330
- package/src/index.ts +2 -1
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +1487 -909
- package/src/models/mappers.ts +2339 -1570
- package/src/models/parameters.ts +209 -144
- package/src/operations/availabilitySets.ts +370 -314
- package/src/operations/clouds.ts +354 -311
- package/src/operations/guestAgents.ts +365 -0
- package/src/operations/index.ts +6 -4
- package/src/operations/inventoryItems.ts +148 -128
- package/src/operations/operations.ts +45 -33
- package/src/operations/virtualMachineInstances.ts +1239 -0
- package/src/operations/virtualMachineTemplates.ts +351 -296
- package/src/operations/virtualNetworks.ts +341 -296
- package/src/operations/vmInstanceHybridIdentityMetadatas.ts +214 -0
- package/src/operations/vmmServers.ts +357 -311
- package/src/operationsInterfaces/availabilitySets.ts +71 -65
- package/src/operationsInterfaces/clouds.ts +66 -63
- package/src/operationsInterfaces/guestAgents.ts +78 -0
- package/src/operationsInterfaces/index.ts +6 -4
- package/src/operationsInterfaces/inventoryItems.ts +32 -30
- package/src/operationsInterfaces/operations.ts +4 -7
- package/src/operationsInterfaces/virtualMachineInstances.ts +295 -0
- package/src/operationsInterfaces/virtualMachineTemplates.ts +57 -51
- package/src/operationsInterfaces/virtualNetworks.ts +57 -51
- package/src/operationsInterfaces/vmInstanceHybridIdentityMetadatas.ts +38 -0
- package/src/operationsInterfaces/vmmServers.ts +70 -64
- package/src/pagingHelper.ts +39 -0
- package/src/{scvmm.ts → scVmm.ts} +86 -57
- package/types/arm-scvmm.d.ts +1508 -913
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js +0 -36
- package/dist-esm/samples-dev/virtualMachinesCreateCheckpointSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +0 -42
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js +0 -33
- package/dist-esm/samples-dev/virtualMachinesDeleteCheckpointSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +0 -31
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +0 -31
- package/dist-esm/samples-dev/virtualMachinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/virtualMachinesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/virtualMachinesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestartSample.js +0 -31
- package/dist-esm/samples-dev/virtualMachinesRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js +0 -33
- package/dist-esm/samples-dev/virtualMachinesRestoreCheckpointSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.js +0 -31
- package/dist-esm/samples-dev/virtualMachinesStartSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesStopSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesStopSample.js +0 -33
- package/dist-esm/samples-dev/virtualMachinesStopSample.js.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +0 -48
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.js.map +0 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +0 -191
- package/dist-esm/src/operations/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/virtualMachines.js +0 -955
- package/dist-esm/src/operations/virtualMachines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +0 -155
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +0 -1
- package/dist-esm/src/scvmm.d.ts +0 -28
- package/dist-esm/src/scvmm.d.ts.map +0 -1
- package/dist-esm/src/scvmm.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/operations/virtualMachines.ts +0 -1327
- package/src/operationsInterfaces/virtualMachines.ts +0 -277
|
@@ -1,1327 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import { VirtualMachines } from "../operationsInterfaces";
|
|
11
|
-
import * as coreClient from "@azure/core-client";
|
|
12
|
-
import * as Mappers from "../models/mappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
import { Scvmm } from "../scvmm";
|
|
15
|
-
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
-
import { LroImpl } from "../lroImpl";
|
|
17
|
-
import {
|
|
18
|
-
VirtualMachine,
|
|
19
|
-
VirtualMachinesListByResourceGroupNextOptionalParams,
|
|
20
|
-
VirtualMachinesListByResourceGroupOptionalParams,
|
|
21
|
-
VirtualMachinesListBySubscriptionNextOptionalParams,
|
|
22
|
-
VirtualMachinesListBySubscriptionOptionalParams,
|
|
23
|
-
VirtualMachinesGetOptionalParams,
|
|
24
|
-
VirtualMachinesGetResponse,
|
|
25
|
-
VirtualMachinesCreateOrUpdateOptionalParams,
|
|
26
|
-
VirtualMachinesCreateOrUpdateResponse,
|
|
27
|
-
VirtualMachinesDeleteOptionalParams,
|
|
28
|
-
VirtualMachineUpdate,
|
|
29
|
-
VirtualMachinesUpdateOptionalParams,
|
|
30
|
-
VirtualMachinesUpdateResponse,
|
|
31
|
-
VirtualMachinesStopOptionalParams,
|
|
32
|
-
VirtualMachinesStartOptionalParams,
|
|
33
|
-
VirtualMachinesRestartOptionalParams,
|
|
34
|
-
VirtualMachinesCreateCheckpointOptionalParams,
|
|
35
|
-
VirtualMachinesDeleteCheckpointOptionalParams,
|
|
36
|
-
VirtualMachinesRestoreCheckpointOptionalParams,
|
|
37
|
-
VirtualMachinesListByResourceGroupResponse,
|
|
38
|
-
VirtualMachinesListBySubscriptionResponse,
|
|
39
|
-
VirtualMachinesListByResourceGroupNextResponse,
|
|
40
|
-
VirtualMachinesListBySubscriptionNextResponse
|
|
41
|
-
} from "../models";
|
|
42
|
-
|
|
43
|
-
/// <reference lib="esnext.asynciterable" />
|
|
44
|
-
/** Class containing VirtualMachines operations. */
|
|
45
|
-
export class VirtualMachinesImpl implements VirtualMachines {
|
|
46
|
-
private readonly client: Scvmm;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Initialize a new instance of the class VirtualMachines class.
|
|
50
|
-
* @param client Reference to the service client
|
|
51
|
-
*/
|
|
52
|
-
constructor(client: Scvmm) {
|
|
53
|
-
this.client = client;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* List of VirtualMachines in a resource group.
|
|
58
|
-
* @param resourceGroupName The name of the resource group.
|
|
59
|
-
* @param options The options parameters.
|
|
60
|
-
*/
|
|
61
|
-
public listByResourceGroup(
|
|
62
|
-
resourceGroupName: string,
|
|
63
|
-
options?: VirtualMachinesListByResourceGroupOptionalParams
|
|
64
|
-
): PagedAsyncIterableIterator<VirtualMachine> {
|
|
65
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
66
|
-
return {
|
|
67
|
-
next() {
|
|
68
|
-
return iter.next();
|
|
69
|
-
},
|
|
70
|
-
[Symbol.asyncIterator]() {
|
|
71
|
-
return this;
|
|
72
|
-
},
|
|
73
|
-
byPage: () => {
|
|
74
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
private async *listByResourceGroupPagingPage(
|
|
80
|
-
resourceGroupName: string,
|
|
81
|
-
options?: VirtualMachinesListByResourceGroupOptionalParams
|
|
82
|
-
): AsyncIterableIterator<VirtualMachine[]> {
|
|
83
|
-
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
84
|
-
yield result.value || [];
|
|
85
|
-
let continuationToken = result.nextLink;
|
|
86
|
-
while (continuationToken) {
|
|
87
|
-
result = await this._listByResourceGroupNext(
|
|
88
|
-
resourceGroupName,
|
|
89
|
-
continuationToken,
|
|
90
|
-
options
|
|
91
|
-
);
|
|
92
|
-
continuationToken = result.nextLink;
|
|
93
|
-
yield result.value || [];
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private async *listByResourceGroupPagingAll(
|
|
98
|
-
resourceGroupName: string,
|
|
99
|
-
options?: VirtualMachinesListByResourceGroupOptionalParams
|
|
100
|
-
): AsyncIterableIterator<VirtualMachine> {
|
|
101
|
-
for await (const page of this.listByResourceGroupPagingPage(
|
|
102
|
-
resourceGroupName,
|
|
103
|
-
options
|
|
104
|
-
)) {
|
|
105
|
-
yield* page;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* List of VirtualMachines in a subscription.
|
|
111
|
-
* @param options The options parameters.
|
|
112
|
-
*/
|
|
113
|
-
public listBySubscription(
|
|
114
|
-
options?: VirtualMachinesListBySubscriptionOptionalParams
|
|
115
|
-
): PagedAsyncIterableIterator<VirtualMachine> {
|
|
116
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
117
|
-
return {
|
|
118
|
-
next() {
|
|
119
|
-
return iter.next();
|
|
120
|
-
},
|
|
121
|
-
[Symbol.asyncIterator]() {
|
|
122
|
-
return this;
|
|
123
|
-
},
|
|
124
|
-
byPage: () => {
|
|
125
|
-
return this.listBySubscriptionPagingPage(options);
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private async *listBySubscriptionPagingPage(
|
|
131
|
-
options?: VirtualMachinesListBySubscriptionOptionalParams
|
|
132
|
-
): AsyncIterableIterator<VirtualMachine[]> {
|
|
133
|
-
let result = await this._listBySubscription(options);
|
|
134
|
-
yield result.value || [];
|
|
135
|
-
let continuationToken = result.nextLink;
|
|
136
|
-
while (continuationToken) {
|
|
137
|
-
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
138
|
-
continuationToken = result.nextLink;
|
|
139
|
-
yield result.value || [];
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
private async *listBySubscriptionPagingAll(
|
|
144
|
-
options?: VirtualMachinesListBySubscriptionOptionalParams
|
|
145
|
-
): AsyncIterableIterator<VirtualMachine> {
|
|
146
|
-
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
147
|
-
yield* page;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Implements VirtualMachine GET method.
|
|
153
|
-
* @param resourceGroupName The name of the resource group.
|
|
154
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
155
|
-
* @param options The options parameters.
|
|
156
|
-
*/
|
|
157
|
-
get(
|
|
158
|
-
resourceGroupName: string,
|
|
159
|
-
virtualMachineName: string,
|
|
160
|
-
options?: VirtualMachinesGetOptionalParams
|
|
161
|
-
): Promise<VirtualMachinesGetResponse> {
|
|
162
|
-
return this.client.sendOperationRequest(
|
|
163
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
164
|
-
getOperationSpec
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Creates Or Updates virtual machines deployed on scvmm fabric.
|
|
170
|
-
* @param resourceGroupName The name of the resource group.
|
|
171
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
172
|
-
* @param body Request payload.
|
|
173
|
-
* @param options The options parameters.
|
|
174
|
-
*/
|
|
175
|
-
async beginCreateOrUpdate(
|
|
176
|
-
resourceGroupName: string,
|
|
177
|
-
virtualMachineName: string,
|
|
178
|
-
body: VirtualMachine,
|
|
179
|
-
options?: VirtualMachinesCreateOrUpdateOptionalParams
|
|
180
|
-
): Promise<
|
|
181
|
-
PollerLike<
|
|
182
|
-
PollOperationState<VirtualMachinesCreateOrUpdateResponse>,
|
|
183
|
-
VirtualMachinesCreateOrUpdateResponse
|
|
184
|
-
>
|
|
185
|
-
> {
|
|
186
|
-
const directSendOperation = async (
|
|
187
|
-
args: coreClient.OperationArguments,
|
|
188
|
-
spec: coreClient.OperationSpec
|
|
189
|
-
): Promise<VirtualMachinesCreateOrUpdateResponse> => {
|
|
190
|
-
return this.client.sendOperationRequest(args, spec);
|
|
191
|
-
};
|
|
192
|
-
const sendOperation = async (
|
|
193
|
-
args: coreClient.OperationArguments,
|
|
194
|
-
spec: coreClient.OperationSpec
|
|
195
|
-
) => {
|
|
196
|
-
let currentRawResponse:
|
|
197
|
-
| coreClient.FullOperationResponse
|
|
198
|
-
| undefined = undefined;
|
|
199
|
-
const providedCallback = args.options?.onResponse;
|
|
200
|
-
const callback: coreClient.RawResponseCallback = (
|
|
201
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
202
|
-
flatResponse: unknown
|
|
203
|
-
) => {
|
|
204
|
-
currentRawResponse = rawResponse;
|
|
205
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
206
|
-
};
|
|
207
|
-
const updatedArgs = {
|
|
208
|
-
...args,
|
|
209
|
-
options: {
|
|
210
|
-
...args.options,
|
|
211
|
-
onResponse: callback
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
215
|
-
return {
|
|
216
|
-
flatResponse,
|
|
217
|
-
rawResponse: {
|
|
218
|
-
statusCode: currentRawResponse!.status,
|
|
219
|
-
body: currentRawResponse!.parsedBody,
|
|
220
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
const lro = new LroImpl(
|
|
226
|
-
sendOperation,
|
|
227
|
-
{ resourceGroupName, virtualMachineName, body, options },
|
|
228
|
-
createOrUpdateOperationSpec
|
|
229
|
-
);
|
|
230
|
-
const poller = new LroEngine(lro, {
|
|
231
|
-
resumeFrom: options?.resumeFrom,
|
|
232
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
233
|
-
lroResourceLocationConfig: "azure-async-operation"
|
|
234
|
-
});
|
|
235
|
-
await poller.poll();
|
|
236
|
-
return poller;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Creates Or Updates virtual machines deployed on scvmm fabric.
|
|
241
|
-
* @param resourceGroupName The name of the resource group.
|
|
242
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
243
|
-
* @param body Request payload.
|
|
244
|
-
* @param options The options parameters.
|
|
245
|
-
*/
|
|
246
|
-
async beginCreateOrUpdateAndWait(
|
|
247
|
-
resourceGroupName: string,
|
|
248
|
-
virtualMachineName: string,
|
|
249
|
-
body: VirtualMachine,
|
|
250
|
-
options?: VirtualMachinesCreateOrUpdateOptionalParams
|
|
251
|
-
): Promise<VirtualMachinesCreateOrUpdateResponse> {
|
|
252
|
-
const poller = await this.beginCreateOrUpdate(
|
|
253
|
-
resourceGroupName,
|
|
254
|
-
virtualMachineName,
|
|
255
|
-
body,
|
|
256
|
-
options
|
|
257
|
-
);
|
|
258
|
-
return poller.pollUntilDone();
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Deletes a VirtualMachine deployed on ScVmm fabric.
|
|
263
|
-
* @param resourceGroupName The name of the resource group.
|
|
264
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
265
|
-
* @param options The options parameters.
|
|
266
|
-
*/
|
|
267
|
-
async beginDelete(
|
|
268
|
-
resourceGroupName: string,
|
|
269
|
-
virtualMachineName: string,
|
|
270
|
-
options?: VirtualMachinesDeleteOptionalParams
|
|
271
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
272
|
-
const directSendOperation = async (
|
|
273
|
-
args: coreClient.OperationArguments,
|
|
274
|
-
spec: coreClient.OperationSpec
|
|
275
|
-
): Promise<void> => {
|
|
276
|
-
return this.client.sendOperationRequest(args, spec);
|
|
277
|
-
};
|
|
278
|
-
const sendOperation = async (
|
|
279
|
-
args: coreClient.OperationArguments,
|
|
280
|
-
spec: coreClient.OperationSpec
|
|
281
|
-
) => {
|
|
282
|
-
let currentRawResponse:
|
|
283
|
-
| coreClient.FullOperationResponse
|
|
284
|
-
| undefined = undefined;
|
|
285
|
-
const providedCallback = args.options?.onResponse;
|
|
286
|
-
const callback: coreClient.RawResponseCallback = (
|
|
287
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
288
|
-
flatResponse: unknown
|
|
289
|
-
) => {
|
|
290
|
-
currentRawResponse = rawResponse;
|
|
291
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
292
|
-
};
|
|
293
|
-
const updatedArgs = {
|
|
294
|
-
...args,
|
|
295
|
-
options: {
|
|
296
|
-
...args.options,
|
|
297
|
-
onResponse: callback
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
301
|
-
return {
|
|
302
|
-
flatResponse,
|
|
303
|
-
rawResponse: {
|
|
304
|
-
statusCode: currentRawResponse!.status,
|
|
305
|
-
body: currentRawResponse!.parsedBody,
|
|
306
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
const lro = new LroImpl(
|
|
312
|
-
sendOperation,
|
|
313
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
314
|
-
deleteOperationSpec
|
|
315
|
-
);
|
|
316
|
-
const poller = new LroEngine(lro, {
|
|
317
|
-
resumeFrom: options?.resumeFrom,
|
|
318
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
319
|
-
lroResourceLocationConfig: "azure-async-operation"
|
|
320
|
-
});
|
|
321
|
-
await poller.poll();
|
|
322
|
-
return poller;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Deletes a VirtualMachine deployed on ScVmm fabric.
|
|
327
|
-
* @param resourceGroupName The name of the resource group.
|
|
328
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
329
|
-
* @param options The options parameters.
|
|
330
|
-
*/
|
|
331
|
-
async beginDeleteAndWait(
|
|
332
|
-
resourceGroupName: string,
|
|
333
|
-
virtualMachineName: string,
|
|
334
|
-
options?: VirtualMachinesDeleteOptionalParams
|
|
335
|
-
): Promise<void> {
|
|
336
|
-
const poller = await this.beginDelete(
|
|
337
|
-
resourceGroupName,
|
|
338
|
-
virtualMachineName,
|
|
339
|
-
options
|
|
340
|
-
);
|
|
341
|
-
return poller.pollUntilDone();
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Updates the VirtualMachines resource.
|
|
346
|
-
* @param resourceGroupName The name of the resource group.
|
|
347
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
348
|
-
* @param body VirtualMachines patch payload.
|
|
349
|
-
* @param options The options parameters.
|
|
350
|
-
*/
|
|
351
|
-
async beginUpdate(
|
|
352
|
-
resourceGroupName: string,
|
|
353
|
-
virtualMachineName: string,
|
|
354
|
-
body: VirtualMachineUpdate,
|
|
355
|
-
options?: VirtualMachinesUpdateOptionalParams
|
|
356
|
-
): Promise<
|
|
357
|
-
PollerLike<
|
|
358
|
-
PollOperationState<VirtualMachinesUpdateResponse>,
|
|
359
|
-
VirtualMachinesUpdateResponse
|
|
360
|
-
>
|
|
361
|
-
> {
|
|
362
|
-
const directSendOperation = async (
|
|
363
|
-
args: coreClient.OperationArguments,
|
|
364
|
-
spec: coreClient.OperationSpec
|
|
365
|
-
): Promise<VirtualMachinesUpdateResponse> => {
|
|
366
|
-
return this.client.sendOperationRequest(args, spec);
|
|
367
|
-
};
|
|
368
|
-
const sendOperation = async (
|
|
369
|
-
args: coreClient.OperationArguments,
|
|
370
|
-
spec: coreClient.OperationSpec
|
|
371
|
-
) => {
|
|
372
|
-
let currentRawResponse:
|
|
373
|
-
| coreClient.FullOperationResponse
|
|
374
|
-
| undefined = undefined;
|
|
375
|
-
const providedCallback = args.options?.onResponse;
|
|
376
|
-
const callback: coreClient.RawResponseCallback = (
|
|
377
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
378
|
-
flatResponse: unknown
|
|
379
|
-
) => {
|
|
380
|
-
currentRawResponse = rawResponse;
|
|
381
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
382
|
-
};
|
|
383
|
-
const updatedArgs = {
|
|
384
|
-
...args,
|
|
385
|
-
options: {
|
|
386
|
-
...args.options,
|
|
387
|
-
onResponse: callback
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
391
|
-
return {
|
|
392
|
-
flatResponse,
|
|
393
|
-
rawResponse: {
|
|
394
|
-
statusCode: currentRawResponse!.status,
|
|
395
|
-
body: currentRawResponse!.parsedBody,
|
|
396
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
const lro = new LroImpl(
|
|
402
|
-
sendOperation,
|
|
403
|
-
{ resourceGroupName, virtualMachineName, body, options },
|
|
404
|
-
updateOperationSpec
|
|
405
|
-
);
|
|
406
|
-
const poller = new LroEngine(lro, {
|
|
407
|
-
resumeFrom: options?.resumeFrom,
|
|
408
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
409
|
-
lroResourceLocationConfig: "azure-async-operation"
|
|
410
|
-
});
|
|
411
|
-
await poller.poll();
|
|
412
|
-
return poller;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Updates the VirtualMachines resource.
|
|
417
|
-
* @param resourceGroupName The name of the resource group.
|
|
418
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
419
|
-
* @param body VirtualMachines patch payload.
|
|
420
|
-
* @param options The options parameters.
|
|
421
|
-
*/
|
|
422
|
-
async beginUpdateAndWait(
|
|
423
|
-
resourceGroupName: string,
|
|
424
|
-
virtualMachineName: string,
|
|
425
|
-
body: VirtualMachineUpdate,
|
|
426
|
-
options?: VirtualMachinesUpdateOptionalParams
|
|
427
|
-
): Promise<VirtualMachinesUpdateResponse> {
|
|
428
|
-
const poller = await this.beginUpdate(
|
|
429
|
-
resourceGroupName,
|
|
430
|
-
virtualMachineName,
|
|
431
|
-
body,
|
|
432
|
-
options
|
|
433
|
-
);
|
|
434
|
-
return poller.pollUntilDone();
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Stop virtual machine.
|
|
439
|
-
* @param resourceGroupName The name of the resource group.
|
|
440
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
441
|
-
* @param options The options parameters.
|
|
442
|
-
*/
|
|
443
|
-
async beginStop(
|
|
444
|
-
resourceGroupName: string,
|
|
445
|
-
virtualMachineName: string,
|
|
446
|
-
options?: VirtualMachinesStopOptionalParams
|
|
447
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
448
|
-
const directSendOperation = async (
|
|
449
|
-
args: coreClient.OperationArguments,
|
|
450
|
-
spec: coreClient.OperationSpec
|
|
451
|
-
): Promise<void> => {
|
|
452
|
-
return this.client.sendOperationRequest(args, spec);
|
|
453
|
-
};
|
|
454
|
-
const sendOperation = async (
|
|
455
|
-
args: coreClient.OperationArguments,
|
|
456
|
-
spec: coreClient.OperationSpec
|
|
457
|
-
) => {
|
|
458
|
-
let currentRawResponse:
|
|
459
|
-
| coreClient.FullOperationResponse
|
|
460
|
-
| undefined = undefined;
|
|
461
|
-
const providedCallback = args.options?.onResponse;
|
|
462
|
-
const callback: coreClient.RawResponseCallback = (
|
|
463
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
464
|
-
flatResponse: unknown
|
|
465
|
-
) => {
|
|
466
|
-
currentRawResponse = rawResponse;
|
|
467
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
468
|
-
};
|
|
469
|
-
const updatedArgs = {
|
|
470
|
-
...args,
|
|
471
|
-
options: {
|
|
472
|
-
...args.options,
|
|
473
|
-
onResponse: callback
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
477
|
-
return {
|
|
478
|
-
flatResponse,
|
|
479
|
-
rawResponse: {
|
|
480
|
-
statusCode: currentRawResponse!.status,
|
|
481
|
-
body: currentRawResponse!.parsedBody,
|
|
482
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
};
|
|
486
|
-
|
|
487
|
-
const lro = new LroImpl(
|
|
488
|
-
sendOperation,
|
|
489
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
490
|
-
stopOperationSpec
|
|
491
|
-
);
|
|
492
|
-
const poller = new LroEngine(lro, {
|
|
493
|
-
resumeFrom: options?.resumeFrom,
|
|
494
|
-
intervalInMs: options?.updateIntervalInMs
|
|
495
|
-
});
|
|
496
|
-
await poller.poll();
|
|
497
|
-
return poller;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
/**
|
|
501
|
-
* Stop virtual machine.
|
|
502
|
-
* @param resourceGroupName The name of the resource group.
|
|
503
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
504
|
-
* @param options The options parameters.
|
|
505
|
-
*/
|
|
506
|
-
async beginStopAndWait(
|
|
507
|
-
resourceGroupName: string,
|
|
508
|
-
virtualMachineName: string,
|
|
509
|
-
options?: VirtualMachinesStopOptionalParams
|
|
510
|
-
): Promise<void> {
|
|
511
|
-
const poller = await this.beginStop(
|
|
512
|
-
resourceGroupName,
|
|
513
|
-
virtualMachineName,
|
|
514
|
-
options
|
|
515
|
-
);
|
|
516
|
-
return poller.pollUntilDone();
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Start virtual machine.
|
|
521
|
-
* @param resourceGroupName The name of the resource group.
|
|
522
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
523
|
-
* @param options The options parameters.
|
|
524
|
-
*/
|
|
525
|
-
async beginStart(
|
|
526
|
-
resourceGroupName: string,
|
|
527
|
-
virtualMachineName: string,
|
|
528
|
-
options?: VirtualMachinesStartOptionalParams
|
|
529
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
530
|
-
const directSendOperation = async (
|
|
531
|
-
args: coreClient.OperationArguments,
|
|
532
|
-
spec: coreClient.OperationSpec
|
|
533
|
-
): Promise<void> => {
|
|
534
|
-
return this.client.sendOperationRequest(args, spec);
|
|
535
|
-
};
|
|
536
|
-
const sendOperation = async (
|
|
537
|
-
args: coreClient.OperationArguments,
|
|
538
|
-
spec: coreClient.OperationSpec
|
|
539
|
-
) => {
|
|
540
|
-
let currentRawResponse:
|
|
541
|
-
| coreClient.FullOperationResponse
|
|
542
|
-
| undefined = undefined;
|
|
543
|
-
const providedCallback = args.options?.onResponse;
|
|
544
|
-
const callback: coreClient.RawResponseCallback = (
|
|
545
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
546
|
-
flatResponse: unknown
|
|
547
|
-
) => {
|
|
548
|
-
currentRawResponse = rawResponse;
|
|
549
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
550
|
-
};
|
|
551
|
-
const updatedArgs = {
|
|
552
|
-
...args,
|
|
553
|
-
options: {
|
|
554
|
-
...args.options,
|
|
555
|
-
onResponse: callback
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
559
|
-
return {
|
|
560
|
-
flatResponse,
|
|
561
|
-
rawResponse: {
|
|
562
|
-
statusCode: currentRawResponse!.status,
|
|
563
|
-
body: currentRawResponse!.parsedBody,
|
|
564
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
const lro = new LroImpl(
|
|
570
|
-
sendOperation,
|
|
571
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
572
|
-
startOperationSpec
|
|
573
|
-
);
|
|
574
|
-
const poller = new LroEngine(lro, {
|
|
575
|
-
resumeFrom: options?.resumeFrom,
|
|
576
|
-
intervalInMs: options?.updateIntervalInMs
|
|
577
|
-
});
|
|
578
|
-
await poller.poll();
|
|
579
|
-
return poller;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
/**
|
|
583
|
-
* Start virtual machine.
|
|
584
|
-
* @param resourceGroupName The name of the resource group.
|
|
585
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
586
|
-
* @param options The options parameters.
|
|
587
|
-
*/
|
|
588
|
-
async beginStartAndWait(
|
|
589
|
-
resourceGroupName: string,
|
|
590
|
-
virtualMachineName: string,
|
|
591
|
-
options?: VirtualMachinesStartOptionalParams
|
|
592
|
-
): Promise<void> {
|
|
593
|
-
const poller = await this.beginStart(
|
|
594
|
-
resourceGroupName,
|
|
595
|
-
virtualMachineName,
|
|
596
|
-
options
|
|
597
|
-
);
|
|
598
|
-
return poller.pollUntilDone();
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Restart virtual machine.
|
|
603
|
-
* @param resourceGroupName The name of the resource group.
|
|
604
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
605
|
-
* @param options The options parameters.
|
|
606
|
-
*/
|
|
607
|
-
async beginRestart(
|
|
608
|
-
resourceGroupName: string,
|
|
609
|
-
virtualMachineName: string,
|
|
610
|
-
options?: VirtualMachinesRestartOptionalParams
|
|
611
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
612
|
-
const directSendOperation = async (
|
|
613
|
-
args: coreClient.OperationArguments,
|
|
614
|
-
spec: coreClient.OperationSpec
|
|
615
|
-
): Promise<void> => {
|
|
616
|
-
return this.client.sendOperationRequest(args, spec);
|
|
617
|
-
};
|
|
618
|
-
const sendOperation = async (
|
|
619
|
-
args: coreClient.OperationArguments,
|
|
620
|
-
spec: coreClient.OperationSpec
|
|
621
|
-
) => {
|
|
622
|
-
let currentRawResponse:
|
|
623
|
-
| coreClient.FullOperationResponse
|
|
624
|
-
| undefined = undefined;
|
|
625
|
-
const providedCallback = args.options?.onResponse;
|
|
626
|
-
const callback: coreClient.RawResponseCallback = (
|
|
627
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
628
|
-
flatResponse: unknown
|
|
629
|
-
) => {
|
|
630
|
-
currentRawResponse = rawResponse;
|
|
631
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
632
|
-
};
|
|
633
|
-
const updatedArgs = {
|
|
634
|
-
...args,
|
|
635
|
-
options: {
|
|
636
|
-
...args.options,
|
|
637
|
-
onResponse: callback
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
641
|
-
return {
|
|
642
|
-
flatResponse,
|
|
643
|
-
rawResponse: {
|
|
644
|
-
statusCode: currentRawResponse!.status,
|
|
645
|
-
body: currentRawResponse!.parsedBody,
|
|
646
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
647
|
-
}
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
const lro = new LroImpl(
|
|
652
|
-
sendOperation,
|
|
653
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
654
|
-
restartOperationSpec
|
|
655
|
-
);
|
|
656
|
-
const poller = new LroEngine(lro, {
|
|
657
|
-
resumeFrom: options?.resumeFrom,
|
|
658
|
-
intervalInMs: options?.updateIntervalInMs
|
|
659
|
-
});
|
|
660
|
-
await poller.poll();
|
|
661
|
-
return poller;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Restart virtual machine.
|
|
666
|
-
* @param resourceGroupName The name of the resource group.
|
|
667
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
668
|
-
* @param options The options parameters.
|
|
669
|
-
*/
|
|
670
|
-
async beginRestartAndWait(
|
|
671
|
-
resourceGroupName: string,
|
|
672
|
-
virtualMachineName: string,
|
|
673
|
-
options?: VirtualMachinesRestartOptionalParams
|
|
674
|
-
): Promise<void> {
|
|
675
|
-
const poller = await this.beginRestart(
|
|
676
|
-
resourceGroupName,
|
|
677
|
-
virtualMachineName,
|
|
678
|
-
options
|
|
679
|
-
);
|
|
680
|
-
return poller.pollUntilDone();
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* Creates a checkpoint in virtual machine.
|
|
685
|
-
* @param resourceGroupName The name of the resource group.
|
|
686
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
687
|
-
* @param options The options parameters.
|
|
688
|
-
*/
|
|
689
|
-
async beginCreateCheckpoint(
|
|
690
|
-
resourceGroupName: string,
|
|
691
|
-
virtualMachineName: string,
|
|
692
|
-
options?: VirtualMachinesCreateCheckpointOptionalParams
|
|
693
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
694
|
-
const directSendOperation = async (
|
|
695
|
-
args: coreClient.OperationArguments,
|
|
696
|
-
spec: coreClient.OperationSpec
|
|
697
|
-
): Promise<void> => {
|
|
698
|
-
return this.client.sendOperationRequest(args, spec);
|
|
699
|
-
};
|
|
700
|
-
const sendOperation = async (
|
|
701
|
-
args: coreClient.OperationArguments,
|
|
702
|
-
spec: coreClient.OperationSpec
|
|
703
|
-
) => {
|
|
704
|
-
let currentRawResponse:
|
|
705
|
-
| coreClient.FullOperationResponse
|
|
706
|
-
| undefined = undefined;
|
|
707
|
-
const providedCallback = args.options?.onResponse;
|
|
708
|
-
const callback: coreClient.RawResponseCallback = (
|
|
709
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
710
|
-
flatResponse: unknown
|
|
711
|
-
) => {
|
|
712
|
-
currentRawResponse = rawResponse;
|
|
713
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
714
|
-
};
|
|
715
|
-
const updatedArgs = {
|
|
716
|
-
...args,
|
|
717
|
-
options: {
|
|
718
|
-
...args.options,
|
|
719
|
-
onResponse: callback
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
723
|
-
return {
|
|
724
|
-
flatResponse,
|
|
725
|
-
rawResponse: {
|
|
726
|
-
statusCode: currentRawResponse!.status,
|
|
727
|
-
body: currentRawResponse!.parsedBody,
|
|
728
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
};
|
|
732
|
-
|
|
733
|
-
const lro = new LroImpl(
|
|
734
|
-
sendOperation,
|
|
735
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
736
|
-
createCheckpointOperationSpec
|
|
737
|
-
);
|
|
738
|
-
const poller = new LroEngine(lro, {
|
|
739
|
-
resumeFrom: options?.resumeFrom,
|
|
740
|
-
intervalInMs: options?.updateIntervalInMs
|
|
741
|
-
});
|
|
742
|
-
await poller.poll();
|
|
743
|
-
return poller;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
* Creates a checkpoint in virtual machine.
|
|
748
|
-
* @param resourceGroupName The name of the resource group.
|
|
749
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
750
|
-
* @param options The options parameters.
|
|
751
|
-
*/
|
|
752
|
-
async beginCreateCheckpointAndWait(
|
|
753
|
-
resourceGroupName: string,
|
|
754
|
-
virtualMachineName: string,
|
|
755
|
-
options?: VirtualMachinesCreateCheckpointOptionalParams
|
|
756
|
-
): Promise<void> {
|
|
757
|
-
const poller = await this.beginCreateCheckpoint(
|
|
758
|
-
resourceGroupName,
|
|
759
|
-
virtualMachineName,
|
|
760
|
-
options
|
|
761
|
-
);
|
|
762
|
-
return poller.pollUntilDone();
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Deletes a checkpoint in virtual machine.
|
|
767
|
-
* @param resourceGroupName The name of the resource group.
|
|
768
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
769
|
-
* @param options The options parameters.
|
|
770
|
-
*/
|
|
771
|
-
async beginDeleteCheckpoint(
|
|
772
|
-
resourceGroupName: string,
|
|
773
|
-
virtualMachineName: string,
|
|
774
|
-
options?: VirtualMachinesDeleteCheckpointOptionalParams
|
|
775
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
776
|
-
const directSendOperation = async (
|
|
777
|
-
args: coreClient.OperationArguments,
|
|
778
|
-
spec: coreClient.OperationSpec
|
|
779
|
-
): Promise<void> => {
|
|
780
|
-
return this.client.sendOperationRequest(args, spec);
|
|
781
|
-
};
|
|
782
|
-
const sendOperation = async (
|
|
783
|
-
args: coreClient.OperationArguments,
|
|
784
|
-
spec: coreClient.OperationSpec
|
|
785
|
-
) => {
|
|
786
|
-
let currentRawResponse:
|
|
787
|
-
| coreClient.FullOperationResponse
|
|
788
|
-
| undefined = undefined;
|
|
789
|
-
const providedCallback = args.options?.onResponse;
|
|
790
|
-
const callback: coreClient.RawResponseCallback = (
|
|
791
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
792
|
-
flatResponse: unknown
|
|
793
|
-
) => {
|
|
794
|
-
currentRawResponse = rawResponse;
|
|
795
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
796
|
-
};
|
|
797
|
-
const updatedArgs = {
|
|
798
|
-
...args,
|
|
799
|
-
options: {
|
|
800
|
-
...args.options,
|
|
801
|
-
onResponse: callback
|
|
802
|
-
}
|
|
803
|
-
};
|
|
804
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
805
|
-
return {
|
|
806
|
-
flatResponse,
|
|
807
|
-
rawResponse: {
|
|
808
|
-
statusCode: currentRawResponse!.status,
|
|
809
|
-
body: currentRawResponse!.parsedBody,
|
|
810
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
811
|
-
}
|
|
812
|
-
};
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
const lro = new LroImpl(
|
|
816
|
-
sendOperation,
|
|
817
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
818
|
-
deleteCheckpointOperationSpec
|
|
819
|
-
);
|
|
820
|
-
const poller = new LroEngine(lro, {
|
|
821
|
-
resumeFrom: options?.resumeFrom,
|
|
822
|
-
intervalInMs: options?.updateIntervalInMs
|
|
823
|
-
});
|
|
824
|
-
await poller.poll();
|
|
825
|
-
return poller;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* Deletes a checkpoint in virtual machine.
|
|
830
|
-
* @param resourceGroupName The name of the resource group.
|
|
831
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
832
|
-
* @param options The options parameters.
|
|
833
|
-
*/
|
|
834
|
-
async beginDeleteCheckpointAndWait(
|
|
835
|
-
resourceGroupName: string,
|
|
836
|
-
virtualMachineName: string,
|
|
837
|
-
options?: VirtualMachinesDeleteCheckpointOptionalParams
|
|
838
|
-
): Promise<void> {
|
|
839
|
-
const poller = await this.beginDeleteCheckpoint(
|
|
840
|
-
resourceGroupName,
|
|
841
|
-
virtualMachineName,
|
|
842
|
-
options
|
|
843
|
-
);
|
|
844
|
-
return poller.pollUntilDone();
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Restores to a checkpoint in virtual machine.
|
|
849
|
-
* @param resourceGroupName The name of the resource group.
|
|
850
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
851
|
-
* @param options The options parameters.
|
|
852
|
-
*/
|
|
853
|
-
async beginRestoreCheckpoint(
|
|
854
|
-
resourceGroupName: string,
|
|
855
|
-
virtualMachineName: string,
|
|
856
|
-
options?: VirtualMachinesRestoreCheckpointOptionalParams
|
|
857
|
-
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
858
|
-
const directSendOperation = async (
|
|
859
|
-
args: coreClient.OperationArguments,
|
|
860
|
-
spec: coreClient.OperationSpec
|
|
861
|
-
): Promise<void> => {
|
|
862
|
-
return this.client.sendOperationRequest(args, spec);
|
|
863
|
-
};
|
|
864
|
-
const sendOperation = async (
|
|
865
|
-
args: coreClient.OperationArguments,
|
|
866
|
-
spec: coreClient.OperationSpec
|
|
867
|
-
) => {
|
|
868
|
-
let currentRawResponse:
|
|
869
|
-
| coreClient.FullOperationResponse
|
|
870
|
-
| undefined = undefined;
|
|
871
|
-
const providedCallback = args.options?.onResponse;
|
|
872
|
-
const callback: coreClient.RawResponseCallback = (
|
|
873
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
874
|
-
flatResponse: unknown
|
|
875
|
-
) => {
|
|
876
|
-
currentRawResponse = rawResponse;
|
|
877
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
878
|
-
};
|
|
879
|
-
const updatedArgs = {
|
|
880
|
-
...args,
|
|
881
|
-
options: {
|
|
882
|
-
...args.options,
|
|
883
|
-
onResponse: callback
|
|
884
|
-
}
|
|
885
|
-
};
|
|
886
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
887
|
-
return {
|
|
888
|
-
flatResponse,
|
|
889
|
-
rawResponse: {
|
|
890
|
-
statusCode: currentRawResponse!.status,
|
|
891
|
-
body: currentRawResponse!.parsedBody,
|
|
892
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
893
|
-
}
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
|
|
897
|
-
const lro = new LroImpl(
|
|
898
|
-
sendOperation,
|
|
899
|
-
{ resourceGroupName, virtualMachineName, options },
|
|
900
|
-
restoreCheckpointOperationSpec
|
|
901
|
-
);
|
|
902
|
-
const poller = new LroEngine(lro, {
|
|
903
|
-
resumeFrom: options?.resumeFrom,
|
|
904
|
-
intervalInMs: options?.updateIntervalInMs
|
|
905
|
-
});
|
|
906
|
-
await poller.poll();
|
|
907
|
-
return poller;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Restores to a checkpoint in virtual machine.
|
|
912
|
-
* @param resourceGroupName The name of the resource group.
|
|
913
|
-
* @param virtualMachineName Name of the VirtualMachine.
|
|
914
|
-
* @param options The options parameters.
|
|
915
|
-
*/
|
|
916
|
-
async beginRestoreCheckpointAndWait(
|
|
917
|
-
resourceGroupName: string,
|
|
918
|
-
virtualMachineName: string,
|
|
919
|
-
options?: VirtualMachinesRestoreCheckpointOptionalParams
|
|
920
|
-
): Promise<void> {
|
|
921
|
-
const poller = await this.beginRestoreCheckpoint(
|
|
922
|
-
resourceGroupName,
|
|
923
|
-
virtualMachineName,
|
|
924
|
-
options
|
|
925
|
-
);
|
|
926
|
-
return poller.pollUntilDone();
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* List of VirtualMachines in a resource group.
|
|
931
|
-
* @param resourceGroupName The name of the resource group.
|
|
932
|
-
* @param options The options parameters.
|
|
933
|
-
*/
|
|
934
|
-
private _listByResourceGroup(
|
|
935
|
-
resourceGroupName: string,
|
|
936
|
-
options?: VirtualMachinesListByResourceGroupOptionalParams
|
|
937
|
-
): Promise<VirtualMachinesListByResourceGroupResponse> {
|
|
938
|
-
return this.client.sendOperationRequest(
|
|
939
|
-
{ resourceGroupName, options },
|
|
940
|
-
listByResourceGroupOperationSpec
|
|
941
|
-
);
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* List of VirtualMachines in a subscription.
|
|
946
|
-
* @param options The options parameters.
|
|
947
|
-
*/
|
|
948
|
-
private _listBySubscription(
|
|
949
|
-
options?: VirtualMachinesListBySubscriptionOptionalParams
|
|
950
|
-
): Promise<VirtualMachinesListBySubscriptionResponse> {
|
|
951
|
-
return this.client.sendOperationRequest(
|
|
952
|
-
{ options },
|
|
953
|
-
listBySubscriptionOperationSpec
|
|
954
|
-
);
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* ListByResourceGroupNext
|
|
959
|
-
* @param resourceGroupName The name of the resource group.
|
|
960
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
961
|
-
* @param options The options parameters.
|
|
962
|
-
*/
|
|
963
|
-
private _listByResourceGroupNext(
|
|
964
|
-
resourceGroupName: string,
|
|
965
|
-
nextLink: string,
|
|
966
|
-
options?: VirtualMachinesListByResourceGroupNextOptionalParams
|
|
967
|
-
): Promise<VirtualMachinesListByResourceGroupNextResponse> {
|
|
968
|
-
return this.client.sendOperationRequest(
|
|
969
|
-
{ resourceGroupName, nextLink, options },
|
|
970
|
-
listByResourceGroupNextOperationSpec
|
|
971
|
-
);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* ListBySubscriptionNext
|
|
976
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
977
|
-
* @param options The options parameters.
|
|
978
|
-
*/
|
|
979
|
-
private _listBySubscriptionNext(
|
|
980
|
-
nextLink: string,
|
|
981
|
-
options?: VirtualMachinesListBySubscriptionNextOptionalParams
|
|
982
|
-
): Promise<VirtualMachinesListBySubscriptionNextResponse> {
|
|
983
|
-
return this.client.sendOperationRequest(
|
|
984
|
-
{ nextLink, options },
|
|
985
|
-
listBySubscriptionNextOperationSpec
|
|
986
|
-
);
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
// Operation Specifications
|
|
990
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
991
|
-
|
|
992
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
993
|
-
path:
|
|
994
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}",
|
|
995
|
-
httpMethod: "GET",
|
|
996
|
-
responses: {
|
|
997
|
-
200: {
|
|
998
|
-
bodyMapper: Mappers.VirtualMachine
|
|
999
|
-
},
|
|
1000
|
-
default: {
|
|
1001
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1002
|
-
}
|
|
1003
|
-
},
|
|
1004
|
-
queryParameters: [Parameters.apiVersion],
|
|
1005
|
-
urlParameters: [
|
|
1006
|
-
Parameters.$host,
|
|
1007
|
-
Parameters.subscriptionId,
|
|
1008
|
-
Parameters.resourceGroupName,
|
|
1009
|
-
Parameters.virtualMachineName
|
|
1010
|
-
],
|
|
1011
|
-
headerParameters: [Parameters.accept],
|
|
1012
|
-
serializer
|
|
1013
|
-
};
|
|
1014
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
1015
|
-
path:
|
|
1016
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}",
|
|
1017
|
-
httpMethod: "PUT",
|
|
1018
|
-
responses: {
|
|
1019
|
-
200: {
|
|
1020
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1021
|
-
},
|
|
1022
|
-
201: {
|
|
1023
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1024
|
-
},
|
|
1025
|
-
202: {
|
|
1026
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1027
|
-
},
|
|
1028
|
-
204: {
|
|
1029
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1030
|
-
},
|
|
1031
|
-
default: {
|
|
1032
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1033
|
-
}
|
|
1034
|
-
},
|
|
1035
|
-
requestBody: Parameters.body4,
|
|
1036
|
-
queryParameters: [Parameters.apiVersion],
|
|
1037
|
-
urlParameters: [
|
|
1038
|
-
Parameters.$host,
|
|
1039
|
-
Parameters.subscriptionId,
|
|
1040
|
-
Parameters.resourceGroupName,
|
|
1041
|
-
Parameters.virtualMachineName
|
|
1042
|
-
],
|
|
1043
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1044
|
-
mediaType: "json",
|
|
1045
|
-
serializer
|
|
1046
|
-
};
|
|
1047
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1048
|
-
path:
|
|
1049
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}",
|
|
1050
|
-
httpMethod: "DELETE",
|
|
1051
|
-
responses: {
|
|
1052
|
-
200: {},
|
|
1053
|
-
201: {},
|
|
1054
|
-
202: {},
|
|
1055
|
-
204: {},
|
|
1056
|
-
default: {
|
|
1057
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
|
-
queryParameters: [Parameters.apiVersion, Parameters.force, Parameters.retain],
|
|
1061
|
-
urlParameters: [
|
|
1062
|
-
Parameters.$host,
|
|
1063
|
-
Parameters.subscriptionId,
|
|
1064
|
-
Parameters.resourceGroupName,
|
|
1065
|
-
Parameters.virtualMachineName
|
|
1066
|
-
],
|
|
1067
|
-
headerParameters: [Parameters.accept],
|
|
1068
|
-
serializer
|
|
1069
|
-
};
|
|
1070
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1071
|
-
path:
|
|
1072
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}",
|
|
1073
|
-
httpMethod: "PATCH",
|
|
1074
|
-
responses: {
|
|
1075
|
-
200: {
|
|
1076
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1077
|
-
},
|
|
1078
|
-
201: {
|
|
1079
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1080
|
-
},
|
|
1081
|
-
202: {
|
|
1082
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1083
|
-
},
|
|
1084
|
-
204: {
|
|
1085
|
-
bodyMapper: Mappers.VirtualMachine
|
|
1086
|
-
},
|
|
1087
|
-
default: {
|
|
1088
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
requestBody: Parameters.body5,
|
|
1092
|
-
queryParameters: [Parameters.apiVersion],
|
|
1093
|
-
urlParameters: [
|
|
1094
|
-
Parameters.$host,
|
|
1095
|
-
Parameters.subscriptionId,
|
|
1096
|
-
Parameters.resourceGroupName,
|
|
1097
|
-
Parameters.virtualMachineName
|
|
1098
|
-
],
|
|
1099
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1100
|
-
mediaType: "json",
|
|
1101
|
-
serializer
|
|
1102
|
-
};
|
|
1103
|
-
const stopOperationSpec: coreClient.OperationSpec = {
|
|
1104
|
-
path:
|
|
1105
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/stop",
|
|
1106
|
-
httpMethod: "POST",
|
|
1107
|
-
responses: {
|
|
1108
|
-
200: {},
|
|
1109
|
-
201: {},
|
|
1110
|
-
202: {},
|
|
1111
|
-
204: {},
|
|
1112
|
-
default: {
|
|
1113
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
requestBody: Parameters.body6,
|
|
1117
|
-
queryParameters: [Parameters.apiVersion],
|
|
1118
|
-
urlParameters: [
|
|
1119
|
-
Parameters.$host,
|
|
1120
|
-
Parameters.subscriptionId,
|
|
1121
|
-
Parameters.resourceGroupName,
|
|
1122
|
-
Parameters.virtualMachineName
|
|
1123
|
-
],
|
|
1124
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1125
|
-
mediaType: "json",
|
|
1126
|
-
serializer
|
|
1127
|
-
};
|
|
1128
|
-
const startOperationSpec: coreClient.OperationSpec = {
|
|
1129
|
-
path:
|
|
1130
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/start",
|
|
1131
|
-
httpMethod: "POST",
|
|
1132
|
-
responses: {
|
|
1133
|
-
200: {},
|
|
1134
|
-
201: {},
|
|
1135
|
-
202: {},
|
|
1136
|
-
204: {},
|
|
1137
|
-
default: {
|
|
1138
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1139
|
-
}
|
|
1140
|
-
},
|
|
1141
|
-
queryParameters: [Parameters.apiVersion],
|
|
1142
|
-
urlParameters: [
|
|
1143
|
-
Parameters.$host,
|
|
1144
|
-
Parameters.subscriptionId,
|
|
1145
|
-
Parameters.resourceGroupName,
|
|
1146
|
-
Parameters.virtualMachineName
|
|
1147
|
-
],
|
|
1148
|
-
headerParameters: [Parameters.accept],
|
|
1149
|
-
serializer
|
|
1150
|
-
};
|
|
1151
|
-
const restartOperationSpec: coreClient.OperationSpec = {
|
|
1152
|
-
path:
|
|
1153
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restart",
|
|
1154
|
-
httpMethod: "POST",
|
|
1155
|
-
responses: {
|
|
1156
|
-
200: {},
|
|
1157
|
-
201: {},
|
|
1158
|
-
202: {},
|
|
1159
|
-
204: {},
|
|
1160
|
-
default: {
|
|
1161
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1162
|
-
}
|
|
1163
|
-
},
|
|
1164
|
-
queryParameters: [Parameters.apiVersion],
|
|
1165
|
-
urlParameters: [
|
|
1166
|
-
Parameters.$host,
|
|
1167
|
-
Parameters.subscriptionId,
|
|
1168
|
-
Parameters.resourceGroupName,
|
|
1169
|
-
Parameters.virtualMachineName
|
|
1170
|
-
],
|
|
1171
|
-
headerParameters: [Parameters.accept],
|
|
1172
|
-
serializer
|
|
1173
|
-
};
|
|
1174
|
-
const createCheckpointOperationSpec: coreClient.OperationSpec = {
|
|
1175
|
-
path:
|
|
1176
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/createCheckpoint",
|
|
1177
|
-
httpMethod: "POST",
|
|
1178
|
-
responses: {
|
|
1179
|
-
200: {},
|
|
1180
|
-
201: {},
|
|
1181
|
-
202: {},
|
|
1182
|
-
204: {},
|
|
1183
|
-
default: {
|
|
1184
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1185
|
-
}
|
|
1186
|
-
},
|
|
1187
|
-
requestBody: Parameters.body7,
|
|
1188
|
-
queryParameters: [Parameters.apiVersion],
|
|
1189
|
-
urlParameters: [
|
|
1190
|
-
Parameters.$host,
|
|
1191
|
-
Parameters.subscriptionId,
|
|
1192
|
-
Parameters.resourceGroupName,
|
|
1193
|
-
Parameters.virtualMachineName
|
|
1194
|
-
],
|
|
1195
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1196
|
-
mediaType: "json",
|
|
1197
|
-
serializer
|
|
1198
|
-
};
|
|
1199
|
-
const deleteCheckpointOperationSpec: coreClient.OperationSpec = {
|
|
1200
|
-
path:
|
|
1201
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/deleteCheckpoint",
|
|
1202
|
-
httpMethod: "POST",
|
|
1203
|
-
responses: {
|
|
1204
|
-
200: {},
|
|
1205
|
-
201: {},
|
|
1206
|
-
202: {},
|
|
1207
|
-
204: {},
|
|
1208
|
-
default: {
|
|
1209
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
requestBody: Parameters.body8,
|
|
1213
|
-
queryParameters: [Parameters.apiVersion],
|
|
1214
|
-
urlParameters: [
|
|
1215
|
-
Parameters.$host,
|
|
1216
|
-
Parameters.subscriptionId,
|
|
1217
|
-
Parameters.resourceGroupName,
|
|
1218
|
-
Parameters.virtualMachineName
|
|
1219
|
-
],
|
|
1220
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1221
|
-
mediaType: "json",
|
|
1222
|
-
serializer
|
|
1223
|
-
};
|
|
1224
|
-
const restoreCheckpointOperationSpec: coreClient.OperationSpec = {
|
|
1225
|
-
path:
|
|
1226
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines/{virtualMachineName}/restoreCheckpoint",
|
|
1227
|
-
httpMethod: "POST",
|
|
1228
|
-
responses: {
|
|
1229
|
-
200: {},
|
|
1230
|
-
201: {},
|
|
1231
|
-
202: {},
|
|
1232
|
-
204: {},
|
|
1233
|
-
default: {
|
|
1234
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
requestBody: Parameters.body9,
|
|
1238
|
-
queryParameters: [Parameters.apiVersion],
|
|
1239
|
-
urlParameters: [
|
|
1240
|
-
Parameters.$host,
|
|
1241
|
-
Parameters.subscriptionId,
|
|
1242
|
-
Parameters.resourceGroupName,
|
|
1243
|
-
Parameters.virtualMachineName
|
|
1244
|
-
],
|
|
1245
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1246
|
-
mediaType: "json",
|
|
1247
|
-
serializer
|
|
1248
|
-
};
|
|
1249
|
-
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1250
|
-
path:
|
|
1251
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualMachines",
|
|
1252
|
-
httpMethod: "GET",
|
|
1253
|
-
responses: {
|
|
1254
|
-
200: {
|
|
1255
|
-
bodyMapper: Mappers.VirtualMachineListResult
|
|
1256
|
-
},
|
|
1257
|
-
default: {
|
|
1258
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1259
|
-
}
|
|
1260
|
-
},
|
|
1261
|
-
queryParameters: [Parameters.apiVersion],
|
|
1262
|
-
urlParameters: [
|
|
1263
|
-
Parameters.$host,
|
|
1264
|
-
Parameters.subscriptionId,
|
|
1265
|
-
Parameters.resourceGroupName
|
|
1266
|
-
],
|
|
1267
|
-
headerParameters: [Parameters.accept],
|
|
1268
|
-
serializer
|
|
1269
|
-
};
|
|
1270
|
-
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1271
|
-
path:
|
|
1272
|
-
"/subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines",
|
|
1273
|
-
httpMethod: "GET",
|
|
1274
|
-
responses: {
|
|
1275
|
-
200: {
|
|
1276
|
-
bodyMapper: Mappers.VirtualMachineListResult
|
|
1277
|
-
},
|
|
1278
|
-
default: {
|
|
1279
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1280
|
-
}
|
|
1281
|
-
},
|
|
1282
|
-
queryParameters: [Parameters.apiVersion],
|
|
1283
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1284
|
-
headerParameters: [Parameters.accept],
|
|
1285
|
-
serializer
|
|
1286
|
-
};
|
|
1287
|
-
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1288
|
-
path: "{nextLink}",
|
|
1289
|
-
httpMethod: "GET",
|
|
1290
|
-
responses: {
|
|
1291
|
-
200: {
|
|
1292
|
-
bodyMapper: Mappers.VirtualMachineListResult
|
|
1293
|
-
},
|
|
1294
|
-
default: {
|
|
1295
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1296
|
-
}
|
|
1297
|
-
},
|
|
1298
|
-
queryParameters: [Parameters.apiVersion],
|
|
1299
|
-
urlParameters: [
|
|
1300
|
-
Parameters.$host,
|
|
1301
|
-
Parameters.subscriptionId,
|
|
1302
|
-
Parameters.resourceGroupName,
|
|
1303
|
-
Parameters.nextLink
|
|
1304
|
-
],
|
|
1305
|
-
headerParameters: [Parameters.accept],
|
|
1306
|
-
serializer
|
|
1307
|
-
};
|
|
1308
|
-
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1309
|
-
path: "{nextLink}",
|
|
1310
|
-
httpMethod: "GET",
|
|
1311
|
-
responses: {
|
|
1312
|
-
200: {
|
|
1313
|
-
bodyMapper: Mappers.VirtualMachineListResult
|
|
1314
|
-
},
|
|
1315
|
-
default: {
|
|
1316
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
queryParameters: [Parameters.apiVersion],
|
|
1320
|
-
urlParameters: [
|
|
1321
|
-
Parameters.$host,
|
|
1322
|
-
Parameters.subscriptionId,
|
|
1323
|
-
Parameters.nextLink
|
|
1324
|
-
],
|
|
1325
|
-
headerParameters: [Parameters.accept],
|
|
1326
|
-
serializer
|
|
1327
|
-
};
|