@azure/arm-appservice 10.0.0 → 11.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 +106 -0
- package/LICENSE +1 -1
- package/dist/index.js +6685 -4683
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +588 -57
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +82 -37
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +28 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1085 -16
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +17 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/containerApps.d.ts +97 -0
- package/dist-esm/src/operations/containerApps.d.ts.map +1 -0
- package/dist-esm/src/operations/containerApps.js +444 -0
- package/dist-esm/src/operations/containerApps.js.map +1 -0
- package/dist-esm/src/operations/containerAppsRevisions.d.ts +70 -0
- package/dist-esm/src/operations/containerAppsRevisions.d.ts.map +1 -0
- package/dist-esm/src/operations/containerAppsRevisions.js +259 -0
- package/dist-esm/src/operations/containerAppsRevisions.js.map +1 -0
- package/dist-esm/src/operations/domains.d.ts +8 -1
- package/dist-esm/src/operations/domains.d.ts.map +1 -1
- package/dist-esm/src/operations/domains.js +33 -0
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/webApps.d.ts +8 -1
- package/dist-esm/src/operations/webApps.d.ts.map +1 -1
- package/dist-esm/src/operations/webApps.js +30 -0
- package/dist-esm/src/operations/webApps.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/containerApps.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/containerApps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerApps.js +9 -0
- package/dist-esm/src/operationsInterfaces/containerApps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerAppsRevisions.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/containerAppsRevisions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/containerAppsRevisions.js +9 -0
- package/dist-esm/src/operationsInterfaces/containerAppsRevisions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts +8 -1
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/webApps.d.ts +8 -1
- package/dist-esm/src/operationsInterfaces/webApps.d.ts.map +1 -1
- package/dist-esm/src/webSiteManagementClient.d.ts +23 -2
- package/dist-esm/src/webSiteManagementClient.d.ts.map +1 -1
- package/dist-esm/src/webSiteManagementClient.js +114 -12
- package/dist-esm/src/webSiteManagementClient.js.map +1 -1
- package/package.json +1 -1
- package/review/arm-appservice.api.md +468 -26
- package/src/models/index.ts +658 -58
- package/src/models/mappers.ts +1145 -20
- package/src/models/parameters.ts +19 -1
- package/src/operations/containerApps.ts +580 -0
- package/src/operations/containerAppsRevisions.ts +356 -0
- package/src/operations/domains.ts +44 -0
- package/src/operations/index.ts +2 -0
- package/src/operations/webApps.ts +41 -0
- package/src/operationsInterfaces/containerApps.ts +116 -0
- package/src/operationsInterfaces/containerAppsRevisions.ts +86 -0
- package/src/operationsInterfaces/domains.ts +14 -1
- package/src/operationsInterfaces/index.ts +2 -0
- package/src/operationsInterfaces/webApps.ts +13 -0
- package/src/webSiteManagementClient.ts +126 -2
- package/types/arm-appservice.d.ts +790 -52
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,444 @@
|
|
|
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, __awaiter } 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
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing ContainerApps operations. */
|
|
16
|
+
export class ContainerAppsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class ContainerApps class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get the Container Apps in a given subscription.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listBySubscription(options) {
|
|
29
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listBySubscriptionPagingPage(options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listBySubscriptionPagingPage(options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listBySubscription(options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listBySubscriptionPagingAll(options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get the Container Apps in a given resource group.
|
|
74
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
78
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get the Container Apps in a given subscription.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
_listBySubscription(options) {
|
|
126
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Get the Container Apps in a given resource group.
|
|
130
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
134
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Get the properties of a Container App.
|
|
138
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
139
|
+
* @param name Name of the Container App.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
get(resourceGroupName, name, options) {
|
|
143
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Description for Create or update a Container App.
|
|
147
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
148
|
+
* @param name Name of the Container App.
|
|
149
|
+
* @param containerAppEnvelope Container App.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
beginCreateOrUpdate(resourceGroupName, name, containerAppEnvelope, options) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
return this.client.sendOperationRequest(args, spec);
|
|
156
|
+
});
|
|
157
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
var _a;
|
|
159
|
+
let currentRawResponse = undefined;
|
|
160
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
161
|
+
const callback = (rawResponse, flatResponse) => {
|
|
162
|
+
currentRawResponse = rawResponse;
|
|
163
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
164
|
+
};
|
|
165
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
166
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
167
|
+
return {
|
|
168
|
+
flatResponse,
|
|
169
|
+
rawResponse: {
|
|
170
|
+
statusCode: currentRawResponse.status,
|
|
171
|
+
body: currentRawResponse.parsedBody,
|
|
172
|
+
headers: currentRawResponse.headers.toJSON()
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
});
|
|
176
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, name, containerAppEnvelope, options }, createOrUpdateOperationSpec);
|
|
177
|
+
return new LroEngine(lro, {
|
|
178
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
179
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Description for Create or update a Container App.
|
|
185
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
186
|
+
* @param name Name of the Container App.
|
|
187
|
+
* @param containerAppEnvelope Container App.
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
beginCreateOrUpdateAndWait(resourceGroupName, name, containerAppEnvelope, options) {
|
|
191
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, containerAppEnvelope, options);
|
|
193
|
+
return poller.pollUntilDone();
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Description for Delete a Container App.
|
|
198
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
199
|
+
* @param name Name of the Container App.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
beginDelete(resourceGroupName, name, options) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
return this.client.sendOperationRequest(args, spec);
|
|
206
|
+
});
|
|
207
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
var _a;
|
|
209
|
+
let currentRawResponse = undefined;
|
|
210
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
211
|
+
const callback = (rawResponse, flatResponse) => {
|
|
212
|
+
currentRawResponse = rawResponse;
|
|
213
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
214
|
+
};
|
|
215
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
216
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
217
|
+
return {
|
|
218
|
+
flatResponse,
|
|
219
|
+
rawResponse: {
|
|
220
|
+
statusCode: currentRawResponse.status,
|
|
221
|
+
body: currentRawResponse.parsedBody,
|
|
222
|
+
headers: currentRawResponse.headers.toJSON()
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
});
|
|
226
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, name, options }, deleteOperationSpec);
|
|
227
|
+
return new LroEngine(lro, {
|
|
228
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
229
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
230
|
+
});
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Description for Delete a Container App.
|
|
235
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
236
|
+
* @param name Name of the Container App.
|
|
237
|
+
* @param options The options parameters.
|
|
238
|
+
*/
|
|
239
|
+
beginDeleteAndWait(resourceGroupName, name, options) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
const poller = yield this.beginDelete(resourceGroupName, name, options);
|
|
242
|
+
return poller.pollUntilDone();
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* List secrets for a container app
|
|
247
|
+
* @param name Name of the Container App.
|
|
248
|
+
* @param options The options parameters.
|
|
249
|
+
*/
|
|
250
|
+
listSecrets(name, options) {
|
|
251
|
+
return this.client.sendOperationRequest({ name, options }, listSecretsOperationSpec);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* ListBySubscriptionNext
|
|
255
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
256
|
+
* @param options The options parameters.
|
|
257
|
+
*/
|
|
258
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
259
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* ListByResourceGroupNext
|
|
263
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
264
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
265
|
+
* @param options The options parameters.
|
|
266
|
+
*/
|
|
267
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
268
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
// Operation Specifications
|
|
272
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
273
|
+
const listBySubscriptionOperationSpec = {
|
|
274
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps",
|
|
275
|
+
httpMethod: "GET",
|
|
276
|
+
responses: {
|
|
277
|
+
200: {
|
|
278
|
+
bodyMapper: Mappers.ContainerAppCollection
|
|
279
|
+
},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
285
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
286
|
+
headerParameters: [Parameters.accept],
|
|
287
|
+
serializer
|
|
288
|
+
};
|
|
289
|
+
const listByResourceGroupOperationSpec = {
|
|
290
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps",
|
|
291
|
+
httpMethod: "GET",
|
|
292
|
+
responses: {
|
|
293
|
+
200: {
|
|
294
|
+
bodyMapper: Mappers.ContainerAppCollection
|
|
295
|
+
},
|
|
296
|
+
default: {
|
|
297
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
queryParameters: [Parameters.apiVersion],
|
|
301
|
+
urlParameters: [
|
|
302
|
+
Parameters.$host,
|
|
303
|
+
Parameters.subscriptionId,
|
|
304
|
+
Parameters.resourceGroupName
|
|
305
|
+
],
|
|
306
|
+
headerParameters: [Parameters.accept],
|
|
307
|
+
serializer
|
|
308
|
+
};
|
|
309
|
+
const getOperationSpec = {
|
|
310
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
|
|
311
|
+
httpMethod: "GET",
|
|
312
|
+
responses: {
|
|
313
|
+
200: {
|
|
314
|
+
bodyMapper: Mappers.ContainerApp
|
|
315
|
+
},
|
|
316
|
+
404: {
|
|
317
|
+
isError: true
|
|
318
|
+
},
|
|
319
|
+
default: {
|
|
320
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
queryParameters: [Parameters.apiVersion],
|
|
324
|
+
urlParameters: [
|
|
325
|
+
Parameters.$host,
|
|
326
|
+
Parameters.subscriptionId,
|
|
327
|
+
Parameters.resourceGroupName,
|
|
328
|
+
Parameters.name
|
|
329
|
+
],
|
|
330
|
+
headerParameters: [Parameters.accept],
|
|
331
|
+
serializer
|
|
332
|
+
};
|
|
333
|
+
const createOrUpdateOperationSpec = {
|
|
334
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
|
|
335
|
+
httpMethod: "PUT",
|
|
336
|
+
responses: {
|
|
337
|
+
200: {
|
|
338
|
+
bodyMapper: Mappers.ContainerApp
|
|
339
|
+
},
|
|
340
|
+
201: {
|
|
341
|
+
bodyMapper: Mappers.ContainerApp
|
|
342
|
+
},
|
|
343
|
+
202: {
|
|
344
|
+
bodyMapper: Mappers.ContainerApp
|
|
345
|
+
},
|
|
346
|
+
204: {
|
|
347
|
+
bodyMapper: Mappers.ContainerApp
|
|
348
|
+
},
|
|
349
|
+
default: {
|
|
350
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
requestBody: Parameters.containerAppEnvelope,
|
|
354
|
+
queryParameters: [Parameters.apiVersion],
|
|
355
|
+
urlParameters: [
|
|
356
|
+
Parameters.$host,
|
|
357
|
+
Parameters.subscriptionId,
|
|
358
|
+
Parameters.resourceGroupName,
|
|
359
|
+
Parameters.name
|
|
360
|
+
],
|
|
361
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
362
|
+
mediaType: "json",
|
|
363
|
+
serializer
|
|
364
|
+
};
|
|
365
|
+
const deleteOperationSpec = {
|
|
366
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/containerApps/{name}",
|
|
367
|
+
httpMethod: "DELETE",
|
|
368
|
+
responses: {
|
|
369
|
+
200: {},
|
|
370
|
+
201: {},
|
|
371
|
+
202: {},
|
|
372
|
+
204: {},
|
|
373
|
+
default: {
|
|
374
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
queryParameters: [Parameters.apiVersion],
|
|
378
|
+
urlParameters: [
|
|
379
|
+
Parameters.$host,
|
|
380
|
+
Parameters.subscriptionId,
|
|
381
|
+
Parameters.resourceGroupName,
|
|
382
|
+
Parameters.name
|
|
383
|
+
],
|
|
384
|
+
headerParameters: [Parameters.accept],
|
|
385
|
+
serializer
|
|
386
|
+
};
|
|
387
|
+
const listSecretsOperationSpec = {
|
|
388
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/containerApps/{name}/listSecrets",
|
|
389
|
+
httpMethod: "POST",
|
|
390
|
+
responses: {
|
|
391
|
+
200: {
|
|
392
|
+
bodyMapper: Mappers.SecretsCollection
|
|
393
|
+
},
|
|
394
|
+
default: {
|
|
395
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
queryParameters: [Parameters.apiVersion],
|
|
399
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
|
|
400
|
+
headerParameters: [Parameters.accept],
|
|
401
|
+
serializer
|
|
402
|
+
};
|
|
403
|
+
const listBySubscriptionNextOperationSpec = {
|
|
404
|
+
path: "{nextLink}",
|
|
405
|
+
httpMethod: "GET",
|
|
406
|
+
responses: {
|
|
407
|
+
200: {
|
|
408
|
+
bodyMapper: Mappers.ContainerAppCollection
|
|
409
|
+
},
|
|
410
|
+
default: {
|
|
411
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
queryParameters: [Parameters.apiVersion],
|
|
415
|
+
urlParameters: [
|
|
416
|
+
Parameters.$host,
|
|
417
|
+
Parameters.subscriptionId,
|
|
418
|
+
Parameters.nextLink
|
|
419
|
+
],
|
|
420
|
+
headerParameters: [Parameters.accept],
|
|
421
|
+
serializer
|
|
422
|
+
};
|
|
423
|
+
const listByResourceGroupNextOperationSpec = {
|
|
424
|
+
path: "{nextLink}",
|
|
425
|
+
httpMethod: "GET",
|
|
426
|
+
responses: {
|
|
427
|
+
200: {
|
|
428
|
+
bodyMapper: Mappers.ContainerAppCollection
|
|
429
|
+
},
|
|
430
|
+
default: {
|
|
431
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
queryParameters: [Parameters.apiVersion],
|
|
435
|
+
urlParameters: [
|
|
436
|
+
Parameters.$host,
|
|
437
|
+
Parameters.subscriptionId,
|
|
438
|
+
Parameters.resourceGroupName,
|
|
439
|
+
Parameters.nextLink
|
|
440
|
+
],
|
|
441
|
+
headerParameters: [Parameters.accept],
|
|
442
|
+
serializer
|
|
443
|
+
};
|
|
444
|
+
//# sourceMappingURL=containerApps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerApps.js","sourceRoot":"","sources":["../../../src/operations/containerApps.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;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoBrC,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;YACpD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAuD;;YAEvD,IAAI,M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;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ContainerAppsRevisions } from "../operationsInterfaces";
|
|
3
|
+
import { WebSiteManagementClient } from "../webSiteManagementClient";
|
|
4
|
+
import { Revision, ContainerAppsRevisionsListRevisionsOptionalParams, ContainerAppsRevisionsGetRevisionOptionalParams, ContainerAppsRevisionsGetRevisionResponse, ContainerAppsRevisionsActivateRevisionOptionalParams, ContainerAppsRevisionsDeactivateRevisionOptionalParams, ContainerAppsRevisionsRestartRevisionOptionalParams } from "../models";
|
|
5
|
+
/** Class containing ContainerAppsRevisions operations. */
|
|
6
|
+
export declare class ContainerAppsRevisionsImpl implements ContainerAppsRevisions {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ContainerAppsRevisions class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: WebSiteManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get the Revisions for a given Container App.
|
|
15
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
16
|
+
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listRevisions(resourceGroupName: string, containerAppName: string, options?: ContainerAppsRevisionsListRevisionsOptionalParams): PagedAsyncIterableIterator<Revision>;
|
|
20
|
+
private listRevisionsPagingPage;
|
|
21
|
+
private listRevisionsPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Get the Revisions for a given Container App.
|
|
24
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
25
|
+
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _listRevisions;
|
|
29
|
+
/**
|
|
30
|
+
* Get a revision of a Container App.
|
|
31
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
32
|
+
* @param containerAppName Name of the Container App.
|
|
33
|
+
* @param name Name of the Container App Revision.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
getRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsGetRevisionOptionalParams): Promise<ContainerAppsRevisionsGetRevisionResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Activates a revision for a Container App
|
|
39
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
40
|
+
* @param containerAppName Name of the Container App.
|
|
41
|
+
* @param name Name of the Container App Revision to activate
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
activateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsActivateRevisionOptionalParams): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Deactivates a revision for a Container App
|
|
47
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
48
|
+
* @param containerAppName Name of the Container App.
|
|
49
|
+
* @param name Name of the Container App Revision to deactivate
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
deactivateRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Restarts a revision for a Container App
|
|
55
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
56
|
+
* @param containerAppName Name of the Container App.
|
|
57
|
+
* @param name Name of the Container App Revision to restart
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
restartRevision(resourceGroupName: string, containerAppName: string, name: string, options?: ContainerAppsRevisionsRestartRevisionOptionalParams): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* ListRevisionsNext
|
|
63
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
64
|
+
* @param containerAppName Name of the Container App for which Revisions are needed.
|
|
65
|
+
* @param nextLink The nextLink from the previous successful call to the ListRevisions method.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
private _listRevisionsNext;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=containerAppsRevisions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerAppsRevisions.d.ts","sourceRoot":"","sources":["../../../src/operations/containerAppsRevisions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iDAAiD,EAEjD,+CAA+C,EAC/C,yCAAyC,EACzC,oDAAoD,EACpD,sDAAsD,EACtD,mDAAmD,EAEpD,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iDAAiD,GAC1D,0BAA0B,CAAC,QAAQ,CAAC;YAuBxB,u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