@azure/arm-azurestackhci 1.1.1 → 2.0.0-alpha.20220111.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +2369 -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/azureStackHCIClient.d.ts +21 -0
- package/dist-esm/src/azureStackHCIClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackHCIClient.js +54 -0
- package/dist-esm/src/azureStackHCIClient.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 +864 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +135 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +881 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +137 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/arcSettings.d.ts +72 -0
- package/dist-esm/src/operations/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/arcSettings.js +281 -0
- package/dist-esm/src/operations/arcSettings.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +83 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +356 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/extensions.d.ts +109 -0
- package/dist-esm/src/operations/extensions.d.ts.map +1 -0
- package/dist-esm/src/operations/extensions.js +462 -0
- package/dist-esm/src/operations/extensions.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +12 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -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/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 +65 -22
- package/review/arm-azurestackhci.api.md +650 -0
- package/rollup.config.js +181 -30
- package/src/azureStackHCIClient.ts +78 -37
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +775 -366
- package/src/models/mappers.ts +635 -239
- package/src/models/parameters.ts +112 -35
- package/src/operations/arcSettings.ts +394 -0
- package/src/operations/clusters.ts +279 -309
- package/src/operations/extensions.ts +672 -0
- package/src/operations/index.ts +6 -6
- package/src/operations/operations.ts +30 -45
- package/src/operationsInterfaces/arcSettings.ts +89 -0
- package/src/operationsInterfaces/clusters.ts +91 -0
- package/src/operationsInterfaces/extensions.ts +162 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestackhci.d.ts +1146 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestackhci.js +0 -1151
- package/dist/arm-azurestackhci.js.map +0 -1
- package/dist/arm-azurestackhci.min.js +0 -1
- package/dist/arm-azurestackhci.min.js.map +0 -1
- package/esm/azureStackHCIClient.d.ts +0 -25
- package/esm/azureStackHCIClient.d.ts.map +0 -1
- package/esm/azureStackHCIClient.js +0 -39
- package/esm/azureStackHCIClient.js.map +0 -1
- package/esm/azureStackHCIClientContext.d.ts +0 -22
- package/esm/azureStackHCIClientContext.d.ts.map +0 -1
- package/esm/azureStackHCIClientContext.js +0 -61
- package/esm/azureStackHCIClientContext.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -509
- 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 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -527
- 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 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -82
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -169
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -273
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/azureStackHCIClientContext.ts +0 -68
- package/src/models/clustersMappers.ts +0 -23
- package/src/models/operationsMappers.ts +0 -16
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureStackHCIClientContext } from "../azureStackHCIClientContext";
|
|
4
|
-
/** Class representing a Clusters. */
|
|
5
|
-
export declare class Clusters {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Clusters.
|
|
9
|
-
* @param {AzureStackHCIClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureStackHCIClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* List all HCI clusters in a subscription.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.ClustersListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.ClustersListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
27
|
-
/**
|
|
28
|
-
* List all HCI clusters in a resource group.
|
|
29
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.ClustersListByResourceGroupResponse>
|
|
32
|
-
*/
|
|
33
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersListByResourceGroupResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
45
|
-
/**
|
|
46
|
-
* Get HCI cluster.
|
|
47
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
48
|
-
* @param clusterName The name of the cluster.
|
|
49
|
-
* @param [options] The optional parameters
|
|
50
|
-
* @returns Promise<Models.ClustersGetResponse>
|
|
51
|
-
*/
|
|
52
|
-
get(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersGetResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
55
|
-
* @param clusterName The name of the cluster.
|
|
56
|
-
* @param callback The callback
|
|
57
|
-
*/
|
|
58
|
-
get(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
59
|
-
/**
|
|
60
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
61
|
-
* @param clusterName The name of the cluster.
|
|
62
|
-
* @param options The optional parameters
|
|
63
|
-
* @param callback The callback
|
|
64
|
-
*/
|
|
65
|
-
get(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
66
|
-
/**
|
|
67
|
-
* Create an HCI cluster.
|
|
68
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
-
* @param clusterName The name of the cluster.
|
|
70
|
-
* @param cluster Details of the HCI cluster.
|
|
71
|
-
* @param [options] The optional parameters
|
|
72
|
-
* @returns Promise<Models.ClustersCreateResponse>
|
|
73
|
-
*/
|
|
74
|
-
create(resourceGroupName: string, clusterName: string, cluster: Models.Cluster, options?: msRest.RequestOptionsBase): Promise<Models.ClustersCreateResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
-
* @param clusterName The name of the cluster.
|
|
78
|
-
* @param cluster Details of the HCI cluster.
|
|
79
|
-
* @param callback The callback
|
|
80
|
-
*/
|
|
81
|
-
create(resourceGroupName: string, clusterName: string, cluster: Models.Cluster, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
82
|
-
/**
|
|
83
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
-
* @param clusterName The name of the cluster.
|
|
85
|
-
* @param cluster Details of the HCI cluster.
|
|
86
|
-
* @param options The optional parameters
|
|
87
|
-
* @param callback The callback
|
|
88
|
-
*/
|
|
89
|
-
create(resourceGroupName: string, clusterName: string, cluster: Models.Cluster, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
90
|
-
/**
|
|
91
|
-
* Update an HCI cluster.
|
|
92
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
-
* @param clusterName The name of the cluster.
|
|
94
|
-
* @param [options] The optional parameters
|
|
95
|
-
* @returns Promise<Models.ClustersUpdateResponse>
|
|
96
|
-
*/
|
|
97
|
-
update(resourceGroupName: string, clusterName: string, options?: Models.ClustersUpdateOptionalParams): Promise<Models.ClustersUpdateResponse>;
|
|
98
|
-
/**
|
|
99
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
|
-
* @param clusterName The name of the cluster.
|
|
101
|
-
* @param callback The callback
|
|
102
|
-
*/
|
|
103
|
-
update(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
104
|
-
/**
|
|
105
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
106
|
-
* @param clusterName The name of the cluster.
|
|
107
|
-
* @param options The optional parameters
|
|
108
|
-
* @param callback The callback
|
|
109
|
-
*/
|
|
110
|
-
update(resourceGroupName: string, clusterName: string, options: Models.ClustersUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Cluster>): void;
|
|
111
|
-
/**
|
|
112
|
-
* Delete an HCI cluster.
|
|
113
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
-
* @param clusterName The name of the cluster.
|
|
115
|
-
* @param [options] The optional parameters
|
|
116
|
-
* @returns Promise<msRest.RestResponse>
|
|
117
|
-
*/
|
|
118
|
-
deleteMethod(resourceGroupName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
119
|
-
/**
|
|
120
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
-
* @param clusterName The name of the cluster.
|
|
122
|
-
* @param callback The callback
|
|
123
|
-
*/
|
|
124
|
-
deleteMethod(resourceGroupName: string, clusterName: string, callback: msRest.ServiceCallback<void>): void;
|
|
125
|
-
/**
|
|
126
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
127
|
-
* @param clusterName The name of the cluster.
|
|
128
|
-
* @param options The optional parameters
|
|
129
|
-
* @param callback The callback
|
|
130
|
-
*/
|
|
131
|
-
deleteMethod(resourceGroupName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
132
|
-
/**
|
|
133
|
-
* List all HCI clusters in a subscription.
|
|
134
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
135
|
-
* @param [options] The optional parameters
|
|
136
|
-
* @returns Promise<Models.ClustersListNextResponse>
|
|
137
|
-
*/
|
|
138
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersListNextResponse>;
|
|
139
|
-
/**
|
|
140
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
141
|
-
* @param callback The callback
|
|
142
|
-
*/
|
|
143
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
144
|
-
/**
|
|
145
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
146
|
-
* @param options The optional parameters
|
|
147
|
-
* @param callback The callback
|
|
148
|
-
*/
|
|
149
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
150
|
-
/**
|
|
151
|
-
* List all HCI clusters in a resource group.
|
|
152
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
153
|
-
* @param [options] The optional parameters
|
|
154
|
-
* @returns Promise<Models.ClustersListByResourceGroupNextResponse>
|
|
155
|
-
*/
|
|
156
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ClustersListByResourceGroupNextResponse>;
|
|
157
|
-
/**
|
|
158
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
159
|
-
* @param callback The callback
|
|
160
|
-
*/
|
|
161
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
162
|
-
/**
|
|
163
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
164
|
-
* @param options The optional parameters
|
|
165
|
-
* @param callback The callback
|
|
166
|
-
*/
|
|
167
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ClusterList>): void;
|
|
168
|
-
}
|
|
169
|
-
//# sourceMappingURL=clusters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../src/operations/clusters.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAC/E;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAChE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAUpG;;;;;OAKG;IACH,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG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AAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI;IAY9I;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAC;IAC7G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAC1F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAW9H;;;;;OAKG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;IAC3I;;;OAGG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IACzG;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;CAU9I"}
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/clustersMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Clusters. */
|
|
15
|
-
var Clusters = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Clusters.
|
|
18
|
-
* @param {AzureStackHCIClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Clusters(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Clusters.prototype.list = function (options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
options: options
|
|
26
|
-
}, listOperationSpec, callback);
|
|
27
|
-
};
|
|
28
|
-
Clusters.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
29
|
-
return this.client.sendOperationRequest({
|
|
30
|
-
resourceGroupName: resourceGroupName,
|
|
31
|
-
options: options
|
|
32
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
33
|
-
};
|
|
34
|
-
Clusters.prototype.get = function (resourceGroupName, clusterName, options, callback) {
|
|
35
|
-
return this.client.sendOperationRequest({
|
|
36
|
-
resourceGroupName: resourceGroupName,
|
|
37
|
-
clusterName: clusterName,
|
|
38
|
-
options: options
|
|
39
|
-
}, getOperationSpec, callback);
|
|
40
|
-
};
|
|
41
|
-
Clusters.prototype.create = function (resourceGroupName, clusterName, cluster, options, callback) {
|
|
42
|
-
return this.client.sendOperationRequest({
|
|
43
|
-
resourceGroupName: resourceGroupName,
|
|
44
|
-
clusterName: clusterName,
|
|
45
|
-
cluster: cluster,
|
|
46
|
-
options: options
|
|
47
|
-
}, createOperationSpec, callback);
|
|
48
|
-
};
|
|
49
|
-
Clusters.prototype.update = function (resourceGroupName, clusterName, options, callback) {
|
|
50
|
-
return this.client.sendOperationRequest({
|
|
51
|
-
resourceGroupName: resourceGroupName,
|
|
52
|
-
clusterName: clusterName,
|
|
53
|
-
options: options
|
|
54
|
-
}, updateOperationSpec, callback);
|
|
55
|
-
};
|
|
56
|
-
Clusters.prototype.deleteMethod = function (resourceGroupName, clusterName, options, callback) {
|
|
57
|
-
return this.client.sendOperationRequest({
|
|
58
|
-
resourceGroupName: resourceGroupName,
|
|
59
|
-
clusterName: clusterName,
|
|
60
|
-
options: options
|
|
61
|
-
}, deleteMethodOperationSpec, callback);
|
|
62
|
-
};
|
|
63
|
-
Clusters.prototype.listNext = function (nextPageLink, options, callback) {
|
|
64
|
-
return this.client.sendOperationRequest({
|
|
65
|
-
nextPageLink: nextPageLink,
|
|
66
|
-
options: options
|
|
67
|
-
}, listNextOperationSpec, callback);
|
|
68
|
-
};
|
|
69
|
-
Clusters.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
70
|
-
return this.client.sendOperationRequest({
|
|
71
|
-
nextPageLink: nextPageLink,
|
|
72
|
-
options: options
|
|
73
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
74
|
-
};
|
|
75
|
-
return Clusters;
|
|
76
|
-
}());
|
|
77
|
-
export { Clusters };
|
|
78
|
-
// Operation Specifications
|
|
79
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
80
|
-
var listOperationSpec = {
|
|
81
|
-
httpMethod: "GET",
|
|
82
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters",
|
|
83
|
-
urlParameters: [
|
|
84
|
-
Parameters.subscriptionId
|
|
85
|
-
],
|
|
86
|
-
queryParameters: [
|
|
87
|
-
Parameters.apiVersion
|
|
88
|
-
],
|
|
89
|
-
headerParameters: [
|
|
90
|
-
Parameters.acceptLanguage
|
|
91
|
-
],
|
|
92
|
-
responses: {
|
|
93
|
-
200: {
|
|
94
|
-
bodyMapper: Mappers.ClusterList
|
|
95
|
-
},
|
|
96
|
-
default: {
|
|
97
|
-
bodyMapper: Mappers.ErrorResponse
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
serializer: serializer
|
|
101
|
-
};
|
|
102
|
-
var listByResourceGroupOperationSpec = {
|
|
103
|
-
httpMethod: "GET",
|
|
104
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters",
|
|
105
|
-
urlParameters: [
|
|
106
|
-
Parameters.subscriptionId,
|
|
107
|
-
Parameters.resourceGroupName
|
|
108
|
-
],
|
|
109
|
-
queryParameters: [
|
|
110
|
-
Parameters.apiVersion
|
|
111
|
-
],
|
|
112
|
-
headerParameters: [
|
|
113
|
-
Parameters.acceptLanguage
|
|
114
|
-
],
|
|
115
|
-
responses: {
|
|
116
|
-
200: {
|
|
117
|
-
bodyMapper: Mappers.ClusterList
|
|
118
|
-
},
|
|
119
|
-
default: {
|
|
120
|
-
bodyMapper: Mappers.ErrorResponse
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
serializer: serializer
|
|
124
|
-
};
|
|
125
|
-
var getOperationSpec = {
|
|
126
|
-
httpMethod: "GET",
|
|
127
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
128
|
-
urlParameters: [
|
|
129
|
-
Parameters.subscriptionId,
|
|
130
|
-
Parameters.resourceGroupName,
|
|
131
|
-
Parameters.clusterName
|
|
132
|
-
],
|
|
133
|
-
queryParameters: [
|
|
134
|
-
Parameters.apiVersion
|
|
135
|
-
],
|
|
136
|
-
headerParameters: [
|
|
137
|
-
Parameters.acceptLanguage
|
|
138
|
-
],
|
|
139
|
-
responses: {
|
|
140
|
-
200: {
|
|
141
|
-
bodyMapper: Mappers.Cluster
|
|
142
|
-
},
|
|
143
|
-
default: {
|
|
144
|
-
bodyMapper: Mappers.ErrorResponse
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
serializer: serializer
|
|
148
|
-
};
|
|
149
|
-
var createOperationSpec = {
|
|
150
|
-
httpMethod: "PUT",
|
|
151
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
152
|
-
urlParameters: [
|
|
153
|
-
Parameters.subscriptionId,
|
|
154
|
-
Parameters.resourceGroupName,
|
|
155
|
-
Parameters.clusterName
|
|
156
|
-
],
|
|
157
|
-
queryParameters: [
|
|
158
|
-
Parameters.apiVersion
|
|
159
|
-
],
|
|
160
|
-
headerParameters: [
|
|
161
|
-
Parameters.acceptLanguage
|
|
162
|
-
],
|
|
163
|
-
requestBody: {
|
|
164
|
-
parameterPath: "cluster",
|
|
165
|
-
mapper: __assign(__assign({}, Mappers.Cluster), { required: true })
|
|
166
|
-
},
|
|
167
|
-
responses: {
|
|
168
|
-
200: {
|
|
169
|
-
bodyMapper: Mappers.Cluster
|
|
170
|
-
},
|
|
171
|
-
default: {
|
|
172
|
-
bodyMapper: Mappers.ErrorResponse
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
serializer: serializer
|
|
176
|
-
};
|
|
177
|
-
var updateOperationSpec = {
|
|
178
|
-
httpMethod: "PATCH",
|
|
179
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
180
|
-
urlParameters: [
|
|
181
|
-
Parameters.subscriptionId,
|
|
182
|
-
Parameters.resourceGroupName,
|
|
183
|
-
Parameters.clusterName
|
|
184
|
-
],
|
|
185
|
-
queryParameters: [
|
|
186
|
-
Parameters.apiVersion
|
|
187
|
-
],
|
|
188
|
-
headerParameters: [
|
|
189
|
-
Parameters.acceptLanguage
|
|
190
|
-
],
|
|
191
|
-
requestBody: {
|
|
192
|
-
parameterPath: {
|
|
193
|
-
tags: [
|
|
194
|
-
"options",
|
|
195
|
-
"tags"
|
|
196
|
-
]
|
|
197
|
-
},
|
|
198
|
-
mapper: __assign(__assign({}, Mappers.ClusterUpdate), { required: true })
|
|
199
|
-
},
|
|
200
|
-
responses: {
|
|
201
|
-
200: {
|
|
202
|
-
bodyMapper: Mappers.Cluster
|
|
203
|
-
},
|
|
204
|
-
default: {
|
|
205
|
-
bodyMapper: Mappers.ErrorResponse
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
serializer: serializer
|
|
209
|
-
};
|
|
210
|
-
var deleteMethodOperationSpec = {
|
|
211
|
-
httpMethod: "DELETE",
|
|
212
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
213
|
-
urlParameters: [
|
|
214
|
-
Parameters.subscriptionId,
|
|
215
|
-
Parameters.resourceGroupName,
|
|
216
|
-
Parameters.clusterName
|
|
217
|
-
],
|
|
218
|
-
queryParameters: [
|
|
219
|
-
Parameters.apiVersion
|
|
220
|
-
],
|
|
221
|
-
headerParameters: [
|
|
222
|
-
Parameters.acceptLanguage
|
|
223
|
-
],
|
|
224
|
-
responses: {
|
|
225
|
-
200: {},
|
|
226
|
-
204: {},
|
|
227
|
-
default: {
|
|
228
|
-
bodyMapper: Mappers.ErrorResponse
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
serializer: serializer
|
|
232
|
-
};
|
|
233
|
-
var listNextOperationSpec = {
|
|
234
|
-
httpMethod: "GET",
|
|
235
|
-
baseUrl: "https://management.azure.com",
|
|
236
|
-
path: "{nextLink}",
|
|
237
|
-
urlParameters: [
|
|
238
|
-
Parameters.nextPageLink
|
|
239
|
-
],
|
|
240
|
-
headerParameters: [
|
|
241
|
-
Parameters.acceptLanguage
|
|
242
|
-
],
|
|
243
|
-
responses: {
|
|
244
|
-
200: {
|
|
245
|
-
bodyMapper: Mappers.ClusterList
|
|
246
|
-
},
|
|
247
|
-
default: {
|
|
248
|
-
bodyMapper: Mappers.ErrorResponse
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
serializer: serializer
|
|
252
|
-
};
|
|
253
|
-
var listByResourceGroupNextOperationSpec = {
|
|
254
|
-
httpMethod: "GET",
|
|
255
|
-
baseUrl: "https://management.azure.com",
|
|
256
|
-
path: "{nextLink}",
|
|
257
|
-
urlParameters: [
|
|
258
|
-
Parameters.nextPageLink
|
|
259
|
-
],
|
|
260
|
-
headerParameters: [
|
|
261
|
-
Parameters.acceptLanguage
|
|
262
|
-
],
|
|
263
|
-
responses: {
|
|
264
|
-
200: {
|
|
265
|
-
bodyMapper: Mappers.ClusterList
|
|
266
|
-
},
|
|
267
|
-
default: {
|
|
268
|
-
bodyMapper: Mappers.ErrorResponse
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
serializer: serializer
|
|
272
|
-
};
|
|
273
|
-
//# sourceMappingURL=clusters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../src/operations/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,uBAAI,GAAJ,UAAK,OAAgF,EAAE,QAAqD;QAC1I,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IAoBD,sCAAmB,GAAnB,UAAoB,iBAAyB,EAAE,OAAgF,EAAE,QAAqD;QACpL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,OAAO,SAAA;SACR,EACD,gCAAgC,EAChC,QAAQ,CAAwD,CAAC;IACrE,CAAC;IAuBD,sBAAG,GAAH,UAAI,iBAAyB,EAAE,WAAmB,EAA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EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
package/esm/operations/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
export * from "./operations";
|
|
11
|
-
export * from "./clusters";
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { AzureStackHCIClientContext } from "../azureStackHCIClientContext";
|
|
4
|
-
/** Class representing a Operations. */
|
|
5
|
-
export declare class Operations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Operations.
|
|
9
|
-
* @param {AzureStackHCIClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: AzureStackHCIClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* List all available Microsoft.AzureStackHCI provider operations
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailableOperations>): void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAS7G"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Operations. */
|
|
14
|
-
var Operations = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Operations.
|
|
17
|
-
* @param {AzureStackHCIClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Operations(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
options: options
|
|
25
|
-
}, listOperationSpec, callback);
|
|
26
|
-
};
|
|
27
|
-
return Operations;
|
|
28
|
-
}());
|
|
29
|
-
export { Operations };
|
|
30
|
-
// Operation Specifications
|
|
31
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
32
|
-
var listOperationSpec = {
|
|
33
|
-
httpMethod: "GET",
|
|
34
|
-
path: "providers/Microsoft.AzureStackHCI/operations",
|
|
35
|
-
queryParameters: [
|
|
36
|
-
Parameters.apiVersion
|
|
37
|
-
],
|
|
38
|
-
headerParameters: [
|
|
39
|
-
Parameters.acceptLanguage
|
|
40
|
-
],
|
|
41
|
-
responses: {
|
|
42
|
-
200: {
|
|
43
|
-
bodyMapper: Mappers.AvailableOperations
|
|
44
|
-
},
|
|
45
|
-
default: {
|
|
46
|
-
bodyMapper: Mappers.ErrorResponse
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
serializer: serializer
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,8CAA8C;IACpD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
15
|
-
|
|
16
|
-
const packageName = "@azure/arm-azurestackhci";
|
|
17
|
-
const packageVersion = "1.1.1";
|
|
18
|
-
|
|
19
|
-
export class AzureStackHCIClientContext extends msRestAzure.AzureServiceClient {
|
|
20
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
21
|
-
apiVersion?: string;
|
|
22
|
-
subscriptionId: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Initializes a new instance of the AzureStackHCIClient class.
|
|
26
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
27
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
28
|
-
* more information about these credentials, see
|
|
29
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
30
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
31
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
32
|
-
* @param subscriptionId The ID of the target subscription.
|
|
33
|
-
* @param [options] The parameter options
|
|
34
|
-
*/
|
|
35
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackHCIClientOptions) {
|
|
36
|
-
if (credentials == undefined) {
|
|
37
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
38
|
-
}
|
|
39
|
-
if (subscriptionId == undefined) {
|
|
40
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (!options) {
|
|
44
|
-
options = {};
|
|
45
|
-
}
|
|
46
|
-
if (!options.userAgent) {
|
|
47
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
48
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
super(credentials, options);
|
|
52
|
-
|
|
53
|
-
this.apiVersion = '2020-03-01-preview';
|
|
54
|
-
this.acceptLanguage = 'en-US';
|
|
55
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
56
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
57
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
58
|
-
this.credentials = credentials;
|
|
59
|
-
this.subscriptionId = subscriptionId;
|
|
60
|
-
|
|
61
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
62
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
63
|
-
}
|
|
64
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
65
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
AzureEntityResource,
|
|
11
|
-
BaseResource,
|
|
12
|
-
Cluster,
|
|
13
|
-
ClusterList,
|
|
14
|
-
ClusterNode,
|
|
15
|
-
ClusterReportedProperties,
|
|
16
|
-
ClusterUpdate,
|
|
17
|
-
ErrorAdditionalInfo,
|
|
18
|
-
ErrorResponse,
|
|
19
|
-
ErrorResponseError,
|
|
20
|
-
ProxyResource,
|
|
21
|
-
Resource,
|
|
22
|
-
TrackedResource
|
|
23
|
-
} from "../models/mappers";
|