@azure/arm-azurestackhci 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 +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 -32
- 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
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Clusters operations. */
|
|
14
|
+
export class ClustersImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Clusters class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List all HCI clusters in a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listBySubscription(options) {
|
|
27
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listBySubscriptionPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listBySubscriptionPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._listBySubscription(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listBySubscriptionPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* List all HCI clusters in a resource group.
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
76
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
77
|
+
return {
|
|
78
|
+
next() {
|
|
79
|
+
return iter.next();
|
|
80
|
+
},
|
|
81
|
+
[Symbol.asyncIterator]() {
|
|
82
|
+
return this;
|
|
83
|
+
},
|
|
84
|
+
byPage: () => {
|
|
85
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
90
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
91
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
92
|
+
yield yield __await(result.value || []);
|
|
93
|
+
let continuationToken = result.nextLink;
|
|
94
|
+
while (continuationToken) {
|
|
95
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
yield yield __await(result.value || []);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
102
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
103
|
+
var e_2, _a;
|
|
104
|
+
try {
|
|
105
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
+
const page = _c.value;
|
|
107
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
+
finally {
|
|
112
|
+
try {
|
|
113
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
+
}
|
|
115
|
+
finally { if (e_2) throw e_2.error; }
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* List all HCI clusters in a subscription.
|
|
121
|
+
* @param options The options parameters.
|
|
122
|
+
*/
|
|
123
|
+
_listBySubscription(options) {
|
|
124
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* List all HCI clusters in a resource group.
|
|
128
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
132
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Get HCI cluster.
|
|
136
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
|
+
* @param clusterName The name of the cluster.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
get(resourceGroupName, clusterName, options) {
|
|
141
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Create an HCI cluster.
|
|
145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
|
+
* @param clusterName The name of the cluster.
|
|
147
|
+
* @param cluster Details of the HCI cluster.
|
|
148
|
+
* @param options The options parameters.
|
|
149
|
+
*/
|
|
150
|
+
create(resourceGroupName, clusterName, cluster, options) {
|
|
151
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, cluster, options }, createOperationSpec);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Update an HCI cluster.
|
|
155
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
+
* @param clusterName The name of the cluster.
|
|
157
|
+
* @param cluster Details of the HCI cluster.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
update(resourceGroupName, clusterName, cluster, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, cluster, options }, updateOperationSpec);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Delete an HCI cluster.
|
|
165
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
|
+
* @param clusterName The name of the cluster.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
delete(resourceGroupName, clusterName, options) {
|
|
170
|
+
return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, deleteOperationSpec);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* ListBySubscriptionNext
|
|
174
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
178
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* ListByResourceGroupNext
|
|
182
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
183
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
184
|
+
* @param options The options parameters.
|
|
185
|
+
*/
|
|
186
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
187
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
// Operation Specifications
|
|
191
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
192
|
+
const listBySubscriptionOperationSpec = {
|
|
193
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters",
|
|
194
|
+
httpMethod: "GET",
|
|
195
|
+
responses: {
|
|
196
|
+
200: {
|
|
197
|
+
bodyMapper: Mappers.ClusterList
|
|
198
|
+
},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.ErrorResponse
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
queryParameters: [Parameters.apiVersion],
|
|
204
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
205
|
+
headerParameters: [Parameters.accept],
|
|
206
|
+
serializer
|
|
207
|
+
};
|
|
208
|
+
const listByResourceGroupOperationSpec = {
|
|
209
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters",
|
|
210
|
+
httpMethod: "GET",
|
|
211
|
+
responses: {
|
|
212
|
+
200: {
|
|
213
|
+
bodyMapper: Mappers.ClusterList
|
|
214
|
+
},
|
|
215
|
+
default: {
|
|
216
|
+
bodyMapper: Mappers.ErrorResponse
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
queryParameters: [Parameters.apiVersion],
|
|
220
|
+
urlParameters: [
|
|
221
|
+
Parameters.$host,
|
|
222
|
+
Parameters.subscriptionId,
|
|
223
|
+
Parameters.resourceGroupName
|
|
224
|
+
],
|
|
225
|
+
headerParameters: [Parameters.accept],
|
|
226
|
+
serializer
|
|
227
|
+
};
|
|
228
|
+
const getOperationSpec = {
|
|
229
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
230
|
+
httpMethod: "GET",
|
|
231
|
+
responses: {
|
|
232
|
+
200: {
|
|
233
|
+
bodyMapper: Mappers.Cluster
|
|
234
|
+
},
|
|
235
|
+
default: {
|
|
236
|
+
bodyMapper: Mappers.ErrorResponse
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
queryParameters: [Parameters.apiVersion],
|
|
240
|
+
urlParameters: [
|
|
241
|
+
Parameters.$host,
|
|
242
|
+
Parameters.subscriptionId,
|
|
243
|
+
Parameters.resourceGroupName,
|
|
244
|
+
Parameters.clusterName
|
|
245
|
+
],
|
|
246
|
+
headerParameters: [Parameters.accept],
|
|
247
|
+
serializer
|
|
248
|
+
};
|
|
249
|
+
const createOperationSpec = {
|
|
250
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
251
|
+
httpMethod: "PUT",
|
|
252
|
+
responses: {
|
|
253
|
+
200: {
|
|
254
|
+
bodyMapper: Mappers.Cluster
|
|
255
|
+
},
|
|
256
|
+
default: {
|
|
257
|
+
bodyMapper: Mappers.ErrorResponse
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
requestBody: Parameters.cluster,
|
|
261
|
+
queryParameters: [Parameters.apiVersion],
|
|
262
|
+
urlParameters: [
|
|
263
|
+
Parameters.$host,
|
|
264
|
+
Parameters.subscriptionId,
|
|
265
|
+
Parameters.resourceGroupName,
|
|
266
|
+
Parameters.clusterName
|
|
267
|
+
],
|
|
268
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
269
|
+
mediaType: "json",
|
|
270
|
+
serializer
|
|
271
|
+
};
|
|
272
|
+
const updateOperationSpec = {
|
|
273
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
274
|
+
httpMethod: "PATCH",
|
|
275
|
+
responses: {
|
|
276
|
+
200: {
|
|
277
|
+
bodyMapper: Mappers.Cluster
|
|
278
|
+
},
|
|
279
|
+
default: {
|
|
280
|
+
bodyMapper: Mappers.ErrorResponse
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
requestBody: Parameters.cluster1,
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.subscriptionId,
|
|
288
|
+
Parameters.resourceGroupName,
|
|
289
|
+
Parameters.clusterName
|
|
290
|
+
],
|
|
291
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
292
|
+
mediaType: "json",
|
|
293
|
+
serializer
|
|
294
|
+
};
|
|
295
|
+
const deleteOperationSpec = {
|
|
296
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}",
|
|
297
|
+
httpMethod: "DELETE",
|
|
298
|
+
responses: {
|
|
299
|
+
200: {},
|
|
300
|
+
204: {},
|
|
301
|
+
default: {
|
|
302
|
+
bodyMapper: Mappers.ErrorResponse
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
queryParameters: [Parameters.apiVersion],
|
|
306
|
+
urlParameters: [
|
|
307
|
+
Parameters.$host,
|
|
308
|
+
Parameters.subscriptionId,
|
|
309
|
+
Parameters.resourceGroupName,
|
|
310
|
+
Parameters.clusterName
|
|
311
|
+
],
|
|
312
|
+
headerParameters: [Parameters.accept],
|
|
313
|
+
serializer
|
|
314
|
+
};
|
|
315
|
+
const listBySubscriptionNextOperationSpec = {
|
|
316
|
+
path: "{nextLink}",
|
|
317
|
+
httpMethod: "GET",
|
|
318
|
+
responses: {
|
|
319
|
+
200: {
|
|
320
|
+
bodyMapper: Mappers.ClusterList
|
|
321
|
+
},
|
|
322
|
+
default: {
|
|
323
|
+
bodyMapper: Mappers.ErrorResponse
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
queryParameters: [Parameters.apiVersion],
|
|
327
|
+
urlParameters: [
|
|
328
|
+
Parameters.$host,
|
|
329
|
+
Parameters.subscriptionId,
|
|
330
|
+
Parameters.nextLink
|
|
331
|
+
],
|
|
332
|
+
headerParameters: [Parameters.accept],
|
|
333
|
+
serializer
|
|
334
|
+
};
|
|
335
|
+
const listByResourceGroupNextOperationSpec = {
|
|
336
|
+
path: "{nextLink}",
|
|
337
|
+
httpMethod: "GET",
|
|
338
|
+
responses: {
|
|
339
|
+
200: {
|
|
340
|
+
bodyMapper: Mappers.ClusterList
|
|
341
|
+
},
|
|
342
|
+
default: {
|
|
343
|
+
bodyMapper: Mappers.ErrorResponse
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
|
347
|
+
urlParameters: [
|
|
348
|
+
Parameters.$host,
|
|
349
|
+
Parameters.subscriptionId,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.nextLink
|
|
352
|
+
],
|
|
353
|
+
headerParameters: [Parameters.accept],
|
|
354
|
+
serializer
|
|
355
|
+
};
|
|
356
|
+
//# sourceMappingURL=clusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../src/operations/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAA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c;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Extensions } from "../operationsInterfaces";
|
|
3
|
+
import { AzureStackHCIClient } from "../azureStackHCIClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { Extension, ExtensionsListByArcSettingOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse, ExtensionsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing Extensions operations. */
|
|
7
|
+
export declare class ExtensionsImpl implements Extensions {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class Extensions class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureStackHCIClient);
|
|
14
|
+
/**
|
|
15
|
+
* List all Extensions under ArcSetting resource.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param clusterName The name of the cluster.
|
|
18
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listByArcSetting(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ExtensionsListByArcSettingOptionalParams): PagedAsyncIterableIterator<Extension>;
|
|
22
|
+
private listByArcSettingPagingPage;
|
|
23
|
+
private listByArcSettingPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* List all Extensions under ArcSetting resource.
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param clusterName The name of the cluster.
|
|
28
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
private _listByArcSetting;
|
|
32
|
+
/**
|
|
33
|
+
* Get particular Arc Extension of HCI Cluster.
|
|
34
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
35
|
+
* @param clusterName The name of the cluster.
|
|
36
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
37
|
+
* @param extensionName The name of the machine extension.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Create Extension for HCI cluster.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param clusterName The name of the cluster.
|
|
45
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
46
|
+
* @param extensionName The name of the machine extension.
|
|
47
|
+
* @param extension Details of the Machine Extension to be created.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginCreate(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<PollerLike<PollOperationState<ExtensionsCreateResponse>, ExtensionsCreateResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* Create Extension for HCI cluster.
|
|
53
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
+
* @param clusterName The name of the cluster.
|
|
55
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
56
|
+
* @param extensionName The name of the machine extension.
|
|
57
|
+
* @param extension Details of the Machine Extension to be created.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginCreateAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Update Extension for HCI cluster.
|
|
63
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
64
|
+
* @param clusterName The name of the cluster.
|
|
65
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
66
|
+
* @param extensionName The name of the machine extension.
|
|
67
|
+
* @param extension Details of the Machine Extension to be created.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
beginUpdate(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ExtensionsUpdateResponse>, ExtensionsUpdateResponse>>;
|
|
71
|
+
/**
|
|
72
|
+
* Update Extension for HCI cluster.
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
+
* @param clusterName The name of the cluster.
|
|
75
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
76
|
+
* @param extensionName The name of the machine extension.
|
|
77
|
+
* @param extension Details of the Machine Extension to be created.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Delete particular Arc Extension of HCI Cluster.
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param clusterName The name of the cluster.
|
|
85
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
86
|
+
* @param extensionName The name of the machine extension.
|
|
87
|
+
* @param options The options parameters.
|
|
88
|
+
*/
|
|
89
|
+
beginDelete(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete particular Arc Extension of 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 arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
95
|
+
* @param extensionName The name of the machine extension.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* ListByArcSettingNext
|
|
101
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
|
+
* @param clusterName The name of the cluster.
|
|
103
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
104
|
+
* @param nextLink The nextLink from the previous successful call to the ListByArcSetting method.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
private _listByArcSettingNext;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operations/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,SAAS,EAET,wCAAwC,EAExC,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B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