@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
|
@@ -0,0 +1,1861 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Defines values for AggregationType. */
|
|
8
|
+
export declare type AggregationType = "Average" | "Total";
|
|
9
|
+
|
|
10
|
+
/** Resource provider available operation model */
|
|
11
|
+
export declare interface AvailableOperation {
|
|
12
|
+
/** The list of operations */
|
|
13
|
+
display?: AvailableOperationDisplay;
|
|
14
|
+
/** Indicating whether the operation is a data action or not */
|
|
15
|
+
isDataAction?: boolean;
|
|
16
|
+
/** {resourceProviderNamespace}/{resourceType}/{read|write|delete|action} */
|
|
17
|
+
name?: string;
|
|
18
|
+
/** The origin of operation */
|
|
19
|
+
origin?: OperationOrigin;
|
|
20
|
+
/** The list of specification's service metrics */
|
|
21
|
+
serviceSpecification?: AvailableOperationDisplayPropertyServiceSpecificationMetricsList;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Resource provider available operation display model */
|
|
25
|
+
export declare interface AvailableOperationDisplay {
|
|
26
|
+
/** Description of the operation for display purposes */
|
|
27
|
+
description?: string;
|
|
28
|
+
/** Name of the operation for display purposes */
|
|
29
|
+
operation?: string;
|
|
30
|
+
/** Name of the provider for display purposes */
|
|
31
|
+
provider?: string;
|
|
32
|
+
/** Name of the resource type for display purposes */
|
|
33
|
+
resource?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Available operation display property service specification metrics item */
|
|
37
|
+
export declare interface AvailableOperationDisplayPropertyServiceSpecificationMetricsItem {
|
|
38
|
+
/** Metric's aggregation type for e.g. (Average, Total) */
|
|
39
|
+
aggregationType: AggregationType;
|
|
40
|
+
/** Metric's description */
|
|
41
|
+
displayDescription: string;
|
|
42
|
+
/** Human readable metric's name */
|
|
43
|
+
displayName: string;
|
|
44
|
+
/** Metric's name/id */
|
|
45
|
+
name: string;
|
|
46
|
+
/** Metric's unit */
|
|
47
|
+
unit: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** List of available operation display property service specification metrics */
|
|
51
|
+
export declare interface AvailableOperationDisplayPropertyServiceSpecificationMetricsList {
|
|
52
|
+
/** Metric specifications of operation */
|
|
53
|
+
metricSpecifications?: AvailableOperationDisplayPropertyServiceSpecificationMetricsItem[];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** List of available operations */
|
|
57
|
+
export declare interface AvailableOperationsListResponse {
|
|
58
|
+
/** Link for next list of available operations */
|
|
59
|
+
nextLink?: string;
|
|
60
|
+
/** Returns a list of available operations */
|
|
61
|
+
value?: AvailableOperation[];
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** General error model */
|
|
65
|
+
export declare interface CsrpError {
|
|
66
|
+
/** Error's body */
|
|
67
|
+
error?: CsrpErrorBody;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** Error properties */
|
|
71
|
+
export declare interface CsrpErrorBody {
|
|
72
|
+
/**
|
|
73
|
+
* Error's code
|
|
74
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
75
|
+
*/
|
|
76
|
+
readonly code?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Error's details
|
|
79
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
80
|
+
*/
|
|
81
|
+
readonly details?: CsrpErrorBody[];
|
|
82
|
+
/**
|
|
83
|
+
* Error's message
|
|
84
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
85
|
+
*/
|
|
86
|
+
readonly message?: string;
|
|
87
|
+
/** Error's target */
|
|
88
|
+
target?: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Host name model */
|
|
92
|
+
export declare interface CustomizationHostName {
|
|
93
|
+
/** Hostname */
|
|
94
|
+
name?: string;
|
|
95
|
+
/** Type of host name */
|
|
96
|
+
type?: CustomizationHostNameType;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Defines values for CustomizationHostNameType. \
|
|
101
|
+
* {@link KnownCustomizationHostNameType} can be used interchangeably with CustomizationHostNameType,
|
|
102
|
+
* this enum contains the known values that the service supports.
|
|
103
|
+
* ### Known values supported by the service
|
|
104
|
+
* **USER_DEFINED** \
|
|
105
|
+
* **PREFIX_BASED** \
|
|
106
|
+
* **FIXED** \
|
|
107
|
+
* **VIRTUAL_MACHINE_NAME** \
|
|
108
|
+
* **CUSTOM_NAME**
|
|
109
|
+
*/
|
|
110
|
+
export declare type CustomizationHostNameType = string;
|
|
111
|
+
|
|
112
|
+
export declare interface CustomizationIdentity {
|
|
113
|
+
/** Windows Text Identity. Prepared data */
|
|
114
|
+
data?: string;
|
|
115
|
+
/** Virtual machine host name settings */
|
|
116
|
+
hostName?: CustomizationHostName;
|
|
117
|
+
/** Identity type */
|
|
118
|
+
type?: CustomizationIdentityType;
|
|
119
|
+
/** Windows Identity. User data customization */
|
|
120
|
+
userData?: CustomizationIdentityUserData;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Defines values for CustomizationIdentityType. \
|
|
125
|
+
* {@link KnownCustomizationIdentityType} can be used interchangeably with CustomizationIdentityType,
|
|
126
|
+
* this enum contains the known values that the service supports.
|
|
127
|
+
* ### Known values supported by the service
|
|
128
|
+
* **WINDOWS_TEXT** \
|
|
129
|
+
* **WINDOWS** \
|
|
130
|
+
* **LINUX**
|
|
131
|
+
*/
|
|
132
|
+
export declare type CustomizationIdentityType = string;
|
|
133
|
+
|
|
134
|
+
/** Windows Identity. User data customization */
|
|
135
|
+
export declare interface CustomizationIdentityUserData {
|
|
136
|
+
/** Is password predefined in customization policy */
|
|
137
|
+
isPasswordPredefined?: boolean;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export declare interface CustomizationIPAddress {
|
|
141
|
+
/** Argument when Custom ip type is selected */
|
|
142
|
+
argument?: string;
|
|
143
|
+
/** Defined Ip Address when Fixed ip type is selected */
|
|
144
|
+
ipAddress?: string;
|
|
145
|
+
/** Customization Specification ip type */
|
|
146
|
+
type?: CustomizationIPAddressType;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Defines values for CustomizationIPAddressType. \
|
|
151
|
+
* {@link KnownCustomizationIPAddressType} can be used interchangeably with CustomizationIPAddressType,
|
|
152
|
+
* this enum contains the known values that the service supports.
|
|
153
|
+
* ### Known values supported by the service
|
|
154
|
+
* **CUSTOM** \
|
|
155
|
+
* **DHCP_IP** \
|
|
156
|
+
* **FIXED_IP** \
|
|
157
|
+
* **USER_DEFINED**
|
|
158
|
+
*/
|
|
159
|
+
export declare type CustomizationIPAddressType = string;
|
|
160
|
+
|
|
161
|
+
export declare interface CustomizationIPSettings {
|
|
162
|
+
/** The list of gateways */
|
|
163
|
+
gateway?: string[];
|
|
164
|
+
/** Ip address customization settings */
|
|
165
|
+
ip?: CustomizationIPAddress;
|
|
166
|
+
/** Adapter subnet mask */
|
|
167
|
+
subnetMask?: string;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export declare interface CustomizationNicSetting {
|
|
171
|
+
/** The list of adapters' settings */
|
|
172
|
+
adapter?: CustomizationIPSettings;
|
|
173
|
+
/** NIC mac address */
|
|
174
|
+
macAddress?: string;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Interface representing a CustomizationPolicies. */
|
|
178
|
+
export declare interface CustomizationPolicies {
|
|
179
|
+
/**
|
|
180
|
+
* Returns list of customization policies in region for private cloud
|
|
181
|
+
* @param regionId The region Id (westus, eastus)
|
|
182
|
+
* @param pcName The private cloud name
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
list(regionId: string, pcName: string, options?: CustomizationPoliciesListOptionalParams): PagedAsyncIterableIterator<CustomizationPolicy>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns customization policy by its name
|
|
188
|
+
* @param regionId The region Id (westus, eastus)
|
|
189
|
+
* @param pcName The private cloud name
|
|
190
|
+
* @param customizationPolicyName customization policy name
|
|
191
|
+
* @param options The options parameters.
|
|
192
|
+
*/
|
|
193
|
+
get(regionId: string, pcName: string, customizationPolicyName: string, options?: CustomizationPoliciesGetOptionalParams): Promise<CustomizationPoliciesGetResponse>;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/** Optional parameters. */
|
|
197
|
+
export declare interface CustomizationPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** Contains response data for the get operation. */
|
|
201
|
+
export declare type CustomizationPoliciesGetResponse = CustomizationPolicy;
|
|
202
|
+
|
|
203
|
+
/** Optional parameters. */
|
|
204
|
+
export declare interface CustomizationPoliciesListNextOptionalParams extends coreClient.OperationOptions {
|
|
205
|
+
/** The filter to apply on the list operation. only type is allowed here as a filter e.g. $filter=type eq 'xxxx' */
|
|
206
|
+
filter?: string;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/** Contains response data for the listNext operation. */
|
|
210
|
+
export declare type CustomizationPoliciesListNextResponse = CustomizationPoliciesListResponse;
|
|
211
|
+
|
|
212
|
+
/** Contains response data for the list operation. */
|
|
213
|
+
export declare type CustomizationPoliciesListOperationResponse = CustomizationPoliciesListResponse;
|
|
214
|
+
|
|
215
|
+
/** Optional parameters. */
|
|
216
|
+
export declare interface CustomizationPoliciesListOptionalParams extends coreClient.OperationOptions {
|
|
217
|
+
/** The filter to apply on the list operation. only type is allowed here as a filter e.g. $filter=type eq 'xxxx' */
|
|
218
|
+
filter?: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** List of customization polices response model */
|
|
222
|
+
export declare interface CustomizationPoliciesListResponse {
|
|
223
|
+
/** Link for next list of the Customization policy */
|
|
224
|
+
nextLink?: string;
|
|
225
|
+
/** List of the customization policies */
|
|
226
|
+
value?: CustomizationPolicy[];
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/** The virtual machine customization policy */
|
|
230
|
+
export declare interface CustomizationPolicy {
|
|
231
|
+
/** Customization policy azure id */
|
|
232
|
+
id?: string;
|
|
233
|
+
/** Azure region */
|
|
234
|
+
location?: string;
|
|
235
|
+
/**
|
|
236
|
+
* Customization policy name
|
|
237
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
238
|
+
*/
|
|
239
|
+
readonly name?: string;
|
|
240
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
241
|
+
readonly type?: string;
|
|
242
|
+
/** Policy description */
|
|
243
|
+
description?: string;
|
|
244
|
+
/** The Private cloud id */
|
|
245
|
+
privateCloudId?: string;
|
|
246
|
+
/** Detailed customization policy specification */
|
|
247
|
+
specification?: CustomizationSpecification;
|
|
248
|
+
/** The type of customization (Linux or Windows) */
|
|
249
|
+
typePropertiesType?: CustomizationPolicyPropertiesType;
|
|
250
|
+
/** Policy version */
|
|
251
|
+
version?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Defines values for CustomizationPolicyPropertiesType. \
|
|
256
|
+
* {@link KnownCustomizationPolicyPropertiesType} can be used interchangeably with CustomizationPolicyPropertiesType,
|
|
257
|
+
* this enum contains the known values that the service supports.
|
|
258
|
+
* ### Known values supported by the service
|
|
259
|
+
* **LINUX** \
|
|
260
|
+
* **WINDOWS**
|
|
261
|
+
*/
|
|
262
|
+
export declare type CustomizationPolicyPropertiesType = string;
|
|
263
|
+
|
|
264
|
+
/** The specification for Customization Policy */
|
|
265
|
+
export declare interface CustomizationSpecification {
|
|
266
|
+
/** Customization Identity. It contains data about user and hostname */
|
|
267
|
+
identity?: CustomizationIdentity;
|
|
268
|
+
/** Network interface settings */
|
|
269
|
+
nicSettings?: CustomizationNicSetting[];
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/** Dedicated cloud node model */
|
|
273
|
+
export declare interface DedicatedCloudNode {
|
|
274
|
+
/**
|
|
275
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}
|
|
276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
277
|
+
*/
|
|
278
|
+
readonly id?: string;
|
|
279
|
+
/** Azure region */
|
|
280
|
+
location: string;
|
|
281
|
+
/**
|
|
282
|
+
* {dedicatedCloudNodeName}
|
|
283
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
284
|
+
*/
|
|
285
|
+
readonly name?: string;
|
|
286
|
+
/** Dedicated Cloud Nodes SKU */
|
|
287
|
+
sku?: Sku;
|
|
288
|
+
/** Dedicated Cloud Nodes tags */
|
|
289
|
+
tags?: {
|
|
290
|
+
[propertyName: string]: string;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
294
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
295
|
+
*/
|
|
296
|
+
readonly type?: string;
|
|
297
|
+
/** Availability Zone id, e.g. "az1" */
|
|
298
|
+
availabilityZoneId?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Availability Zone name, e.g. "Availability Zone 1"
|
|
301
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
302
|
+
*/
|
|
303
|
+
readonly availabilityZoneName?: string;
|
|
304
|
+
/**
|
|
305
|
+
* VMWare Cloud Rack Name
|
|
306
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
307
|
+
*/
|
|
308
|
+
readonly cloudRackName?: string;
|
|
309
|
+
/**
|
|
310
|
+
* date time the resource was created
|
|
311
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
312
|
+
*/
|
|
313
|
+
readonly created?: Date;
|
|
314
|
+
/** count of nodes to create */
|
|
315
|
+
nodesCount?: number;
|
|
316
|
+
/** Placement Group id, e.g. "n1" */
|
|
317
|
+
placementGroupId?: string;
|
|
318
|
+
/**
|
|
319
|
+
* Placement Name, e.g. "Placement Group 1"
|
|
320
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
321
|
+
*/
|
|
322
|
+
readonly placementGroupName?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Private Cloud Id
|
|
325
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
326
|
+
*/
|
|
327
|
+
readonly privateCloudId?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Resource Pool Name
|
|
330
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
331
|
+
*/
|
|
332
|
+
readonly privateCloudName?: string;
|
|
333
|
+
/**
|
|
334
|
+
* The provisioning status of the resource
|
|
335
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
336
|
+
*/
|
|
337
|
+
readonly provisioningState?: string;
|
|
338
|
+
/** purchase id */
|
|
339
|
+
purchaseId?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Node status, indicates is private cloud set up on this node or not
|
|
342
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
343
|
+
*/
|
|
344
|
+
readonly status?: NodeStatus;
|
|
345
|
+
/**
|
|
346
|
+
* VMWare Cluster Name
|
|
347
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
348
|
+
*/
|
|
349
|
+
readonly vmwareClusterName?: string;
|
|
350
|
+
/** SKU's id */
|
|
351
|
+
idPropertiesSkuDescriptionId?: string;
|
|
352
|
+
/** SKU's name */
|
|
353
|
+
namePropertiesSkuDescriptionName?: string;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** List of dedicated nodes response model */
|
|
357
|
+
export declare interface DedicatedCloudNodeListResponse {
|
|
358
|
+
/** Link for next list of DedicatedCloudNode */
|
|
359
|
+
nextLink?: string;
|
|
360
|
+
/** Results of the DedicatedCloudNode list */
|
|
361
|
+
value?: DedicatedCloudNode[];
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/** Interface representing a DedicatedCloudNodes. */
|
|
365
|
+
export declare interface DedicatedCloudNodes {
|
|
366
|
+
/**
|
|
367
|
+
* Returns list of dedicate cloud nodes within subscription
|
|
368
|
+
* @param options The options parameters.
|
|
369
|
+
*/
|
|
370
|
+
listBySubscription(options?: DedicatedCloudNodesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedCloudNode>;
|
|
371
|
+
/**
|
|
372
|
+
* Returns list of dedicate cloud nodes within resource group
|
|
373
|
+
* @param resourceGroupName The name of the resource group
|
|
374
|
+
* @param options The options parameters.
|
|
375
|
+
*/
|
|
376
|
+
listByResourceGroup(resourceGroupName: string, options?: DedicatedCloudNodesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedCloudNode>;
|
|
377
|
+
/**
|
|
378
|
+
* Returns dedicated cloud node
|
|
379
|
+
* @param resourceGroupName The name of the resource group
|
|
380
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
381
|
+
* @param options The options parameters.
|
|
382
|
+
*/
|
|
383
|
+
get(resourceGroupName: string, dedicatedCloudNodeName: string, options?: DedicatedCloudNodesGetOptionalParams): Promise<DedicatedCloudNodesGetResponse>;
|
|
384
|
+
/**
|
|
385
|
+
* Returns dedicated cloud node by its name
|
|
386
|
+
* @param resourceGroupName The name of the resource group
|
|
387
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
388
|
+
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
389
|
+
* @param options The options parameters.
|
|
390
|
+
*/
|
|
391
|
+
beginCreateOrUpdate(resourceGroupName: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DedicatedCloudNodesCreateOrUpdateResponse>, DedicatedCloudNodesCreateOrUpdateResponse>>;
|
|
392
|
+
/**
|
|
393
|
+
* Returns dedicated cloud node by its name
|
|
394
|
+
* @param resourceGroupName The name of the resource group
|
|
395
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
396
|
+
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
397
|
+
* @param options The options parameters.
|
|
398
|
+
*/
|
|
399
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise<DedicatedCloudNodesCreateOrUpdateResponse>;
|
|
400
|
+
/**
|
|
401
|
+
* Delete dedicated cloud node
|
|
402
|
+
* @param resourceGroupName The name of the resource group
|
|
403
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
404
|
+
* @param options The options parameters.
|
|
405
|
+
*/
|
|
406
|
+
delete(resourceGroupName: string, dedicatedCloudNodeName: string, options?: DedicatedCloudNodesDeleteOptionalParams): Promise<void>;
|
|
407
|
+
/**
|
|
408
|
+
* Patches dedicated node properties
|
|
409
|
+
* @param resourceGroupName The name of the resource group
|
|
410
|
+
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
411
|
+
* @param dedicatedCloudNodeRequest Patch Dedicated Cloud Node request
|
|
412
|
+
* @param options The options parameters.
|
|
413
|
+
*/
|
|
414
|
+
update(resourceGroupName: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: PatchPayload, options?: DedicatedCloudNodesUpdateOptionalParams): Promise<DedicatedCloudNodesUpdateResponse>;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/** Defines headers for DedicatedCloudNodes_createOrUpdate operation. */
|
|
418
|
+
export declare interface DedicatedCloudNodesCreateOrUpdateHeaders {
|
|
419
|
+
azureAsyncOperation?: string;
|
|
420
|
+
location?: string;
|
|
421
|
+
retryAfter?: number;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/** Optional parameters. */
|
|
425
|
+
export declare interface DedicatedCloudNodesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
426
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
427
|
+
updateIntervalInMs?: number;
|
|
428
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
429
|
+
resumeFrom?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
433
|
+
export declare type DedicatedCloudNodesCreateOrUpdateResponse = DedicatedCloudNodesCreateOrUpdateHeaders & DedicatedCloudNode;
|
|
434
|
+
|
|
435
|
+
/** Defines headers for DedicatedCloudNodes_delete operation. */
|
|
436
|
+
export declare interface DedicatedCloudNodesDeleteExceptionHeaders {
|
|
437
|
+
contentType?: string;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/** Optional parameters. */
|
|
441
|
+
export declare interface DedicatedCloudNodesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/** Optional parameters. */
|
|
445
|
+
export declare interface DedicatedCloudNodesGetOptionalParams extends coreClient.OperationOptions {
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/** Contains response data for the get operation. */
|
|
449
|
+
export declare type DedicatedCloudNodesGetResponse = DedicatedCloudNode;
|
|
450
|
+
|
|
451
|
+
/** Optional parameters. */
|
|
452
|
+
export declare interface DedicatedCloudNodesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
453
|
+
/** The filter to apply on the list operation */
|
|
454
|
+
filter?: string;
|
|
455
|
+
/** The maximum number of record sets to return */
|
|
456
|
+
top?: number;
|
|
457
|
+
/** to be used by nextLink implementation */
|
|
458
|
+
skipToken?: string;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
462
|
+
export declare type DedicatedCloudNodesListByResourceGroupNextResponse = DedicatedCloudNodeListResponse;
|
|
463
|
+
|
|
464
|
+
/** Optional parameters. */
|
|
465
|
+
export declare interface DedicatedCloudNodesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
466
|
+
/** The filter to apply on the list operation */
|
|
467
|
+
filter?: string;
|
|
468
|
+
/** The maximum number of record sets to return */
|
|
469
|
+
top?: number;
|
|
470
|
+
/** to be used by nextLink implementation */
|
|
471
|
+
skipToken?: string;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
475
|
+
export declare type DedicatedCloudNodesListByResourceGroupResponse = DedicatedCloudNodeListResponse;
|
|
476
|
+
|
|
477
|
+
/** Optional parameters. */
|
|
478
|
+
export declare interface DedicatedCloudNodesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
479
|
+
/** The filter to apply on the list operation */
|
|
480
|
+
filter?: string;
|
|
481
|
+
/** The maximum number of record sets to return */
|
|
482
|
+
top?: number;
|
|
483
|
+
/** to be used by nextLink implementation */
|
|
484
|
+
skipToken?: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
488
|
+
export declare type DedicatedCloudNodesListBySubscriptionNextResponse = DedicatedCloudNodeListResponse;
|
|
489
|
+
|
|
490
|
+
/** Optional parameters. */
|
|
491
|
+
export declare interface DedicatedCloudNodesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
492
|
+
/** The filter to apply on the list operation */
|
|
493
|
+
filter?: string;
|
|
494
|
+
/** The maximum number of record sets to return */
|
|
495
|
+
top?: number;
|
|
496
|
+
/** to be used by nextLink implementation */
|
|
497
|
+
skipToken?: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/** Contains response data for the listBySubscription operation. */
|
|
501
|
+
export declare type DedicatedCloudNodesListBySubscriptionResponse = DedicatedCloudNodeListResponse;
|
|
502
|
+
|
|
503
|
+
/** Optional parameters. */
|
|
504
|
+
export declare interface DedicatedCloudNodesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/** Contains response data for the update operation. */
|
|
508
|
+
export declare type DedicatedCloudNodesUpdateResponse = DedicatedCloudNode;
|
|
509
|
+
|
|
510
|
+
/** Dedicated cloud service model */
|
|
511
|
+
export declare interface DedicatedCloudService {
|
|
512
|
+
/**
|
|
513
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}
|
|
514
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
515
|
+
*/
|
|
516
|
+
readonly id?: string;
|
|
517
|
+
/** Azure region */
|
|
518
|
+
location: string;
|
|
519
|
+
/**
|
|
520
|
+
* {dedicatedCloudServiceName}
|
|
521
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
522
|
+
*/
|
|
523
|
+
readonly name?: string;
|
|
524
|
+
/** The list of tags */
|
|
525
|
+
tags?: {
|
|
526
|
+
[propertyName: string]: string;
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
530
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
531
|
+
*/
|
|
532
|
+
readonly type?: string;
|
|
533
|
+
/** gateway Subnet for the account. It will collect the subnet address and always treat it as /28 */
|
|
534
|
+
gatewaySubnet?: string;
|
|
535
|
+
/**
|
|
536
|
+
* indicates whether account onboarded or not in a given region
|
|
537
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
538
|
+
*/
|
|
539
|
+
readonly isAccountOnboarded?: OnboardingStatus;
|
|
540
|
+
/**
|
|
541
|
+
* total nodes purchased
|
|
542
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
543
|
+
*/
|
|
544
|
+
readonly nodes?: number;
|
|
545
|
+
/**
|
|
546
|
+
* link to a service management web portal
|
|
547
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
548
|
+
*/
|
|
549
|
+
readonly serviceURL?: string;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/** List of dedicated cloud services */
|
|
553
|
+
export declare interface DedicatedCloudServiceListResponse {
|
|
554
|
+
/** Link for next list of DedicatedCloudNode */
|
|
555
|
+
nextLink?: string;
|
|
556
|
+
/** Results of the DedicatedCloudService list */
|
|
557
|
+
value?: DedicatedCloudService[];
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/** Interface representing a DedicatedCloudServices. */
|
|
561
|
+
export declare interface DedicatedCloudServices {
|
|
562
|
+
/**
|
|
563
|
+
* Returns list of dedicated cloud services within a subscription
|
|
564
|
+
* @param options The options parameters.
|
|
565
|
+
*/
|
|
566
|
+
listBySubscription(options?: DedicatedCloudServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService>;
|
|
567
|
+
/**
|
|
568
|
+
* Returns list of dedicated cloud services within a resource group
|
|
569
|
+
* @param resourceGroupName The name of the resource group
|
|
570
|
+
* @param options The options parameters.
|
|
571
|
+
*/
|
|
572
|
+
listByResourceGroup(resourceGroupName: string, options?: DedicatedCloudServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DedicatedCloudService>;
|
|
573
|
+
/**
|
|
574
|
+
* Returns Dedicate Cloud Service
|
|
575
|
+
* @param resourceGroupName The name of the resource group
|
|
576
|
+
* @param dedicatedCloudServiceName dedicated cloud Service name
|
|
577
|
+
* @param options The options parameters.
|
|
578
|
+
*/
|
|
579
|
+
get(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesGetOptionalParams): Promise<DedicatedCloudServicesGetResponse>;
|
|
580
|
+
/**
|
|
581
|
+
* Create dedicate cloud service
|
|
582
|
+
* @param resourceGroupName The name of the resource group
|
|
583
|
+
* @param dedicatedCloudServiceName dedicated cloud Service name
|
|
584
|
+
* @param dedicatedCloudServiceRequest Create Dedicated Cloud Service request
|
|
585
|
+
* @param options The options parameters.
|
|
586
|
+
*/
|
|
587
|
+
createOrUpdate(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: DedicatedCloudService, options?: DedicatedCloudServicesCreateOrUpdateOptionalParams): Promise<DedicatedCloudServicesCreateOrUpdateResponse>;
|
|
588
|
+
/**
|
|
589
|
+
* Delete dedicate cloud service
|
|
590
|
+
* @param resourceGroupName The name of the resource group
|
|
591
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
592
|
+
* @param options The options parameters.
|
|
593
|
+
*/
|
|
594
|
+
beginDelete(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
595
|
+
/**
|
|
596
|
+
* Delete dedicate cloud service
|
|
597
|
+
* @param resourceGroupName The name of the resource group
|
|
598
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
599
|
+
* @param options The options parameters.
|
|
600
|
+
*/
|
|
601
|
+
beginDeleteAndWait(resourceGroupName: string, dedicatedCloudServiceName: string, options?: DedicatedCloudServicesDeleteOptionalParams): Promise<void>;
|
|
602
|
+
/**
|
|
603
|
+
* Patch dedicated cloud service's properties
|
|
604
|
+
* @param resourceGroupName The name of the resource group
|
|
605
|
+
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
606
|
+
* @param dedicatedCloudServiceRequest Patch Dedicated Cloud Service request
|
|
607
|
+
* @param options The options parameters.
|
|
608
|
+
*/
|
|
609
|
+
update(resourceGroupName: string, dedicatedCloudServiceName: string, dedicatedCloudServiceRequest: PatchPayload, options?: DedicatedCloudServicesUpdateOptionalParams): Promise<DedicatedCloudServicesUpdateResponse>;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/** Optional parameters. */
|
|
613
|
+
export declare interface DedicatedCloudServicesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
617
|
+
export declare type DedicatedCloudServicesCreateOrUpdateResponse = DedicatedCloudService;
|
|
618
|
+
|
|
619
|
+
/** Defines headers for DedicatedCloudServices_delete operation. */
|
|
620
|
+
export declare interface DedicatedCloudServicesDeleteExceptionHeaders {
|
|
621
|
+
contentType?: string;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/** Optional parameters. */
|
|
625
|
+
export declare interface DedicatedCloudServicesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
626
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
627
|
+
updateIntervalInMs?: number;
|
|
628
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
629
|
+
resumeFrom?: string;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/** Optional parameters. */
|
|
633
|
+
export declare interface DedicatedCloudServicesGetOptionalParams extends coreClient.OperationOptions {
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/** Contains response data for the get operation. */
|
|
637
|
+
export declare type DedicatedCloudServicesGetResponse = DedicatedCloudService;
|
|
638
|
+
|
|
639
|
+
/** Optional parameters. */
|
|
640
|
+
export declare interface DedicatedCloudServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
641
|
+
/** The filter to apply on the list operation */
|
|
642
|
+
filter?: string;
|
|
643
|
+
/** The maximum number of record sets to return */
|
|
644
|
+
top?: number;
|
|
645
|
+
/** to be used by nextLink implementation */
|
|
646
|
+
skipToken?: string;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
650
|
+
export declare type DedicatedCloudServicesListByResourceGroupNextResponse = DedicatedCloudServiceListResponse;
|
|
651
|
+
|
|
652
|
+
/** Optional parameters. */
|
|
653
|
+
export declare interface DedicatedCloudServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
654
|
+
/** The filter to apply on the list operation */
|
|
655
|
+
filter?: string;
|
|
656
|
+
/** The maximum number of record sets to return */
|
|
657
|
+
top?: number;
|
|
658
|
+
/** to be used by nextLink implementation */
|
|
659
|
+
skipToken?: string;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
663
|
+
export declare type DedicatedCloudServicesListByResourceGroupResponse = DedicatedCloudServiceListResponse;
|
|
664
|
+
|
|
665
|
+
/** Optional parameters. */
|
|
666
|
+
export declare interface DedicatedCloudServicesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
667
|
+
/** The filter to apply on the list operation */
|
|
668
|
+
filter?: string;
|
|
669
|
+
/** The maximum number of record sets to return */
|
|
670
|
+
top?: number;
|
|
671
|
+
/** to be used by nextLink implementation */
|
|
672
|
+
skipToken?: string;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
676
|
+
export declare type DedicatedCloudServicesListBySubscriptionNextResponse = DedicatedCloudServiceListResponse;
|
|
677
|
+
|
|
678
|
+
/** Optional parameters. */
|
|
679
|
+
export declare interface DedicatedCloudServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
680
|
+
/** The filter to apply on the list operation */
|
|
681
|
+
filter?: string;
|
|
682
|
+
/** The maximum number of record sets to return */
|
|
683
|
+
top?: number;
|
|
684
|
+
/** to be used by nextLink implementation */
|
|
685
|
+
skipToken?: string;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/** Contains response data for the listBySubscription operation. */
|
|
689
|
+
export declare type DedicatedCloudServicesListBySubscriptionResponse = DedicatedCloudServiceListResponse;
|
|
690
|
+
|
|
691
|
+
/** Optional parameters. */
|
|
692
|
+
export declare interface DedicatedCloudServicesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/** Contains response data for the update operation. */
|
|
696
|
+
export declare type DedicatedCloudServicesUpdateResponse = DedicatedCloudService;
|
|
697
|
+
|
|
698
|
+
/** Defines values for DiskIndependenceMode. */
|
|
699
|
+
export declare type DiskIndependenceMode = "persistent" | "independent_persistent" | "independent_nonpersistent";
|
|
700
|
+
|
|
701
|
+
/** Guest OS Customization properties */
|
|
702
|
+
export declare interface GuestOSCustomization {
|
|
703
|
+
/** List of dns servers to use */
|
|
704
|
+
dnsServers?: string[];
|
|
705
|
+
/** Virtual Machine hostname */
|
|
706
|
+
hostName?: string;
|
|
707
|
+
/** Password for login */
|
|
708
|
+
password?: string;
|
|
709
|
+
/** id of customization policy */
|
|
710
|
+
policyId?: string;
|
|
711
|
+
/** Username for login */
|
|
712
|
+
username?: string;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/** Guest OS nic customization */
|
|
716
|
+
export declare interface GuestOsnicCustomization {
|
|
717
|
+
/** IP address allocation method */
|
|
718
|
+
allocation?: GuestOsnicCustomizationAllocation;
|
|
719
|
+
/** List of dns servers to use */
|
|
720
|
+
dnsServers?: string[];
|
|
721
|
+
/** Gateway addresses assigned to nic */
|
|
722
|
+
gateway?: string[];
|
|
723
|
+
/** Static ip address for nic */
|
|
724
|
+
ipAddress?: string;
|
|
725
|
+
/** Network mask for nic */
|
|
726
|
+
mask?: string;
|
|
727
|
+
/** primary WINS server for Windows */
|
|
728
|
+
primaryWinsServer?: string;
|
|
729
|
+
/** secondary WINS server for Windows */
|
|
730
|
+
secondaryWinsServer?: string;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Defines values for GuestOsnicCustomizationAllocation. \
|
|
735
|
+
* {@link KnownGuestOsnicCustomizationAllocation} can be used interchangeably with GuestOsnicCustomizationAllocation,
|
|
736
|
+
* this enum contains the known values that the service supports.
|
|
737
|
+
* ### Known values supported by the service
|
|
738
|
+
* **static** \
|
|
739
|
+
* **dynamic**
|
|
740
|
+
*/
|
|
741
|
+
export declare type GuestOsnicCustomizationAllocation = string;
|
|
742
|
+
|
|
743
|
+
/** Defines values for GuestOSType. */
|
|
744
|
+
export declare type GuestOSType = "linux" | "windows" | "other";
|
|
745
|
+
|
|
746
|
+
/** Known values of {@link CustomizationHostNameType} that the service accepts. */
|
|
747
|
+
export declare enum KnownCustomizationHostNameType {
|
|
748
|
+
UserDefined = "USER_DEFINED",
|
|
749
|
+
PrefixBased = "PREFIX_BASED",
|
|
750
|
+
Fixed = "FIXED",
|
|
751
|
+
VirtualMachineName = "VIRTUAL_MACHINE_NAME",
|
|
752
|
+
CustomName = "CUSTOM_NAME"
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/** Known values of {@link CustomizationIdentityType} that the service accepts. */
|
|
756
|
+
export declare enum KnownCustomizationIdentityType {
|
|
757
|
+
WindowsText = "WINDOWS_TEXT",
|
|
758
|
+
Windows = "WINDOWS",
|
|
759
|
+
Linux = "LINUX"
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/** Known values of {@link CustomizationIPAddressType} that the service accepts. */
|
|
763
|
+
export declare enum KnownCustomizationIPAddressType {
|
|
764
|
+
Custom = "CUSTOM",
|
|
765
|
+
DhcpIP = "DHCP_IP",
|
|
766
|
+
FixedIP = "FIXED_IP",
|
|
767
|
+
UserDefined = "USER_DEFINED"
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/** Known values of {@link CustomizationPolicyPropertiesType} that the service accepts. */
|
|
771
|
+
export declare enum KnownCustomizationPolicyPropertiesType {
|
|
772
|
+
Linux = "LINUX",
|
|
773
|
+
Windows = "WINDOWS"
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/** Known values of {@link GuestOsnicCustomizationAllocation} that the service accepts. */
|
|
777
|
+
export declare enum KnownGuestOsnicCustomizationAllocation {
|
|
778
|
+
Static = "static",
|
|
779
|
+
Dynamic = "dynamic"
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/** Defines values for NICType. */
|
|
783
|
+
export declare type NICType = "E1000" | "E1000E" | "PCNET32" | "VMXNET" | "VMXNET2" | "VMXNET3";
|
|
784
|
+
|
|
785
|
+
/** Defines values for NodeStatus. */
|
|
786
|
+
export declare type NodeStatus = "unused" | "used";
|
|
787
|
+
|
|
788
|
+
/** Defines values for OnboardingStatus. */
|
|
789
|
+
export declare type OnboardingStatus = "notOnBoarded" | "onBoarded" | "onBoardingFailed" | "onBoarding";
|
|
790
|
+
|
|
791
|
+
/** Operation error model */
|
|
792
|
+
export declare interface OperationError {
|
|
793
|
+
/** Error's code */
|
|
794
|
+
code?: string;
|
|
795
|
+
/** Error's message */
|
|
796
|
+
message?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/** Defines values for OperationOrigin. */
|
|
800
|
+
export declare type OperationOrigin = "user" | "system" | "user,system";
|
|
801
|
+
|
|
802
|
+
/** Operation status response */
|
|
803
|
+
export declare interface OperationResource {
|
|
804
|
+
/**
|
|
805
|
+
* End time of the operation
|
|
806
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
807
|
+
*/
|
|
808
|
+
readonly endTime?: Date;
|
|
809
|
+
/** Error Message if operation failed */
|
|
810
|
+
error?: OperationError;
|
|
811
|
+
/**
|
|
812
|
+
* Operation Id
|
|
813
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
814
|
+
*/
|
|
815
|
+
readonly id?: string;
|
|
816
|
+
/**
|
|
817
|
+
* Operation ID
|
|
818
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
819
|
+
*/
|
|
820
|
+
readonly name?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Start time of the operation
|
|
823
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
824
|
+
*/
|
|
825
|
+
readonly startTime?: Date;
|
|
826
|
+
/**
|
|
827
|
+
* Operation status
|
|
828
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
829
|
+
*/
|
|
830
|
+
readonly status?: string;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** Interface representing a Operations. */
|
|
834
|
+
export declare interface Operations {
|
|
835
|
+
/**
|
|
836
|
+
* Return list of operations
|
|
837
|
+
* @param options The options parameters.
|
|
838
|
+
*/
|
|
839
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<AvailableOperation>;
|
|
840
|
+
/**
|
|
841
|
+
* Return an async operation
|
|
842
|
+
* @param regionId The region Id (westus, eastus)
|
|
843
|
+
* @param operationId operation id
|
|
844
|
+
* @param options The options parameters.
|
|
845
|
+
*/
|
|
846
|
+
get(regionId: string, operationId: string, options?: OperationsGetOptionalParams): Promise<OperationsGetResponse>;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/** Defines headers for Operations_get operation. */
|
|
850
|
+
export declare interface OperationsGetExceptionHeaders {
|
|
851
|
+
contentType?: string;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/** Defines headers for Operations_get operation. */
|
|
855
|
+
export declare interface OperationsGetHeaders {
|
|
856
|
+
location?: string;
|
|
857
|
+
retryAfter?: number;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/** Optional parameters. */
|
|
861
|
+
export declare interface OperationsGetOptionalParams extends coreClient.OperationOptions {
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/** Contains response data for the get operation. */
|
|
865
|
+
export declare type OperationsGetResponse = OperationResource;
|
|
866
|
+
|
|
867
|
+
/** Optional parameters. */
|
|
868
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/** Contains response data for the listNext operation. */
|
|
872
|
+
export declare type OperationsListNextResponse = AvailableOperationsListResponse;
|
|
873
|
+
|
|
874
|
+
/** Optional parameters. */
|
|
875
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/** Contains response data for the list operation. */
|
|
879
|
+
export declare type OperationsListResponse = AvailableOperationsListResponse;
|
|
880
|
+
|
|
881
|
+
/** General patch payload modal */
|
|
882
|
+
export declare interface PatchPayload {
|
|
883
|
+
/** The tags key:value pairs */
|
|
884
|
+
tags?: {
|
|
885
|
+
[propertyName: string]: string;
|
|
886
|
+
};
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/** Private cloud model */
|
|
890
|
+
export declare interface PrivateCloud {
|
|
891
|
+
/** Azure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123" */
|
|
892
|
+
id?: string;
|
|
893
|
+
/** Location where private cloud created, e.g "westus" */
|
|
894
|
+
location?: string;
|
|
895
|
+
/** Private cloud name */
|
|
896
|
+
name?: string;
|
|
897
|
+
/** Azure Resource type */
|
|
898
|
+
type?: "Microsoft.VMwareCloudSimple/privateClouds";
|
|
899
|
+
/** Availability Zone id, e.g. "az1" */
|
|
900
|
+
availabilityZoneId?: string;
|
|
901
|
+
/** Availability Zone name, e.g. "Availability Zone 1" */
|
|
902
|
+
availabilityZoneName?: string;
|
|
903
|
+
/** Number of clusters */
|
|
904
|
+
clustersNumber?: number;
|
|
905
|
+
/** User's emails who created cloud */
|
|
906
|
+
createdBy?: string;
|
|
907
|
+
/** When private cloud was created */
|
|
908
|
+
createdOn?: Date;
|
|
909
|
+
/** Array of DNS servers */
|
|
910
|
+
dnsServers?: string[];
|
|
911
|
+
/** Expiration date of PC */
|
|
912
|
+
expires?: string;
|
|
913
|
+
/** Nsx Type, e.g. "Advanced" */
|
|
914
|
+
nsxType?: string;
|
|
915
|
+
/** Placement Group id, e.g. "n1" */
|
|
916
|
+
placementGroupId?: string;
|
|
917
|
+
/** Placement Group name */
|
|
918
|
+
placementGroupName?: string;
|
|
919
|
+
/** Id of a private cloud */
|
|
920
|
+
privateCloudId?: string;
|
|
921
|
+
/** The list of Resource Pools */
|
|
922
|
+
resourcePools?: ResourcePool[];
|
|
923
|
+
/** Private Cloud state, e.g. "operational" */
|
|
924
|
+
state?: string;
|
|
925
|
+
/** Number of cores */
|
|
926
|
+
totalCpuCores?: number;
|
|
927
|
+
/** Number of nodes */
|
|
928
|
+
totalNodes?: number;
|
|
929
|
+
/** Memory size */
|
|
930
|
+
totalRam?: number;
|
|
931
|
+
/** Disk space in TB */
|
|
932
|
+
totalStorage?: number;
|
|
933
|
+
/** Virtualization type e.g. "vSphere" */
|
|
934
|
+
typePropertiesType?: string;
|
|
935
|
+
/** e.g. "6.5u2" */
|
|
936
|
+
vSphereVersion?: string;
|
|
937
|
+
/** FQDN for vcenter access */
|
|
938
|
+
vcenterFqdn?: string;
|
|
939
|
+
/** Vcenter ip address */
|
|
940
|
+
vcenterRefid?: string;
|
|
941
|
+
/** The list of Virtual Machine Templates */
|
|
942
|
+
virtualMachineTemplates?: VirtualMachineTemplate[];
|
|
943
|
+
/** The list of Virtual Networks */
|
|
944
|
+
virtualNetworks?: VirtualNetwork[];
|
|
945
|
+
/** Is Vrops enabled/disabled */
|
|
946
|
+
vrOpsEnabled?: boolean;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** List of private clouds */
|
|
950
|
+
export declare interface PrivateCloudList {
|
|
951
|
+
/** Link for next list of Private Clouds */
|
|
952
|
+
nextLink?: string;
|
|
953
|
+
/** the list of private clouds */
|
|
954
|
+
value?: PrivateCloud[];
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/** Interface representing a PrivateClouds. */
|
|
958
|
+
export declare interface PrivateClouds {
|
|
959
|
+
/**
|
|
960
|
+
* Returns list of private clouds in particular region
|
|
961
|
+
* @param regionId The region Id (westus, eastus)
|
|
962
|
+
* @param options The options parameters.
|
|
963
|
+
*/
|
|
964
|
+
list(regionId: string, options?: PrivateCloudsListOptionalParams): PagedAsyncIterableIterator<PrivateCloud>;
|
|
965
|
+
/**
|
|
966
|
+
* Returns private cloud by its name
|
|
967
|
+
* @param pcName The private cloud name
|
|
968
|
+
* @param regionId The region Id (westus, eastus)
|
|
969
|
+
* @param options The options parameters.
|
|
970
|
+
*/
|
|
971
|
+
get(pcName: string, regionId: string, options?: PrivateCloudsGetOptionalParams): Promise<PrivateCloudsGetResponse>;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** Optional parameters. */
|
|
975
|
+
export declare interface PrivateCloudsGetOptionalParams extends coreClient.OperationOptions {
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/** Contains response data for the get operation. */
|
|
979
|
+
export declare type PrivateCloudsGetResponse = PrivateCloud;
|
|
980
|
+
|
|
981
|
+
/** Optional parameters. */
|
|
982
|
+
export declare interface PrivateCloudsListNextOptionalParams extends coreClient.OperationOptions {
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/** Contains response data for the listNext operation. */
|
|
986
|
+
export declare type PrivateCloudsListNextResponse = PrivateCloudList;
|
|
987
|
+
|
|
988
|
+
/** Optional parameters. */
|
|
989
|
+
export declare interface PrivateCloudsListOptionalParams extends coreClient.OperationOptions {
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/** Contains response data for the list operation. */
|
|
993
|
+
export declare type PrivateCloudsListResponse = PrivateCloudList;
|
|
994
|
+
|
|
995
|
+
/** Resource pool model */
|
|
996
|
+
export declare interface ResourcePool {
|
|
997
|
+
/** resource pool id (privateCloudId:vsphereId) */
|
|
998
|
+
id: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Azure region
|
|
1001
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1002
|
+
*/
|
|
1003
|
+
readonly location?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* {ResourcePoolName}
|
|
1006
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1007
|
+
*/
|
|
1008
|
+
readonly name?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* The Private Cloud Id
|
|
1011
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly privateCloudId?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
1016
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1017
|
+
*/
|
|
1018
|
+
readonly type?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Hierarchical resource pool name
|
|
1021
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1022
|
+
*/
|
|
1023
|
+
readonly fullName?: string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
/** Interface representing a ResourcePools. */
|
|
1027
|
+
export declare interface ResourcePools {
|
|
1028
|
+
/**
|
|
1029
|
+
* Returns list of resource pools in region for private cloud
|
|
1030
|
+
* @param regionId The region Id (westus, eastus)
|
|
1031
|
+
* @param pcName The private cloud name
|
|
1032
|
+
* @param options The options parameters.
|
|
1033
|
+
*/
|
|
1034
|
+
list(regionId: string, pcName: string, options?: ResourcePoolsListOptionalParams): PagedAsyncIterableIterator<ResourcePool>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Returns resource pool templates by its name
|
|
1037
|
+
* @param regionId The region Id (westus, eastus)
|
|
1038
|
+
* @param pcName The private cloud name
|
|
1039
|
+
* @param resourcePoolName resource pool id (vsphereId)
|
|
1040
|
+
* @param options The options parameters.
|
|
1041
|
+
*/
|
|
1042
|
+
get(regionId: string, pcName: string, resourcePoolName: string, options?: ResourcePoolsGetOptionalParams): Promise<ResourcePoolsGetResponse>;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/** Optional parameters. */
|
|
1046
|
+
export declare interface ResourcePoolsGetOptionalParams extends coreClient.OperationOptions {
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/** Contains response data for the get operation. */
|
|
1050
|
+
export declare type ResourcePoolsGetResponse = ResourcePool;
|
|
1051
|
+
|
|
1052
|
+
/** Optional parameters. */
|
|
1053
|
+
export declare interface ResourcePoolsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/** Contains response data for the listNext operation. */
|
|
1057
|
+
export declare type ResourcePoolsListNextResponse = ResourcePoolsListResponse;
|
|
1058
|
+
|
|
1059
|
+
/** Contains response data for the list operation. */
|
|
1060
|
+
export declare type ResourcePoolsListOperationResponse = ResourcePoolsListResponse;
|
|
1061
|
+
|
|
1062
|
+
/** Optional parameters. */
|
|
1063
|
+
export declare interface ResourcePoolsListOptionalParams extends coreClient.OperationOptions {
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/** List of resource pools response model */
|
|
1067
|
+
export declare interface ResourcePoolsListResponse {
|
|
1068
|
+
/** Link for next list of ResourcePoolsList */
|
|
1069
|
+
nextLink?: string;
|
|
1070
|
+
/** Results of the Resource pools list */
|
|
1071
|
+
value?: ResourcePool[];
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/** The purchase SKU for CloudSimple paid resources */
|
|
1075
|
+
export declare interface Sku {
|
|
1076
|
+
/** The capacity of the SKU */
|
|
1077
|
+
capacity?: string;
|
|
1078
|
+
/** dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ... */
|
|
1079
|
+
description?: string;
|
|
1080
|
+
/** If the service has different generations of hardware, for the same SKU, then that can be captured here */
|
|
1081
|
+
family?: string;
|
|
1082
|
+
/** The name of the SKU for VMWare CloudSimple Node */
|
|
1083
|
+
name: string;
|
|
1084
|
+
/** The tier of the SKU */
|
|
1085
|
+
tier?: string;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/** SKU availability model */
|
|
1089
|
+
export declare interface SkuAvailability {
|
|
1090
|
+
/** CloudSimple Availability Zone id */
|
|
1091
|
+
dedicatedAvailabilityZoneId?: string;
|
|
1092
|
+
/** CloudSimple Availability Zone Name */
|
|
1093
|
+
dedicatedAvailabilityZoneName?: string;
|
|
1094
|
+
/** CloudSimple Placement Group Id */
|
|
1095
|
+
dedicatedPlacementGroupId?: string;
|
|
1096
|
+
/** CloudSimple Placement Group name */
|
|
1097
|
+
dedicatedPlacementGroupName?: string;
|
|
1098
|
+
/** indicates how many resources of a given SKU is available in a AZ->PG */
|
|
1099
|
+
limit: number;
|
|
1100
|
+
/** resource type e.g. DedicatedCloudNodes */
|
|
1101
|
+
resourceType?: string;
|
|
1102
|
+
/** sku id */
|
|
1103
|
+
skuId?: string;
|
|
1104
|
+
/** sku name */
|
|
1105
|
+
skuName?: string;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/** List of SKU availabilities */
|
|
1109
|
+
export declare interface SkuAvailabilityListResponse {
|
|
1110
|
+
/** Link for next list of DedicatedCloudNode */
|
|
1111
|
+
nextLink?: string;
|
|
1112
|
+
/** Results of the DedicatedPlacementGroupSkuAvailability list */
|
|
1113
|
+
value?: SkuAvailability[];
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/** Interface representing a SkusAvailability. */
|
|
1117
|
+
export declare interface SkusAvailability {
|
|
1118
|
+
/**
|
|
1119
|
+
* Returns list of available resources in region
|
|
1120
|
+
* @param regionId The region Id (westus, eastus)
|
|
1121
|
+
* @param options The options parameters.
|
|
1122
|
+
*/
|
|
1123
|
+
list(regionId: string, options?: SkusAvailabilityListOptionalParams): PagedAsyncIterableIterator<SkuAvailability>;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/** Optional parameters. */
|
|
1127
|
+
export declare interface SkusAvailabilityListNextOptionalParams extends coreClient.OperationOptions {
|
|
1128
|
+
/** sku id, if no sku is passed availability for all skus will be returned */
|
|
1129
|
+
skuId?: string;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/** Contains response data for the listNext operation. */
|
|
1133
|
+
export declare type SkusAvailabilityListNextResponse = SkuAvailabilityListResponse;
|
|
1134
|
+
|
|
1135
|
+
/** Optional parameters. */
|
|
1136
|
+
export declare interface SkusAvailabilityListOptionalParams extends coreClient.OperationOptions {
|
|
1137
|
+
/** sku id, if no sku is passed availability for all skus will be returned */
|
|
1138
|
+
skuId?: string;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/** Contains response data for the list operation. */
|
|
1142
|
+
export declare type SkusAvailabilityListResponse = SkuAvailabilityListResponse;
|
|
1143
|
+
|
|
1144
|
+
/** Defines values for StopMode. */
|
|
1145
|
+
export declare type StopMode = "reboot" | "suspend" | "shutdown" | "poweroff";
|
|
1146
|
+
|
|
1147
|
+
/** Usage model */
|
|
1148
|
+
export declare interface Usage {
|
|
1149
|
+
/** The current usage value */
|
|
1150
|
+
currentValue: number;
|
|
1151
|
+
/** limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1 */
|
|
1152
|
+
limit: number;
|
|
1153
|
+
/** Usage name value and localized name */
|
|
1154
|
+
name?: UsageName;
|
|
1155
|
+
/** The usages' unit */
|
|
1156
|
+
unit?: UsageCount;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/** Defines values for UsageCount. */
|
|
1160
|
+
export declare type UsageCount = "Count" | "Bytes" | "Seconds" | "Percent" | "CountPerSecond" | "BytesPerSecond";
|
|
1161
|
+
|
|
1162
|
+
/** List of usages */
|
|
1163
|
+
export declare interface UsageListResponse {
|
|
1164
|
+
/** Link for next list of DedicatedCloudNode */
|
|
1165
|
+
nextLink?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* The list of usages
|
|
1168
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1169
|
+
*/
|
|
1170
|
+
readonly value?: Usage[];
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/** User name model */
|
|
1174
|
+
export declare interface UsageName {
|
|
1175
|
+
/** e.g. "Virtual Machines" */
|
|
1176
|
+
localizedValue?: string;
|
|
1177
|
+
/** resource type or resource type sku name, e.g. virtualMachines */
|
|
1178
|
+
value?: string;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** Interface representing a Usages. */
|
|
1182
|
+
export declare interface Usages {
|
|
1183
|
+
/**
|
|
1184
|
+
* Returns list of usage in region
|
|
1185
|
+
* @param regionId The region Id (westus, eastus)
|
|
1186
|
+
* @param options The options parameters.
|
|
1187
|
+
*/
|
|
1188
|
+
list(regionId: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator<Usage>;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/** Optional parameters. */
|
|
1192
|
+
export declare interface UsagesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1193
|
+
/** The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx' */
|
|
1194
|
+
filter?: string;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/** Contains response data for the listNext operation. */
|
|
1198
|
+
export declare type UsagesListNextResponse = UsageListResponse;
|
|
1199
|
+
|
|
1200
|
+
/** Optional parameters. */
|
|
1201
|
+
export declare interface UsagesListOptionalParams extends coreClient.OperationOptions {
|
|
1202
|
+
/** The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx' */
|
|
1203
|
+
filter?: string;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/** Contains response data for the list operation. */
|
|
1207
|
+
export declare type UsagesListResponse = UsageListResponse;
|
|
1208
|
+
|
|
1209
|
+
/** Virtual disk model */
|
|
1210
|
+
export declare interface VirtualDisk {
|
|
1211
|
+
/** Disk's Controller id */
|
|
1212
|
+
controllerId: string;
|
|
1213
|
+
/** Disk's independence mode type */
|
|
1214
|
+
independenceMode: DiskIndependenceMode;
|
|
1215
|
+
/** Disk's total size */
|
|
1216
|
+
totalSize: number;
|
|
1217
|
+
/** Disk's id */
|
|
1218
|
+
virtualDiskId?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Disk's display name
|
|
1221
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1222
|
+
*/
|
|
1223
|
+
readonly virtualDiskName?: string;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/** Virtual disk controller model */
|
|
1227
|
+
export declare interface VirtualDiskController {
|
|
1228
|
+
/**
|
|
1229
|
+
* Controller's id
|
|
1230
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1231
|
+
*/
|
|
1232
|
+
readonly id?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* The display name of Controller
|
|
1235
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1236
|
+
*/
|
|
1237
|
+
readonly name?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
|
|
1240
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1241
|
+
*/
|
|
1242
|
+
readonly subType?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* disk controller type (SCSI)
|
|
1245
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1246
|
+
*/
|
|
1247
|
+
readonly type?: string;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
/** Virtual machine model */
|
|
1251
|
+
export declare interface VirtualMachine {
|
|
1252
|
+
/**
|
|
1253
|
+
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
|
|
1254
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1255
|
+
*/
|
|
1256
|
+
readonly id?: string;
|
|
1257
|
+
/** Azure region */
|
|
1258
|
+
location: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* {virtualMachineName}
|
|
1261
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1262
|
+
*/
|
|
1263
|
+
readonly name?: string;
|
|
1264
|
+
/** The list of tags */
|
|
1265
|
+
tags?: {
|
|
1266
|
+
[propertyName: string]: string;
|
|
1267
|
+
};
|
|
1268
|
+
/**
|
|
1269
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
1270
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1271
|
+
*/
|
|
1272
|
+
readonly type?: string;
|
|
1273
|
+
/** The amount of memory */
|
|
1274
|
+
amountOfRam?: number;
|
|
1275
|
+
/**
|
|
1276
|
+
* The list of Virtual Disks' Controllers
|
|
1277
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1278
|
+
*/
|
|
1279
|
+
readonly controllers?: VirtualDiskController[];
|
|
1280
|
+
/** Virtual machine properties */
|
|
1281
|
+
customization?: GuestOSCustomization;
|
|
1282
|
+
/** The list of Virtual Disks */
|
|
1283
|
+
disks?: VirtualDisk[];
|
|
1284
|
+
/**
|
|
1285
|
+
* The DNS name of Virtual Machine in VCenter
|
|
1286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1287
|
+
*/
|
|
1288
|
+
readonly dnsname?: string;
|
|
1289
|
+
/** Expose Guest OS or not */
|
|
1290
|
+
exposeToGuestVM?: boolean;
|
|
1291
|
+
/**
|
|
1292
|
+
* The path to virtual machine folder in VCenter
|
|
1293
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1294
|
+
*/
|
|
1295
|
+
readonly folder?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* The name of Guest OS
|
|
1298
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1299
|
+
*/
|
|
1300
|
+
readonly guestOS?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* The Guest OS type
|
|
1303
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1304
|
+
*/
|
|
1305
|
+
readonly guestOSType?: GuestOSType;
|
|
1306
|
+
/** The list of Virtual NICs */
|
|
1307
|
+
nics?: VirtualNic[];
|
|
1308
|
+
/** The number of CPU cores */
|
|
1309
|
+
numberOfCores?: number;
|
|
1310
|
+
/** Password for login. Deprecated - use customization property */
|
|
1311
|
+
password?: string;
|
|
1312
|
+
/** Private Cloud Id */
|
|
1313
|
+
privateCloudId?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* The provisioning status of the resource
|
|
1316
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1317
|
+
*/
|
|
1318
|
+
readonly provisioningState?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* The public ip of Virtual Machine
|
|
1321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1322
|
+
*/
|
|
1323
|
+
readonly publicIP?: string;
|
|
1324
|
+
/** Virtual Machines Resource Pool */
|
|
1325
|
+
resourcePool?: ResourcePool;
|
|
1326
|
+
/**
|
|
1327
|
+
* The status of Virtual machine
|
|
1328
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1329
|
+
*/
|
|
1330
|
+
readonly status?: VirtualMachineStatus;
|
|
1331
|
+
/** Virtual Machine Template Id */
|
|
1332
|
+
templateId?: string;
|
|
1333
|
+
/** Username for login. Deprecated - use customization property */
|
|
1334
|
+
username?: string;
|
|
1335
|
+
/** The list of Virtual VSphere Networks */
|
|
1336
|
+
vSphereNetworks?: string[];
|
|
1337
|
+
/**
|
|
1338
|
+
* The internal id of Virtual Machine in VCenter
|
|
1339
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1340
|
+
*/
|
|
1341
|
+
readonly vmId?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* VMware tools version
|
|
1344
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1345
|
+
*/
|
|
1346
|
+
readonly vmwaretools?: string;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/** List of virtual machines */
|
|
1350
|
+
export declare interface VirtualMachineListResponse {
|
|
1351
|
+
/** Link for next list of VirtualMachines */
|
|
1352
|
+
nextLink?: string;
|
|
1353
|
+
/** Results of the VirtualMachine list */
|
|
1354
|
+
value?: VirtualMachine[];
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/** Interface representing a VirtualMachines. */
|
|
1358
|
+
export declare interface VirtualMachines {
|
|
1359
|
+
/**
|
|
1360
|
+
* Returns list virtual machine within subscription
|
|
1361
|
+
* @param options The options parameters.
|
|
1362
|
+
*/
|
|
1363
|
+
listBySubscription(options?: VirtualMachinesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Returns list of virtual machine within resource group
|
|
1366
|
+
* @param resourceGroupName The name of the resource group
|
|
1367
|
+
* @param options The options parameters.
|
|
1368
|
+
*/
|
|
1369
|
+
listByResourceGroup(resourceGroupName: string, options?: VirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VirtualMachine>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Get virtual machine
|
|
1372
|
+
* @param resourceGroupName The name of the resource group
|
|
1373
|
+
* @param virtualMachineName virtual machine name
|
|
1374
|
+
* @param options The options parameters.
|
|
1375
|
+
*/
|
|
1376
|
+
get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise<VirtualMachinesGetResponse>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Create Or Update Virtual Machine
|
|
1379
|
+
* @param resourceGroupName The name of the resource group
|
|
1380
|
+
* @param virtualMachineName virtual machine name
|
|
1381
|
+
* @param virtualMachineRequest Create or Update Virtual Machine request
|
|
1382
|
+
* @param options The options parameters.
|
|
1383
|
+
*/
|
|
1384
|
+
beginCreateOrUpdate(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesCreateOrUpdateResponse>, VirtualMachinesCreateOrUpdateResponse>>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Create Or Update Virtual Machine
|
|
1387
|
+
* @param resourceGroupName The name of the resource group
|
|
1388
|
+
* @param virtualMachineName virtual machine name
|
|
1389
|
+
* @param virtualMachineRequest Create or Update Virtual Machine request
|
|
1390
|
+
* @param options The options parameters.
|
|
1391
|
+
*/
|
|
1392
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise<VirtualMachinesCreateOrUpdateResponse>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Delete virtual machine
|
|
1395
|
+
* @param resourceGroupName The name of the resource group
|
|
1396
|
+
* @param virtualMachineName virtual machine name
|
|
1397
|
+
* @param options The options parameters.
|
|
1398
|
+
*/
|
|
1399
|
+
beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesDeleteResponse>, VirtualMachinesDeleteResponse>>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Delete virtual machine
|
|
1402
|
+
* @param resourceGroupName The name of the resource group
|
|
1403
|
+
* @param virtualMachineName virtual machine name
|
|
1404
|
+
* @param options The options parameters.
|
|
1405
|
+
*/
|
|
1406
|
+
beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise<VirtualMachinesDeleteResponse>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Patch virtual machine properties
|
|
1409
|
+
* @param resourceGroupName The name of the resource group
|
|
1410
|
+
* @param virtualMachineName virtual machine name
|
|
1411
|
+
* @param virtualMachineRequest Patch virtual machine request
|
|
1412
|
+
* @param options The options parameters.
|
|
1413
|
+
*/
|
|
1414
|
+
beginUpdate(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: PatchPayload, options?: VirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualMachinesUpdateResponse>, VirtualMachinesUpdateResponse>>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Patch virtual machine properties
|
|
1417
|
+
* @param resourceGroupName The name of the resource group
|
|
1418
|
+
* @param virtualMachineName virtual machine name
|
|
1419
|
+
* @param virtualMachineRequest Patch virtual machine request
|
|
1420
|
+
* @param options The options parameters.
|
|
1421
|
+
*/
|
|
1422
|
+
beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: PatchPayload, options?: VirtualMachinesUpdateOptionalParams): Promise<VirtualMachinesUpdateResponse>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Power on virtual machine
|
|
1425
|
+
* @param resourceGroupName The name of the resource group
|
|
1426
|
+
* @param virtualMachineName virtual machine name
|
|
1427
|
+
* @param options The options parameters.
|
|
1428
|
+
*/
|
|
1429
|
+
beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Power on virtual machine
|
|
1432
|
+
* @param resourceGroupName The name of the resource group
|
|
1433
|
+
* @param virtualMachineName virtual machine name
|
|
1434
|
+
* @param options The options parameters.
|
|
1435
|
+
*/
|
|
1436
|
+
beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise<void>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Power off virtual machine, options: shutdown, poweroff, and suspend
|
|
1439
|
+
* @param resourceGroupName The name of the resource group
|
|
1440
|
+
* @param virtualMachineName virtual machine name
|
|
1441
|
+
* @param options The options parameters.
|
|
1442
|
+
*/
|
|
1443
|
+
beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Power off virtual machine, options: shutdown, poweroff, and suspend
|
|
1446
|
+
* @param resourceGroupName The name of the resource group
|
|
1447
|
+
* @param virtualMachineName virtual machine name
|
|
1448
|
+
* @param options The options parameters.
|
|
1449
|
+
*/
|
|
1450
|
+
beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise<void>;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
/** Defines headers for VirtualMachines_createOrUpdate operation. */
|
|
1454
|
+
export declare interface VirtualMachinesCreateOrUpdateHeaders {
|
|
1455
|
+
azureAsyncOperation?: string;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/** Optional parameters. */
|
|
1459
|
+
export declare interface VirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1460
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1461
|
+
updateIntervalInMs?: number;
|
|
1462
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1463
|
+
resumeFrom?: string;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1467
|
+
export declare type VirtualMachinesCreateOrUpdateResponse = VirtualMachinesCreateOrUpdateHeaders & VirtualMachine;
|
|
1468
|
+
|
|
1469
|
+
/** Defines headers for VirtualMachines_delete operation. */
|
|
1470
|
+
export declare interface VirtualMachinesDeleteExceptionHeaders {
|
|
1471
|
+
contentType?: string;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/** Defines headers for VirtualMachines_delete operation. */
|
|
1475
|
+
export declare interface VirtualMachinesDeleteHeaders {
|
|
1476
|
+
azureAsyncOperation?: string;
|
|
1477
|
+
location?: string;
|
|
1478
|
+
retryAfter?: number;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/** Optional parameters. */
|
|
1482
|
+
export declare interface VirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1483
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1484
|
+
updateIntervalInMs?: number;
|
|
1485
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1486
|
+
resumeFrom?: string;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/** Contains response data for the delete operation. */
|
|
1490
|
+
export declare type VirtualMachinesDeleteResponse = VirtualMachinesDeleteHeaders;
|
|
1491
|
+
|
|
1492
|
+
/** Optional parameters. */
|
|
1493
|
+
export declare interface VirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/** Contains response data for the get operation. */
|
|
1497
|
+
export declare type VirtualMachinesGetResponse = VirtualMachine;
|
|
1498
|
+
|
|
1499
|
+
/** Optional parameters. */
|
|
1500
|
+
export declare interface VirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1501
|
+
/** The filter to apply on the list operation */
|
|
1502
|
+
filter?: string;
|
|
1503
|
+
/** The maximum number of record sets to return */
|
|
1504
|
+
top?: number;
|
|
1505
|
+
/** to be used by nextLink implementation */
|
|
1506
|
+
skipToken?: string;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1510
|
+
export declare type VirtualMachinesListByResourceGroupNextResponse = VirtualMachineListResponse;
|
|
1511
|
+
|
|
1512
|
+
/** Optional parameters. */
|
|
1513
|
+
export declare interface VirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1514
|
+
/** The filter to apply on the list operation */
|
|
1515
|
+
filter?: string;
|
|
1516
|
+
/** The maximum number of record sets to return */
|
|
1517
|
+
top?: number;
|
|
1518
|
+
/** to be used by nextLink implementation */
|
|
1519
|
+
skipToken?: string;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1523
|
+
export declare type VirtualMachinesListByResourceGroupResponse = VirtualMachineListResponse;
|
|
1524
|
+
|
|
1525
|
+
/** Optional parameters. */
|
|
1526
|
+
export declare interface VirtualMachinesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1527
|
+
/** The filter to apply on the list operation */
|
|
1528
|
+
filter?: string;
|
|
1529
|
+
/** The maximum number of record sets to return */
|
|
1530
|
+
top?: number;
|
|
1531
|
+
/** to be used by nextLink implementation */
|
|
1532
|
+
skipToken?: string;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1536
|
+
export declare type VirtualMachinesListBySubscriptionNextResponse = VirtualMachineListResponse;
|
|
1537
|
+
|
|
1538
|
+
/** Optional parameters. */
|
|
1539
|
+
export declare interface VirtualMachinesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1540
|
+
/** The filter to apply on the list operation */
|
|
1541
|
+
filter?: string;
|
|
1542
|
+
/** The maximum number of record sets to return */
|
|
1543
|
+
top?: number;
|
|
1544
|
+
/** to be used by nextLink implementation */
|
|
1545
|
+
skipToken?: string;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1549
|
+
export declare type VirtualMachinesListBySubscriptionResponse = VirtualMachineListResponse;
|
|
1550
|
+
|
|
1551
|
+
/** Defines headers for VirtualMachines_start operation. */
|
|
1552
|
+
export declare interface VirtualMachinesStartExceptionHeaders {
|
|
1553
|
+
contentType?: string;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/** Defines headers for VirtualMachines_start operation. */
|
|
1557
|
+
export declare interface VirtualMachinesStartHeaders {
|
|
1558
|
+
azureAsyncOperation?: string;
|
|
1559
|
+
location?: string;
|
|
1560
|
+
retryAfter?: number;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/** Optional parameters. */
|
|
1564
|
+
export declare interface VirtualMachinesStartOptionalParams extends coreClient.OperationOptions {
|
|
1565
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1566
|
+
updateIntervalInMs?: number;
|
|
1567
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1568
|
+
resumeFrom?: string;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/** Defines headers for VirtualMachines_stop operation. */
|
|
1572
|
+
export declare interface VirtualMachinesStopExceptionHeaders {
|
|
1573
|
+
contentType?: string;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/** Defines headers for VirtualMachines_stop operation. */
|
|
1577
|
+
export declare interface VirtualMachinesStopHeaders {
|
|
1578
|
+
azureAsyncOperation?: string;
|
|
1579
|
+
location?: string;
|
|
1580
|
+
retryAfter?: number;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/** Optional parameters. */
|
|
1584
|
+
export declare interface VirtualMachinesStopOptionalParams extends coreClient.OperationOptions {
|
|
1585
|
+
/** body stop mode parameter (reboot, shutdown, etc...) */
|
|
1586
|
+
m?: VirtualMachineStopMode;
|
|
1587
|
+
/** query stop mode parameter (reboot, shutdown, etc...) */
|
|
1588
|
+
mode?: StopMode;
|
|
1589
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1590
|
+
updateIntervalInMs?: number;
|
|
1591
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1592
|
+
resumeFrom?: string;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/** Defines values for VirtualMachineStatus. */
|
|
1596
|
+
export declare type VirtualMachineStatus = "running" | "suspended" | "poweredoff" | "updating" | "deallocating" | "deleting";
|
|
1597
|
+
|
|
1598
|
+
/** List of virtual machine stop modes */
|
|
1599
|
+
export declare interface VirtualMachineStopMode {
|
|
1600
|
+
/** mode indicates a type of stop operation - reboot, suspend, shutdown or power-off */
|
|
1601
|
+
mode?: StopMode;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
/** Optional parameters. */
|
|
1605
|
+
export declare interface VirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1606
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1607
|
+
updateIntervalInMs?: number;
|
|
1608
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1609
|
+
resumeFrom?: string;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/** Contains response data for the update operation. */
|
|
1613
|
+
export declare type VirtualMachinesUpdateResponse = VirtualMachine;
|
|
1614
|
+
|
|
1615
|
+
/** Virtual machine template model */
|
|
1616
|
+
export declare interface VirtualMachineTemplate {
|
|
1617
|
+
/**
|
|
1618
|
+
* virtual machine template id (privateCloudId:vsphereId)
|
|
1619
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1620
|
+
*/
|
|
1621
|
+
readonly id?: string;
|
|
1622
|
+
/** Azure region */
|
|
1623
|
+
location?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* {virtualMachineTemplateName}
|
|
1626
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1627
|
+
*/
|
|
1628
|
+
readonly name?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
1631
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1632
|
+
*/
|
|
1633
|
+
readonly type?: string;
|
|
1634
|
+
/** The amount of memory */
|
|
1635
|
+
amountOfRam?: number;
|
|
1636
|
+
/** The list of Virtual Disk Controllers */
|
|
1637
|
+
controllers?: VirtualDiskController[];
|
|
1638
|
+
/** The description of Virtual Machine Template */
|
|
1639
|
+
description?: string;
|
|
1640
|
+
/** The list of Virtual Disks */
|
|
1641
|
+
disks?: VirtualDisk[];
|
|
1642
|
+
/** Expose Guest OS or not */
|
|
1643
|
+
exposeToGuestVM?: boolean;
|
|
1644
|
+
/**
|
|
1645
|
+
* The Guest OS
|
|
1646
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1647
|
+
*/
|
|
1648
|
+
readonly guestOS?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* The Guest OS types
|
|
1651
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1652
|
+
*/
|
|
1653
|
+
readonly guestOSType?: string;
|
|
1654
|
+
/** The list of Virtual NICs */
|
|
1655
|
+
nics?: VirtualNic[];
|
|
1656
|
+
/** The number of CPU cores */
|
|
1657
|
+
numberOfCores?: number;
|
|
1658
|
+
/** path to folder */
|
|
1659
|
+
path?: string;
|
|
1660
|
+
/** The Private Cloud Id */
|
|
1661
|
+
privateCloudId?: string;
|
|
1662
|
+
/** The list of VSphere networks */
|
|
1663
|
+
vSphereNetworks?: string[];
|
|
1664
|
+
/** The tags from VSphere */
|
|
1665
|
+
vSphereTags?: string[];
|
|
1666
|
+
/**
|
|
1667
|
+
* The VMware tools version
|
|
1668
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1669
|
+
*/
|
|
1670
|
+
readonly vmwaretools?: string;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
/** List of virtual machine templates */
|
|
1674
|
+
export declare interface VirtualMachineTemplateListResponse {
|
|
1675
|
+
/** Link for next list of VirtualMachineTemplate */
|
|
1676
|
+
nextLink?: string;
|
|
1677
|
+
/** Results of the VM template list */
|
|
1678
|
+
value?: VirtualMachineTemplate[];
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
/** Interface representing a VirtualMachineTemplates. */
|
|
1682
|
+
export declare interface VirtualMachineTemplates {
|
|
1683
|
+
/**
|
|
1684
|
+
* Returns list of virtual machine templates in region for private cloud
|
|
1685
|
+
* @param pcName The private cloud name
|
|
1686
|
+
* @param regionId The region Id (westus, eastus)
|
|
1687
|
+
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains VM templates
|
|
1688
|
+
* @param options The options parameters.
|
|
1689
|
+
*/
|
|
1690
|
+
list(pcName: string, regionId: string, resourcePoolName: string, options?: VirtualMachineTemplatesListOptionalParams): PagedAsyncIterableIterator<VirtualMachineTemplate>;
|
|
1691
|
+
/**
|
|
1692
|
+
* Returns virtual machine templates by its name
|
|
1693
|
+
* @param regionId The region Id (westus, eastus)
|
|
1694
|
+
* @param pcName The private cloud name
|
|
1695
|
+
* @param virtualMachineTemplateName virtual machine template id (vsphereId)
|
|
1696
|
+
* @param options The options parameters.
|
|
1697
|
+
*/
|
|
1698
|
+
get(regionId: string, pcName: string, virtualMachineTemplateName: string, options?: VirtualMachineTemplatesGetOptionalParams): Promise<VirtualMachineTemplatesGetResponse>;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
/** Optional parameters. */
|
|
1702
|
+
export declare interface VirtualMachineTemplatesGetOptionalParams extends coreClient.OperationOptions {
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/** Contains response data for the get operation. */
|
|
1706
|
+
export declare type VirtualMachineTemplatesGetResponse = VirtualMachineTemplate;
|
|
1707
|
+
|
|
1708
|
+
/** Optional parameters. */
|
|
1709
|
+
export declare interface VirtualMachineTemplatesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/** Contains response data for the listNext operation. */
|
|
1713
|
+
export declare type VirtualMachineTemplatesListNextResponse = VirtualMachineTemplateListResponse;
|
|
1714
|
+
|
|
1715
|
+
/** Optional parameters. */
|
|
1716
|
+
export declare interface VirtualMachineTemplatesListOptionalParams extends coreClient.OperationOptions {
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
/** Contains response data for the list operation. */
|
|
1720
|
+
export declare type VirtualMachineTemplatesListResponse = VirtualMachineTemplateListResponse;
|
|
1721
|
+
|
|
1722
|
+
/** Virtual network model */
|
|
1723
|
+
export declare interface VirtualNetwork {
|
|
1724
|
+
/**
|
|
1725
|
+
* can be used in vm creation/deletion
|
|
1726
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1727
|
+
*/
|
|
1728
|
+
readonly assignable?: boolean;
|
|
1729
|
+
/** virtual network id (privateCloudId:vsphereId) */
|
|
1730
|
+
id: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* Azure region
|
|
1733
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1734
|
+
*/
|
|
1735
|
+
readonly location?: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* {VirtualNetworkName}
|
|
1738
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1739
|
+
*/
|
|
1740
|
+
readonly name?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* {resourceProviderNamespace}/{resourceType}
|
|
1743
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1744
|
+
*/
|
|
1745
|
+
readonly type?: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* The Private Cloud id
|
|
1748
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1749
|
+
*/
|
|
1750
|
+
readonly privateCloudId?: string;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/** List of virtual networks */
|
|
1754
|
+
export declare interface VirtualNetworkListResponse {
|
|
1755
|
+
/** Link for next list of VirtualNetwork */
|
|
1756
|
+
nextLink?: string;
|
|
1757
|
+
/** Results of the VirtualNetwork list */
|
|
1758
|
+
value?: VirtualNetwork[];
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
/** Interface representing a VirtualNetworks. */
|
|
1762
|
+
export declare interface VirtualNetworks {
|
|
1763
|
+
/**
|
|
1764
|
+
* Return list of virtual networks in location for private cloud
|
|
1765
|
+
* @param regionId The region Id (westus, eastus)
|
|
1766
|
+
* @param pcName The private cloud name
|
|
1767
|
+
* @param resourcePoolName Resource pool used to derive vSphere cluster which contains virtual networks
|
|
1768
|
+
* @param options The options parameters.
|
|
1769
|
+
*/
|
|
1770
|
+
list(regionId: string, pcName: string, resourcePoolName: string, options?: VirtualNetworksListOptionalParams): PagedAsyncIterableIterator<VirtualNetwork>;
|
|
1771
|
+
/**
|
|
1772
|
+
* Return virtual network by its name
|
|
1773
|
+
* @param regionId The region Id (westus, eastus)
|
|
1774
|
+
* @param pcName The private cloud name
|
|
1775
|
+
* @param virtualNetworkName virtual network id (vsphereId)
|
|
1776
|
+
* @param options The options parameters.
|
|
1777
|
+
*/
|
|
1778
|
+
get(regionId: string, pcName: string, virtualNetworkName: string, options?: VirtualNetworksGetOptionalParams): Promise<VirtualNetworksGetResponse>;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
/** Optional parameters. */
|
|
1782
|
+
export declare interface VirtualNetworksGetOptionalParams extends coreClient.OperationOptions {
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/** Contains response data for the get operation. */
|
|
1786
|
+
export declare type VirtualNetworksGetResponse = VirtualNetwork;
|
|
1787
|
+
|
|
1788
|
+
/** Optional parameters. */
|
|
1789
|
+
export declare interface VirtualNetworksListNextOptionalParams extends coreClient.OperationOptions {
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
/** Contains response data for the listNext operation. */
|
|
1793
|
+
export declare type VirtualNetworksListNextResponse = VirtualNetworkListResponse;
|
|
1794
|
+
|
|
1795
|
+
/** Optional parameters. */
|
|
1796
|
+
export declare interface VirtualNetworksListOptionalParams extends coreClient.OperationOptions {
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
/** Contains response data for the list operation. */
|
|
1800
|
+
export declare type VirtualNetworksListResponse = VirtualNetworkListResponse;
|
|
1801
|
+
|
|
1802
|
+
/** Virtual NIC model */
|
|
1803
|
+
export declare interface VirtualNic {
|
|
1804
|
+
/** guest OS customization for nic */
|
|
1805
|
+
customization?: GuestOsnicCustomization;
|
|
1806
|
+
/** NIC ip address */
|
|
1807
|
+
ipAddresses?: string[];
|
|
1808
|
+
/** NIC MAC address */
|
|
1809
|
+
macAddress?: string;
|
|
1810
|
+
/** Virtual Network */
|
|
1811
|
+
network: VirtualNetwork;
|
|
1812
|
+
/** NIC type */
|
|
1813
|
+
nicType: NICType;
|
|
1814
|
+
/** Is NIC powered on/off on boot */
|
|
1815
|
+
powerOnBoot?: boolean;
|
|
1816
|
+
/** NIC id */
|
|
1817
|
+
virtualNicId?: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* NIC name
|
|
1820
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1821
|
+
*/
|
|
1822
|
+
readonly virtualNicName?: string;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
export declare class VMwareCloudSimple extends coreClient.ServiceClient {
|
|
1826
|
+
$host: string;
|
|
1827
|
+
apiVersion: string;
|
|
1828
|
+
subscriptionId: string;
|
|
1829
|
+
referer: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* Initializes a new instance of the VMwareCloudSimple class.
|
|
1832
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1833
|
+
* @param subscriptionId The subscription ID.
|
|
1834
|
+
* @param referer referer url
|
|
1835
|
+
* @param options The parameter options
|
|
1836
|
+
*/
|
|
1837
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, referer: string, options?: VMwareCloudSimpleOptionalParams);
|
|
1838
|
+
operations: Operations;
|
|
1839
|
+
dedicatedCloudNodes: DedicatedCloudNodes;
|
|
1840
|
+
dedicatedCloudServices: DedicatedCloudServices;
|
|
1841
|
+
skusAvailability: SkusAvailability;
|
|
1842
|
+
privateClouds: PrivateClouds;
|
|
1843
|
+
customizationPolicies: CustomizationPolicies;
|
|
1844
|
+
resourcePools: ResourcePools;
|
|
1845
|
+
virtualMachineTemplates: VirtualMachineTemplates;
|
|
1846
|
+
virtualNetworks: VirtualNetworks;
|
|
1847
|
+
usages: Usages;
|
|
1848
|
+
virtualMachines: VirtualMachines;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/** Optional parameters. */
|
|
1852
|
+
export declare interface VMwareCloudSimpleOptionalParams extends coreClient.ServiceClientOptions {
|
|
1853
|
+
/** server parameter */
|
|
1854
|
+
$host?: string;
|
|
1855
|
+
/** Api Version */
|
|
1856
|
+
apiVersion?: string;
|
|
1857
|
+
/** Overrides client endpoint. */
|
|
1858
|
+
endpoint?: string;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
export { }
|