@azure/arm-vmwarecloudsimple 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +5683 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1328 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +44 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +59 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1185 -834
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +35 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +157 -106
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/customizationPolicies.d.ts +46 -0
- package/dist-esm/src/operations/customizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/customizationPolicies.js +169 -0
- package/dist-esm/src/operations/customizationPolicies.js.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.d.ts +92 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.js +446 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.js.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudServices.d.ts +91 -0
- package/dist-esm/src/operations/dedicatedCloudServices.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudServices.js +431 -0
- package/dist-esm/src/operations/dedicatedCloudServices.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +39 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +155 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateClouds.d.ts +42 -0
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operations/privateClouds.js +162 -0
- package/dist-esm/src/operations/privateClouds.js.map +1 -0
- package/dist-esm/src/operations/resourcePools.d.ts +46 -0
- package/dist-esm/src/operations/resourcePools.d.ts.map +1 -0
- package/dist-esm/src/operations/resourcePools.js +169 -0
- package/dist-esm/src/operations/resourcePools.js.map +1 -0
- package/dist-esm/src/operations/skusAvailability.d.ts +35 -0
- package/dist-esm/src/operations/skusAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/skusAvailability.js +132 -0
- package/dist-esm/src/operations/skusAvailability.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +35 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +132 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts +49 -0
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineTemplates.js +172 -0
- package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +135 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +687 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworks.d.ts +49 -0
- package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworks.js +172 -0
- package/dist-esm/src/operations/virtualNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +99 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.js.map +1 -0
- package/dist-esm/src/vMwareCloudSimple.d.ts +30 -0
- package/dist-esm/src/vMwareCloudSimple.d.ts.map +1 -0
- package/dist-esm/src/vMwareCloudSimple.js +66 -0
- package/dist-esm/src/vMwareCloudSimple.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +70 -32
- package/review/arm-vmwarecloudsimple.api.md +1140 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1155 -1956
- package/src/models/mappers.ts +1229 -846
- package/src/models/parameters.ts +200 -107
- package/src/operations/customizationPolicies.ts +217 -0
- package/src/operations/dedicatedCloudNodes.ts +391 -317
- package/src/operations/dedicatedCloudServices.ts +372 -319
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +117 -125
- package/src/operations/privateClouds.ts +131 -123
- package/src/operations/resourcePools.ts +145 -129
- package/src/operations/skusAvailability.ts +109 -85
- package/src/operations/usages.ts +109 -85
- package/src/operations/virtualMachineTemplates.ts +162 -132
- package/src/operations/virtualMachines.ts +705 -403
- package/src/operations/virtualNetworks.ts +163 -136
- package/src/operationsInterfaces/customizationPolicies.ts +44 -0
- package/src/operationsInterfaces/dedicatedCloudNodes.ts +110 -0
- package/src/operationsInterfaces/dedicatedCloudServices.ts +103 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +38 -0
- package/src/operationsInterfaces/privateClouds.ts +40 -0
- package/src/operationsInterfaces/resourcePools.ts +44 -0
- package/src/operationsInterfaces/skusAvailability.ts +24 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/operationsInterfaces/virtualMachineTemplates.ts +46 -0
- package/src/operationsInterfaces/virtualMachines.ts +191 -0
- package/src/operationsInterfaces/virtualNetworks.ts +46 -0
- package/src/vMwareCloudSimple.ts +126 -0
- package/tsconfig.json +3 -3
- package/types/arm-vmwarecloudsimple.d.ts +1861 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-vmwarecloudsimple.js +0 -4540
- package/dist/arm-vmwarecloudsimple.js.map +0 -1
- package/dist/arm-vmwarecloudsimple.min.js +0 -1
- package/dist/arm-vmwarecloudsimple.min.js.map +0 -1
- package/esm/models/dedicatedCloudNodesMappers.d.ts +0 -2
- package/esm/models/dedicatedCloudNodesMappers.d.ts.map +0 -1
- package/esm/models/dedicatedCloudNodesMappers.js +0 -9
- package/esm/models/dedicatedCloudNodesMappers.js.map +0 -1
- package/esm/models/dedicatedCloudServicesMappers.d.ts +0 -2
- package/esm/models/dedicatedCloudServicesMappers.d.ts.map +0 -1
- package/esm/models/dedicatedCloudServicesMappers.js +0 -9
- package/esm/models/dedicatedCloudServicesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2190
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -46
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -24
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateCloudsMappers.d.ts +0 -2
- package/esm/models/privateCloudsMappers.d.ts.map +0 -1
- package/esm/models/privateCloudsMappers.js +0 -9
- package/esm/models/privateCloudsMappers.js.map +0 -1
- package/esm/models/resourcePoolsMappers.d.ts +0 -2
- package/esm/models/resourcePoolsMappers.d.ts.map +0 -1
- package/esm/models/resourcePoolsMappers.js +0 -9
- package/esm/models/resourcePoolsMappers.js.map +0 -1
- package/esm/models/skusAvailabilityMappers.d.ts +0 -2
- package/esm/models/skusAvailabilityMappers.d.ts.map +0 -1
- package/esm/models/skusAvailabilityMappers.js +0 -9
- package/esm/models/skusAvailabilityMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/models/virtualMachineTemplatesMappers.d.ts +0 -2
- package/esm/models/virtualMachineTemplatesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineTemplatesMappers.js +0 -9
- package/esm/models/virtualMachineTemplatesMappers.js.map +0 -1
- package/esm/models/virtualMachinesMappers.d.ts +0 -2
- package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachinesMappers.js +0 -9
- package/esm/models/virtualMachinesMappers.js.map +0 -1
- package/esm/models/virtualNetworksMappers.d.ts +0 -2
- package/esm/models/virtualNetworksMappers.d.ts.map +0 -1
- package/esm/models/virtualNetworksMappers.js +0 -9
- package/esm/models/virtualNetworksMappers.js.map +0 -1
- package/esm/operations/dedicatedCloudNodes.d.ts +0 -173
- package/esm/operations/dedicatedCloudNodes.d.ts.map +0 -1
- package/esm/operations/dedicatedCloudNodes.js +0 -304
- package/esm/operations/dedicatedCloudNodes.js.map +0 -1
- package/esm/operations/dedicatedCloudServices.d.ts +0 -174
- package/esm/operations/dedicatedCloudServices.d.ts.map +0 -1
- package/esm/operations/dedicatedCloudServices.js +0 -300
- package/esm/operations/dedicatedCloudServices.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -70
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -116
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateClouds.d.ts +0 -73
- package/esm/operations/privateClouds.d.ts.map +0 -1
- package/esm/operations/privateClouds.js +0 -113
- package/esm/operations/privateClouds.js.map +0 -1
- package/esm/operations/resourcePools.d.ts +0 -79
- package/esm/operations/resourcePools.d.ts.map +0 -1
- package/esm/operations/resourcePools.js +0 -117
- package/esm/operations/resourcePools.js.map +0 -1
- package/esm/operations/skusAvailability.d.ts +0 -51
- package/esm/operations/skusAvailability.d.ts.map +0 -1
- package/esm/operations/skusAvailability.js +0 -83
- package/esm/operations/skusAvailability.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -51
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -83
- package/esm/operations/usages.js.map +0 -1
- package/esm/operations/virtualMachineTemplates.d.ts +0 -82
- package/esm/operations/virtualMachineTemplates.d.ts.map +0 -1
- package/esm/operations/virtualMachineTemplates.js +0 -119
- package/esm/operations/virtualMachineTemplates.js.map +0 -1
- package/esm/operations/virtualMachines.d.ts +0 -201
- package/esm/operations/virtualMachines.d.ts.map +0 -1
- package/esm/operations/virtualMachines.js +0 -472
- package/esm/operations/virtualMachines.js.map +0 -1
- package/esm/operations/virtualNetworks.d.ts +0 -85
- package/esm/operations/virtualNetworks.d.ts.map +0 -1
- package/esm/operations/virtualNetworks.js +0 -119
- package/esm/operations/virtualNetworks.js.map +0 -1
- package/esm/vMwareCloudSimpleClient.d.ts +0 -34
- package/esm/vMwareCloudSimpleClient.d.ts.map +0 -1
- package/esm/vMwareCloudSimpleClient.js +0 -48
- package/esm/vMwareCloudSimpleClient.js.map +0 -1
- package/esm/vMwareCloudSimpleClientContext.d.ts +0 -24
- package/esm/vMwareCloudSimpleClientContext.d.ts.map +0 -1
- package/esm/vMwareCloudSimpleClientContext.js +0 -66
- package/esm/vMwareCloudSimpleClientContext.js.map +0 -1
- package/src/models/dedicatedCloudNodesMappers.ts +0 -26
- package/src/models/dedicatedCloudServicesMappers.ts +0 -25
- package/src/models/operationsMappers.ts +0 -20
- package/src/models/privateCloudsMappers.ts +0 -20
- package/src/models/resourcePoolsMappers.ts +0 -14
- package/src/models/skusAvailabilityMappers.ts +0 -14
- package/src/models/usagesMappers.ts +0 -15
- package/src/models/virtualMachineTemplatesMappers.ts +0 -18
- package/src/models/virtualMachinesMappers.ts +0 -29
- package/src/models/virtualNetworksMappers.ts +0 -14
- package/src/vMwareCloudSimpleClient.ts +0 -67
- package/src/vMwareCloudSimpleClientContext.ts +0 -74
|
@@ -1,209 +1,236 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { VirtualNetworks } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { VMwareCloudSimple } from "../vMwareCloudSimple";
|
|
15
|
+
import {
|
|
16
|
+
VirtualNetwork,
|
|
17
|
+
VirtualNetworksListNextOptionalParams,
|
|
18
|
+
VirtualNetworksListOptionalParams,
|
|
19
|
+
VirtualNetworksListResponse,
|
|
20
|
+
VirtualNetworksGetOptionalParams,
|
|
21
|
+
VirtualNetworksGetResponse,
|
|
22
|
+
VirtualNetworksListNextResponse
|
|
23
|
+
} from "../models";
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Class containing VirtualNetworks operations. */
|
|
27
|
+
export class VirtualNetworksImpl implements VirtualNetworks {
|
|
28
|
+
private readonly client: VMwareCloudSimple;
|
|
20
29
|
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
31
|
+
* Initialize a new instance of the class VirtualNetworks class.
|
|
32
|
+
* @param client Reference to the service client
|
|
24
33
|
*/
|
|
25
|
-
constructor(client:
|
|
34
|
+
constructor(client: VMwareCloudSimple) {
|
|
26
35
|
this.client = client;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
/**
|
|
30
39
|
* Return list of virtual networks in location for private cloud
|
|
31
|
-
* @summary Implements list available virtual networks within a subscription method
|
|
32
40
|
* @param regionId The region Id (westus, eastus)
|
|
33
41
|
* @param pcName The private cloud name
|
|
34
|
-
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains virtual
|
|
35
|
-
*
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.VirtualNetworksListResponse>
|
|
42
|
+
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains virtual networks
|
|
43
|
+
* @param options The options parameters.
|
|
38
44
|
*/
|
|
39
|
-
list(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
45
|
+
public list(
|
|
46
|
+
regionId: string,
|
|
47
|
+
pcName: string,
|
|
48
|
+
resourcePoolName: string,
|
|
49
|
+
options?: VirtualNetworksListOptionalParams
|
|
50
|
+
): PagedAsyncIterableIterator<VirtualNetwork> {
|
|
51
|
+
const iter = this.listPagingAll(
|
|
52
|
+
regionId,
|
|
53
|
+
pcName,
|
|
54
|
+
resourcePoolName,
|
|
55
|
+
options
|
|
56
|
+
);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listPagingPage(regionId, pcName, resourcePoolName, options);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async *listPagingPage(
|
|
71
|
+
regionId: string,
|
|
72
|
+
pcName: string,
|
|
73
|
+
resourcePoolName: string,
|
|
74
|
+
options?: VirtualNetworksListOptionalParams
|
|
75
|
+
): AsyncIterableIterator<VirtualNetwork[]> {
|
|
76
|
+
let result = await this._list(regionId, pcName, resourcePoolName, options);
|
|
77
|
+
yield result.value || [];
|
|
78
|
+
let continuationToken = result.nextLink;
|
|
79
|
+
while (continuationToken) {
|
|
80
|
+
result = await this._listNext(
|
|
60
81
|
regionId,
|
|
61
82
|
pcName,
|
|
62
83
|
resourcePoolName,
|
|
84
|
+
continuationToken,
|
|
63
85
|
options
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
86
|
+
);
|
|
87
|
+
continuationToken = result.nextLink;
|
|
88
|
+
yield result.value || [];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
private async *listPagingAll(
|
|
93
|
+
regionId: string,
|
|
94
|
+
pcName: string,
|
|
95
|
+
resourcePoolName: string,
|
|
96
|
+
options?: VirtualNetworksListOptionalParams
|
|
97
|
+
): AsyncIterableIterator<VirtualNetwork> {
|
|
98
|
+
for await (const page of this.listPagingPage(
|
|
99
|
+
regionId,
|
|
100
|
+
pcName,
|
|
101
|
+
resourcePoolName,
|
|
102
|
+
options
|
|
103
|
+
)) {
|
|
104
|
+
yield* page;
|
|
105
|
+
}
|
|
67
106
|
}
|
|
68
107
|
|
|
69
108
|
/**
|
|
70
|
-
* Return virtual
|
|
71
|
-
* @summary Implements virtual network GET method
|
|
72
|
-
* @param regionId The region Id (westus, eastus)
|
|
73
|
-
* @param pcName The private cloud name
|
|
74
|
-
* @param virtualNetworkName virtual network id (vsphereId)
|
|
75
|
-
* @param [options] The optional parameters
|
|
76
|
-
* @returns Promise<Models.VirtualNetworksGetResponse>
|
|
77
|
-
*/
|
|
78
|
-
get(regionId: string, pcName: string, virtualNetworkName: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworksGetResponse>;
|
|
79
|
-
/**
|
|
109
|
+
* Return list of virtual networks in location for private cloud
|
|
80
110
|
* @param regionId The region Id (westus, eastus)
|
|
81
111
|
* @param pcName The private cloud name
|
|
82
|
-
* @param
|
|
83
|
-
* @param
|
|
112
|
+
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains virtual networks
|
|
113
|
+
* @param options The options parameters.
|
|
84
114
|
*/
|
|
85
|
-
|
|
115
|
+
private _list(
|
|
116
|
+
regionId: string,
|
|
117
|
+
pcName: string,
|
|
118
|
+
resourcePoolName: string,
|
|
119
|
+
options?: VirtualNetworksListOptionalParams
|
|
120
|
+
): Promise<VirtualNetworksListResponse> {
|
|
121
|
+
return this.client.sendOperationRequest(
|
|
122
|
+
{ regionId, pcName, resourcePoolName, options },
|
|
123
|
+
listOperationSpec
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
86
127
|
/**
|
|
128
|
+
* Return virtual network by its name
|
|
87
129
|
* @param regionId The region Id (westus, eastus)
|
|
88
130
|
* @param pcName The private cloud name
|
|
89
131
|
* @param virtualNetworkName virtual network id (vsphereId)
|
|
90
|
-
* @param options The
|
|
91
|
-
* @param callback The callback
|
|
132
|
+
* @param options The options parameters.
|
|
92
133
|
*/
|
|
93
|
-
get(
|
|
94
|
-
|
|
134
|
+
get(
|
|
135
|
+
regionId: string,
|
|
136
|
+
pcName: string,
|
|
137
|
+
virtualNetworkName: string,
|
|
138
|
+
options?: VirtualNetworksGetOptionalParams
|
|
139
|
+
): Promise<VirtualNetworksGetResponse> {
|
|
95
140
|
return this.client.sendOperationRequest(
|
|
96
|
-
{
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
virtualNetworkName,
|
|
100
|
-
options
|
|
101
|
-
},
|
|
102
|
-
getOperationSpec,
|
|
103
|
-
callback) as Promise<Models.VirtualNetworksGetResponse>;
|
|
141
|
+
{ regionId, pcName, virtualNetworkName, options },
|
|
142
|
+
getOperationSpec
|
|
143
|
+
);
|
|
104
144
|
}
|
|
105
145
|
|
|
106
146
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @
|
|
109
|
-
* @param
|
|
110
|
-
* @param
|
|
111
|
-
* @
|
|
112
|
-
|
|
113
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworksListNextResponse>;
|
|
114
|
-
/**
|
|
115
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
116
|
-
* @param callback The callback
|
|
117
|
-
*/
|
|
118
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualNetworkListResponse>): void;
|
|
119
|
-
/**
|
|
120
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
121
|
-
* @param options The optional parameters
|
|
122
|
-
* @param callback The callback
|
|
147
|
+
* ListNext
|
|
148
|
+
* @param regionId The region Id (westus, eastus)
|
|
149
|
+
* @param pcName The private cloud name
|
|
150
|
+
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains virtual networks
|
|
151
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
152
|
+
* @param options The options parameters.
|
|
123
153
|
*/
|
|
124
|
-
|
|
125
|
-
|
|
154
|
+
private _listNext(
|
|
155
|
+
regionId: string,
|
|
156
|
+
pcName: string,
|
|
157
|
+
resourcePoolName: string,
|
|
158
|
+
nextLink: string,
|
|
159
|
+
options?: VirtualNetworksListNextOptionalParams
|
|
160
|
+
): Promise<VirtualNetworksListNextResponse> {
|
|
126
161
|
return this.client.sendOperationRequest(
|
|
127
|
-
{
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
listNextOperationSpec,
|
|
132
|
-
callback) as Promise<Models.VirtualNetworksListNextResponse>;
|
|
162
|
+
{ regionId, pcName, resourcePoolName, nextLink, options },
|
|
163
|
+
listNextOperationSpec
|
|
164
|
+
);
|
|
133
165
|
}
|
|
134
166
|
}
|
|
135
|
-
|
|
136
167
|
// Operation Specifications
|
|
137
|
-
const serializer =
|
|
138
|
-
|
|
168
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
169
|
+
|
|
170
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
171
|
+
path:
|
|
172
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks",
|
|
139
173
|
httpMethod: "GET",
|
|
140
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks",
|
|
141
|
-
urlParameters: [
|
|
142
|
-
Parameters.subscriptionId,
|
|
143
|
-
Parameters.regionId,
|
|
144
|
-
Parameters.pcName
|
|
145
|
-
],
|
|
146
|
-
queryParameters: [
|
|
147
|
-
Parameters.apiVersion,
|
|
148
|
-
Parameters.resourcePoolName
|
|
149
|
-
],
|
|
150
|
-
headerParameters: [
|
|
151
|
-
Parameters.acceptLanguage
|
|
152
|
-
],
|
|
153
174
|
responses: {
|
|
154
175
|
200: {
|
|
155
176
|
bodyMapper: Mappers.VirtualNetworkListResponse
|
|
156
177
|
},
|
|
157
178
|
default: {
|
|
158
|
-
bodyMapper: Mappers.
|
|
179
|
+
bodyMapper: Mappers.CsrpError
|
|
159
180
|
}
|
|
160
181
|
},
|
|
161
|
-
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
165
|
-
httpMethod: "GET",
|
|
166
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks/{virtualNetworkName}",
|
|
182
|
+
queryParameters: [Parameters.apiVersion, Parameters.resourcePoolName1],
|
|
167
183
|
urlParameters: [
|
|
184
|
+
Parameters.$host,
|
|
168
185
|
Parameters.subscriptionId,
|
|
169
186
|
Parameters.regionId,
|
|
170
|
-
Parameters.pcName
|
|
171
|
-
Parameters.virtualNetworkName
|
|
172
|
-
],
|
|
173
|
-
queryParameters: [
|
|
174
|
-
Parameters.apiVersion
|
|
175
|
-
],
|
|
176
|
-
headerParameters: [
|
|
177
|
-
Parameters.acceptLanguage
|
|
187
|
+
Parameters.pcName
|
|
178
188
|
],
|
|
189
|
+
headerParameters: [Parameters.accept],
|
|
190
|
+
serializer
|
|
191
|
+
};
|
|
192
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
193
|
+
path:
|
|
194
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks/{virtualNetworkName}",
|
|
195
|
+
httpMethod: "GET",
|
|
179
196
|
responses: {
|
|
180
197
|
200: {
|
|
181
198
|
bodyMapper: Mappers.VirtualNetwork
|
|
182
199
|
},
|
|
183
200
|
default: {
|
|
184
|
-
bodyMapper: Mappers.
|
|
201
|
+
bodyMapper: Mappers.CsrpError
|
|
185
202
|
}
|
|
186
203
|
},
|
|
204
|
+
queryParameters: [Parameters.apiVersion],
|
|
205
|
+
urlParameters: [
|
|
206
|
+
Parameters.$host,
|
|
207
|
+
Parameters.subscriptionId,
|
|
208
|
+
Parameters.regionId,
|
|
209
|
+
Parameters.pcName,
|
|
210
|
+
Parameters.virtualNetworkName
|
|
211
|
+
],
|
|
212
|
+
headerParameters: [Parameters.accept],
|
|
187
213
|
serializer
|
|
188
214
|
};
|
|
189
|
-
|
|
190
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
191
|
-
httpMethod: "GET",
|
|
192
|
-
baseUrl: "https://management.azure.com",
|
|
215
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
193
216
|
path: "{nextLink}",
|
|
194
|
-
|
|
195
|
-
Parameters.nextPageLink
|
|
196
|
-
],
|
|
197
|
-
headerParameters: [
|
|
198
|
-
Parameters.acceptLanguage
|
|
199
|
-
],
|
|
217
|
+
httpMethod: "GET",
|
|
200
218
|
responses: {
|
|
201
219
|
200: {
|
|
202
220
|
bodyMapper: Mappers.VirtualNetworkListResponse
|
|
203
221
|
},
|
|
204
222
|
default: {
|
|
205
|
-
bodyMapper: Mappers.
|
|
223
|
+
bodyMapper: Mappers.CsrpError
|
|
206
224
|
}
|
|
207
225
|
},
|
|
226
|
+
queryParameters: [Parameters.apiVersion, Parameters.resourcePoolName1],
|
|
227
|
+
urlParameters: [
|
|
228
|
+
Parameters.$host,
|
|
229
|
+
Parameters.subscriptionId,
|
|
230
|
+
Parameters.regionId,
|
|
231
|
+
Parameters.nextLink,
|
|
232
|
+
Parameters.pcName
|
|
233
|
+
],
|
|
234
|
+
headerParameters: [Parameters.accept],
|
|
208
235
|
serializer
|
|
209
236
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
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 {
|
|
11
|
+
CustomizationPolicy,
|
|
12
|
+
CustomizationPoliciesListOptionalParams,
|
|
13
|
+
CustomizationPoliciesGetOptionalParams,
|
|
14
|
+
CustomizationPoliciesGetResponse
|
|
15
|
+
} from "../models";
|
|
16
|
+
|
|
17
|
+
/// <reference lib="esnext.asynciterable" />
|
|
18
|
+
/** Interface representing a CustomizationPolicies. */
|
|
19
|
+
export interface CustomizationPolicies {
|
|
20
|
+
/**
|
|
21
|
+
* Returns list of customization policies in region for private cloud
|
|
22
|
+
* @param regionId The region Id (westus, eastus)
|
|
23
|
+
* @param pcName The private cloud name
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(
|
|
27
|
+
regionId: string,
|
|
28
|
+
pcName: string,
|
|
29
|
+
options?: CustomizationPoliciesListOptionalParams
|
|
30
|
+
): PagedAsyncIterableIterator<CustomizationPolicy>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns customization policy by its name
|
|
33
|
+
* @param regionId The region Id (westus, eastus)
|
|
34
|
+
* @param pcName The private cloud name
|
|
35
|
+
* @param customizationPolicyName customization policy name
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(
|
|
39
|
+
regionId: string,
|
|
40
|
+
pcName: string,
|
|
41
|
+
customizationPolicyName: string,
|
|
42
|
+
options?: CustomizationPoliciesGetOptionalParams
|
|
43
|
+
): Promise<CustomizationPoliciesGetResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
DedicatedCloudNode,
|
|
13
|
+
DedicatedCloudNodesListBySubscriptionOptionalParams,
|
|
14
|
+
DedicatedCloudNodesListByResourceGroupOptionalParams,
|
|
15
|
+
DedicatedCloudNodesGetOptionalParams,
|
|
16
|
+
DedicatedCloudNodesGetResponse,
|
|
17
|
+
DedicatedCloudNodesCreateOrUpdateOptionalParams,
|
|
18
|
+
DedicatedCloudNodesCreateOrUpdateResponse,
|
|
19
|
+
DedicatedCloudNodesDeleteOptionalParams,
|
|
20
|
+
PatchPayload,
|
|
21
|
+
DedicatedCloudNodesUpdateOptionalParams,
|
|
22
|
+
DedicatedCloudNodesUpdateResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a DedicatedCloudNodes. */
|
|
27
|
+
export interface DedicatedCloudNodes {
|
|
28
|
+
/**
|
|
29
|
+
* Returns list of dedicate cloud nodes within subscription
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listBySubscription(
|
|
33
|
+
options?: DedicatedCloudNodesListBySubscriptionOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<DedicatedCloudNode>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns list of dedicate cloud nodes within resource group
|
|
37
|
+
* @param resourceGroupName The name of the resource group
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
listByResourceGroup(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
options?: DedicatedCloudNodesListByResourceGroupOptionalParams
|
|
43
|
+
): PagedAsyncIterableIterator<DedicatedCloudNode>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns dedicated cloud node
|
|
46
|
+
* @param resourceGroupName The name of the resource group
|
|
47
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
get(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
dedicatedCloudNodeName: string,
|
|
53
|
+
options?: DedicatedCloudNodesGetOptionalParams
|
|
54
|
+
): Promise<DedicatedCloudNodesGetResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Returns dedicated cloud node by its name
|
|
57
|
+
* @param resourceGroupName The name of the resource group
|
|
58
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
59
|
+
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginCreateOrUpdate(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
dedicatedCloudNodeName: string,
|
|
65
|
+
dedicatedCloudNodeRequest: DedicatedCloudNode,
|
|
66
|
+
options?: DedicatedCloudNodesCreateOrUpdateOptionalParams
|
|
67
|
+
): Promise<
|
|
68
|
+
PollerLike<
|
|
69
|
+
PollOperationState<DedicatedCloudNodesCreateOrUpdateResponse>,
|
|
70
|
+
DedicatedCloudNodesCreateOrUpdateResponse
|
|
71
|
+
>
|
|
72
|
+
>;
|
|
73
|
+
/**
|
|
74
|
+
* Returns dedicated cloud node by its name
|
|
75
|
+
* @param resourceGroupName The name of the resource group
|
|
76
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
77
|
+
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginCreateOrUpdateAndWait(
|
|
81
|
+
resourceGroupName: string,
|
|
82
|
+
dedicatedCloudNodeName: string,
|
|
83
|
+
dedicatedCloudNodeRequest: DedicatedCloudNode,
|
|
84
|
+
options?: DedicatedCloudNodesCreateOrUpdateOptionalParams
|
|
85
|
+
): Promise<DedicatedCloudNodesCreateOrUpdateResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Delete dedicated cloud node
|
|
88
|
+
* @param resourceGroupName The name of the resource group
|
|
89
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
delete(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
dedicatedCloudNodeName: string,
|
|
95
|
+
options?: DedicatedCloudNodesDeleteOptionalParams
|
|
96
|
+
): Promise<void>;
|
|
97
|
+
/**
|
|
98
|
+
* Patches dedicated node properties
|
|
99
|
+
* @param resourceGroupName The name of the resource group
|
|
100
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
101
|
+
* @param dedicatedCloudNodeRequest Patch Dedicated Cloud Node request
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
update(
|
|
105
|
+
resourceGroupName: string,
|
|
106
|
+
dedicatedCloudNodeName: string,
|
|
107
|
+
dedicatedCloudNodeRequest: PatchPayload,
|
|
108
|
+
options?: DedicatedCloudNodesUpdateOptionalParams
|
|
109
|
+
): Promise<DedicatedCloudNodesUpdateResponse>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
DedicatedCloudService,
|
|
13
|
+
DedicatedCloudServicesListBySubscriptionOptionalParams,
|
|
14
|
+
DedicatedCloudServicesListByResourceGroupOptionalParams,
|
|
15
|
+
DedicatedCloudServicesGetOptionalParams,
|
|
16
|
+
DedicatedCloudServicesGetResponse,
|
|
17
|
+
DedicatedCloudServicesCreateOrUpdateOptionalParams,
|
|
18
|
+
DedicatedCloudServicesCreateOrUpdateResponse,
|
|
19
|
+
DedicatedCloudServicesDeleteOptionalParams,
|
|
20
|
+
PatchPayload,
|
|
21
|
+
DedicatedCloudServicesUpdateOptionalParams,
|
|
22
|
+
DedicatedCloudServicesUpdateResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a DedicatedCloudServices. */
|
|
27
|
+
export interface DedicatedCloudServices {
|
|
28
|
+
/**
|
|
29
|
+
* Returns list of dedicated cloud services within a subscription
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listBySubscription(
|
|
33
|
+
options?: DedicatedCloudServicesListBySubscriptionOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<DedicatedCloudService>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns list of dedicated cloud services within a resource group
|
|
37
|
+
* @param resourceGroupName The name of the resource group
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
listByResourceGroup(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
options?: DedicatedCloudServicesListByResourceGroupOptionalParams
|
|
43
|
+
): PagedAsyncIterableIterator<DedicatedCloudService>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns Dedicate Cloud Service
|
|
46
|
+
* @param resourceGroupName The name of the resource group
|
|
47
|
+
* @param dedicatedCloudServiceName dedicated cloud Service name
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
get(
|
|
51
|
+
resourceGroupName: string,
|
|
52
|
+
dedicatedCloudServiceName: string,
|
|
53
|
+
options?: DedicatedCloudServicesGetOptionalParams
|
|
54
|
+
): Promise<DedicatedCloudServicesGetResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Create dedicate cloud service
|
|
57
|
+
* @param resourceGroupName The name of the resource group
|
|
58
|
+
* @param dedicatedCloudServiceName dedicated cloud Service name
|
|
59
|
+
* @param dedicatedCloudServiceRequest Create Dedicated Cloud Service request
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
createOrUpdate(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
dedicatedCloudServiceName: string,
|
|
65
|
+
dedicatedCloudServiceRequest: DedicatedCloudService,
|
|
66
|
+
options?: DedicatedCloudServicesCreateOrUpdateOptionalParams
|
|
67
|
+
): Promise<DedicatedCloudServicesCreateOrUpdateResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Delete dedicate cloud service
|
|
70
|
+
* @param resourceGroupName The name of the resource group
|
|
71
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginDelete(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
dedicatedCloudServiceName: string,
|
|
77
|
+
options?: DedicatedCloudServicesDeleteOptionalParams
|
|
78
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
79
|
+
/**
|
|
80
|
+
* Delete dedicate cloud service
|
|
81
|
+
* @param resourceGroupName The name of the resource group
|
|
82
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginDeleteAndWait(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
dedicatedCloudServiceName: string,
|
|
88
|
+
options?: DedicatedCloudServicesDeleteOptionalParams
|
|
89
|
+
): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Patch dedicated cloud service's properties
|
|
92
|
+
* @param resourceGroupName The name of the resource group
|
|
93
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
94
|
+
* @param dedicatedCloudServiceRequest Patch Dedicated Cloud Service request
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
update(
|
|
98
|
+
resourceGroupName: string,
|
|
99
|
+
dedicatedCloudServiceName: string,
|
|
100
|
+
dedicatedCloudServiceRequest: PatchPayload,
|
|
101
|
+
options?: DedicatedCloudServicesUpdateOptionalParams
|
|
102
|
+
): Promise<DedicatedCloudServicesUpdateResponse>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export * from "./operations";
|
|
10
|
+
export * from "./dedicatedCloudNodes";
|
|
11
|
+
export * from "./dedicatedCloudServices";
|
|
12
|
+
export * from "./skusAvailability";
|
|
13
|
+
export * from "./privateClouds";
|
|
14
|
+
export * from "./customizationPolicies";
|
|
15
|
+
export * from "./resourcePools";
|
|
16
|
+
export * from "./virtualMachineTemplates";
|
|
17
|
+
export * from "./virtualNetworks";
|
|
18
|
+
export * from "./usages";
|
|
19
|
+
export * from "./virtualMachines";
|