@azure/arm-appservice 13.0.3-alpha.20221101.1 → 13.0.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 +2 -8
- package/dist/index.js +3061 -1189
- 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/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/operations/appServiceCertificateOrders.d.ts.map +1 -1
- package/dist-esm/src/operations/appServiceCertificateOrders.js +55 -21
- package/dist-esm/src/operations/appServiceCertificateOrders.js.map +1 -1
- package/dist-esm/src/operations/appServiceEnvironments.d.ts.map +1 -1
- package/dist-esm/src/operations/appServiceEnvironments.js +400 -157
- package/dist-esm/src/operations/appServiceEnvironments.js.map +1 -1
- package/dist-esm/src/operations/appServicePlans.d.ts.map +1 -1
- package/dist-esm/src/operations/appServicePlans.js +109 -42
- package/dist-esm/src/operations/appServicePlans.js.map +1 -1
- package/dist-esm/src/operations/certificateOrdersDiagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOrdersDiagnostics.js +19 -7
- package/dist-esm/src/operations/certificateOrdersDiagnostics.js.map +1 -1
- package/dist-esm/src/operations/certificateRegistrationProvider.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateRegistrationProvider.js +19 -7
- package/dist-esm/src/operations/certificateRegistrationProvider.js.map +1 -1
- package/dist-esm/src/operations/certificates.d.ts.map +1 -1
- package/dist-esm/src/operations/certificates.js +37 -14
- package/dist-esm/src/operations/certificates.js.map +1 -1
- package/dist-esm/src/operations/containerApps.d.ts.map +1 -1
- package/dist-esm/src/operations/containerApps.js +37 -14
- package/dist-esm/src/operations/containerApps.js.map +1 -1
- package/dist-esm/src/operations/containerAppsRevisions.d.ts.map +1 -1
- package/dist-esm/src/operations/containerAppsRevisions.js +19 -7
- package/dist-esm/src/operations/containerAppsRevisions.js.map +1 -1
- package/dist-esm/src/operations/deletedWebApps.d.ts.map +1 -1
- package/dist-esm/src/operations/deletedWebApps.js +37 -14
- package/dist-esm/src/operations/deletedWebApps.js.map +1 -1
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnostics.js +163 -63
- package/dist-esm/src/operations/diagnostics.js.map +1 -1
- package/dist-esm/src/operations/domainRegistrationProvider.d.ts.map +1 -1
- package/dist-esm/src/operations/domainRegistrationProvider.js +19 -7
- package/dist-esm/src/operations/domainRegistrationProvider.js.map +1 -1
- package/dist-esm/src/operations/domains.d.ts.map +1 -1
- package/dist-esm/src/operations/domains.js +73 -28
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/kubeEnvironments.d.ts.map +1 -1
- package/dist-esm/src/operations/kubeEnvironments.js +37 -14
- package/dist-esm/src/operations/kubeEnvironments.js.map +1 -1
- package/dist-esm/src/operations/provider.d.ts.map +1 -1
- package/dist-esm/src/operations/provider.js +127 -49
- package/dist-esm/src/operations/provider.js.map +1 -1
- package/dist-esm/src/operations/recommendations.d.ts.map +1 -1
- package/dist-esm/src/operations/recommendations.js +91 -35
- package/dist-esm/src/operations/recommendations.js.map +1 -1
- package/dist-esm/src/operations/resourceHealthMetadataOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceHealthMetadataOperations.js +73 -28
- package/dist-esm/src/operations/resourceHealthMetadataOperations.js.map +1 -1
- package/dist-esm/src/operations/staticSites.d.ts.map +1 -1
- package/dist-esm/src/operations/staticSites.js +217 -84
- package/dist-esm/src/operations/staticSites.js.map +1 -1
- package/dist-esm/src/operations/topLevelDomains.d.ts.map +1 -1
- package/dist-esm/src/operations/topLevelDomains.js +37 -14
- package/dist-esm/src/operations/topLevelDomains.js.map +1 -1
- package/dist-esm/src/operations/webApps.d.ts.map +1 -1
- package/dist-esm/src/operations/webApps.js +1171 -455
- package/dist-esm/src/operations/webApps.js.map +1 -1
- package/dist-esm/src/operations/workflowRunActionRepetitions.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowRunActionRepetitions.js +37 -14
- package/dist-esm/src/operations/workflowRunActionRepetitions.js.map +1 -1
- package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.js +19 -7
- package/dist-esm/src/operations/workflowRunActionRepetitionsRequestHistories.js.map +1 -1
- package/dist-esm/src/operations/workflowRunActionScopeRepetitions.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowRunActionScopeRepetitions.js +19 -7
- package/dist-esm/src/operations/workflowRunActionScopeRepetitions.js.map +1 -1
- package/dist-esm/src/operations/workflowRunActions.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowRunActions.js +37 -14
- package/dist-esm/src/operations/workflowRunActions.js.map +1 -1
- package/dist-esm/src/operations/workflowRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowRuns.js +19 -7
- package/dist-esm/src/operations/workflowRuns.js.map +1 -1
- package/dist-esm/src/operations/workflowTriggerHistories.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowTriggerHistories.js +19 -7
- package/dist-esm/src/operations/workflowTriggerHistories.js.map +1 -1
- package/dist-esm/src/operations/workflowTriggers.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowTriggers.js +19 -7
- package/dist-esm/src/operations/workflowTriggers.js.map +1 -1
- package/dist-esm/src/operations/workflowVersions.d.ts.map +1 -1
- package/dist-esm/src/operations/workflowVersions.js +19 -7
- package/dist-esm/src/operations/workflowVersions.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/webSiteManagementClient.d.ts.map +1 -1
- package/dist-esm/src/webSiteManagementClient.js +128 -59
- package/dist-esm/src/webSiteManagementClient.js.map +1 -1
- package/dist-esm/test/web_examples.js +2 -2
- package/dist-esm/test/web_examples.js.map +1 -1
- package/package.json +7 -6
- package/review/arm-appservice.api.md +3 -0
- package/src/index.ts +1 -0
- package/src/operations/appServiceCertificateOrders.ts +71 -29
- package/src/operations/appServiceEnvironments.ts +552 -243
- package/src/operations/appServicePlans.ts +148 -59
- package/src/operations/certificateOrdersDiagnostics.ts +26 -12
- package/src/operations/certificateRegistrationProvider.ts +21 -8
- package/src/operations/certificates.ts +45 -16
- package/src/operations/containerApps.ts +45 -16
- package/src/operations/containerAppsRevisions.ts +26 -12
- package/src/operations/deletedWebApps.ts +41 -16
- package/src/operations/diagnostics.ts +235 -117
- package/src/operations/domainRegistrationProvider.ts +21 -8
- package/src/operations/domains.ts +95 -37
- package/src/operations/kubeEnvironments.ts +45 -16
- package/src/operations/provider.ts +146 -56
- package/src/operations/recommendations.ts +122 -57
- package/src/operations/resourceHealthMetadataOperations.ts +97 -38
- package/src/operations/staticSites.ts +296 -144
- package/src/operations/topLevelDomains.ts +47 -17
- package/src/operations/webApps.ts +1667 -791
- package/src/operations/workflowRunActionRepetitions.ts +59 -32
- package/src/operations/workflowRunActionRepetitionsRequestHistories.ts +30 -16
- package/src/operations/workflowRunActionScopeRepetitions.ts +29 -15
- package/src/operations/workflowRunActions.ts +57 -30
- package/src/operations/workflowRuns.ts +22 -13
- package/src/operations/workflowTriggerHistories.ts +28 -14
- package/src/operations/workflowTriggers.ts +22 -13
- package/src/operations/workflowVersions.ts +22 -13
- package/src/pagingHelper.ts +39 -0
- package/src/webSiteManagementClient.ts +151 -71
- package/types/arm-appservice.d.ts +9 -0
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
11
|
import { ResourceHealthMetadataOperations } from "../operationsInterfaces";
|
|
11
12
|
import * as coreClient from "@azure/core-client";
|
|
12
13
|
import * as Mappers from "../models/mappers";
|
|
@@ -16,18 +17,18 @@ import {
|
|
|
16
17
|
ResourceHealthMetadata,
|
|
17
18
|
ResourceHealthMetadataListNextOptionalParams,
|
|
18
19
|
ResourceHealthMetadataListOptionalParams,
|
|
20
|
+
ResourceHealthMetadataListResponse,
|
|
19
21
|
ResourceHealthMetadataListByResourceGroupNextOptionalParams,
|
|
20
22
|
ResourceHealthMetadataListByResourceGroupOptionalParams,
|
|
23
|
+
ResourceHealthMetadataListByResourceGroupResponse,
|
|
21
24
|
ResourceHealthMetadataListBySiteNextOptionalParams,
|
|
22
25
|
ResourceHealthMetadataListBySiteOptionalParams,
|
|
26
|
+
ResourceHealthMetadataListBySiteResponse,
|
|
23
27
|
ResourceHealthMetadataListBySiteSlotNextOptionalParams,
|
|
24
28
|
ResourceHealthMetadataListBySiteSlotOptionalParams,
|
|
25
|
-
|
|
26
|
-
ResourceHealthMetadataListByResourceGroupResponse,
|
|
27
|
-
ResourceHealthMetadataListBySiteResponse,
|
|
29
|
+
ResourceHealthMetadataListBySiteSlotResponse,
|
|
28
30
|
ResourceHealthMetadataGetBySiteOptionalParams,
|
|
29
31
|
ResourceHealthMetadataGetBySiteResponse,
|
|
30
|
-
ResourceHealthMetadataListBySiteSlotResponse,
|
|
31
32
|
ResourceHealthMetadataGetBySiteSlotOptionalParams,
|
|
32
33
|
ResourceHealthMetadataGetBySiteSlotResponse,
|
|
33
34
|
ResourceHealthMetadataListNextResponse,
|
|
@@ -65,22 +66,34 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
65
66
|
[Symbol.asyncIterator]() {
|
|
66
67
|
return this;
|
|
67
68
|
},
|
|
68
|
-
byPage: () => {
|
|
69
|
-
|
|
69
|
+
byPage: (settings?: PageSettings) => {
|
|
70
|
+
if (settings?.maxPageSize) {
|
|
71
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
72
|
+
}
|
|
73
|
+
return this.listPagingPage(options, settings);
|
|
70
74
|
}
|
|
71
75
|
};
|
|
72
76
|
}
|
|
73
77
|
|
|
74
78
|
private async *listPagingPage(
|
|
75
|
-
options?: ResourceHealthMetadataListOptionalParams
|
|
79
|
+
options?: ResourceHealthMetadataListOptionalParams,
|
|
80
|
+
settings?: PageSettings
|
|
76
81
|
): AsyncIterableIterator<ResourceHealthMetadata[]> {
|
|
77
|
-
let result
|
|
78
|
-
|
|
79
|
-
|
|
82
|
+
let result: ResourceHealthMetadataListResponse;
|
|
83
|
+
let continuationToken = settings?.continuationToken;
|
|
84
|
+
if (!continuationToken) {
|
|
85
|
+
result = await this._list(options);
|
|
86
|
+
let page = result.value || [];
|
|
87
|
+
continuationToken = result.nextLink;
|
|
88
|
+
setContinuationToken(page, continuationToken);
|
|
89
|
+
yield page;
|
|
90
|
+
}
|
|
80
91
|
while (continuationToken) {
|
|
81
92
|
result = await this._listNext(continuationToken, options);
|
|
82
93
|
continuationToken = result.nextLink;
|
|
83
|
-
|
|
94
|
+
let page = result.value || [];
|
|
95
|
+
setContinuationToken(page, continuationToken);
|
|
96
|
+
yield page;
|
|
84
97
|
}
|
|
85
98
|
}
|
|
86
99
|
|
|
@@ -110,19 +123,33 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
110
123
|
[Symbol.asyncIterator]() {
|
|
111
124
|
return this;
|
|
112
125
|
},
|
|
113
|
-
byPage: () => {
|
|
114
|
-
|
|
126
|
+
byPage: (settings?: PageSettings) => {
|
|
127
|
+
if (settings?.maxPageSize) {
|
|
128
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
129
|
+
}
|
|
130
|
+
return this.listByResourceGroupPagingPage(
|
|
131
|
+
resourceGroupName,
|
|
132
|
+
options,
|
|
133
|
+
settings
|
|
134
|
+
);
|
|
115
135
|
}
|
|
116
136
|
};
|
|
117
137
|
}
|
|
118
138
|
|
|
119
139
|
private async *listByResourceGroupPagingPage(
|
|
120
140
|
resourceGroupName: string,
|
|
121
|
-
options?: ResourceHealthMetadataListByResourceGroupOptionalParams
|
|
141
|
+
options?: ResourceHealthMetadataListByResourceGroupOptionalParams,
|
|
142
|
+
settings?: PageSettings
|
|
122
143
|
): AsyncIterableIterator<ResourceHealthMetadata[]> {
|
|
123
|
-
let result
|
|
124
|
-
|
|
125
|
-
|
|
144
|
+
let result: ResourceHealthMetadataListByResourceGroupResponse;
|
|
145
|
+
let continuationToken = settings?.continuationToken;
|
|
146
|
+
if (!continuationToken) {
|
|
147
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
148
|
+
let page = result.value || [];
|
|
149
|
+
continuationToken = result.nextLink;
|
|
150
|
+
setContinuationToken(page, continuationToken);
|
|
151
|
+
yield page;
|
|
152
|
+
}
|
|
126
153
|
while (continuationToken) {
|
|
127
154
|
result = await this._listByResourceGroupNext(
|
|
128
155
|
resourceGroupName,
|
|
@@ -130,7 +157,9 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
130
157
|
options
|
|
131
158
|
);
|
|
132
159
|
continuationToken = result.nextLink;
|
|
133
|
-
|
|
160
|
+
let page = result.value || [];
|
|
161
|
+
setContinuationToken(page, continuationToken);
|
|
162
|
+
yield page;
|
|
134
163
|
}
|
|
135
164
|
}
|
|
136
165
|
|
|
@@ -166,8 +195,16 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
166
195
|
[Symbol.asyncIterator]() {
|
|
167
196
|
return this;
|
|
168
197
|
},
|
|
169
|
-
byPage: () => {
|
|
170
|
-
|
|
198
|
+
byPage: (settings?: PageSettings) => {
|
|
199
|
+
if (settings?.maxPageSize) {
|
|
200
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
201
|
+
}
|
|
202
|
+
return this.listBySitePagingPage(
|
|
203
|
+
resourceGroupName,
|
|
204
|
+
name,
|
|
205
|
+
options,
|
|
206
|
+
settings
|
|
207
|
+
);
|
|
171
208
|
}
|
|
172
209
|
};
|
|
173
210
|
}
|
|
@@ -175,11 +212,18 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
175
212
|
private async *listBySitePagingPage(
|
|
176
213
|
resourceGroupName: string,
|
|
177
214
|
name: string,
|
|
178
|
-
options?: ResourceHealthMetadataListBySiteOptionalParams
|
|
215
|
+
options?: ResourceHealthMetadataListBySiteOptionalParams,
|
|
216
|
+
settings?: PageSettings
|
|
179
217
|
): AsyncIterableIterator<ResourceHealthMetadata[]> {
|
|
180
|
-
let result
|
|
181
|
-
|
|
182
|
-
|
|
218
|
+
let result: ResourceHealthMetadataListBySiteResponse;
|
|
219
|
+
let continuationToken = settings?.continuationToken;
|
|
220
|
+
if (!continuationToken) {
|
|
221
|
+
result = await this._listBySite(resourceGroupName, name, options);
|
|
222
|
+
let page = result.value || [];
|
|
223
|
+
continuationToken = result.nextLink;
|
|
224
|
+
setContinuationToken(page, continuationToken);
|
|
225
|
+
yield page;
|
|
226
|
+
}
|
|
183
227
|
while (continuationToken) {
|
|
184
228
|
result = await this._listBySiteNext(
|
|
185
229
|
resourceGroupName,
|
|
@@ -188,7 +232,9 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
188
232
|
options
|
|
189
233
|
);
|
|
190
234
|
continuationToken = result.nextLink;
|
|
191
|
-
|
|
235
|
+
let page = result.value || [];
|
|
236
|
+
setContinuationToken(page, continuationToken);
|
|
237
|
+
yield page;
|
|
192
238
|
}
|
|
193
239
|
}
|
|
194
240
|
|
|
@@ -233,12 +279,16 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
233
279
|
[Symbol.asyncIterator]() {
|
|
234
280
|
return this;
|
|
235
281
|
},
|
|
236
|
-
byPage: () => {
|
|
282
|
+
byPage: (settings?: PageSettings) => {
|
|
283
|
+
if (settings?.maxPageSize) {
|
|
284
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
285
|
+
}
|
|
237
286
|
return this.listBySiteSlotPagingPage(
|
|
238
287
|
resourceGroupName,
|
|
239
288
|
name,
|
|
240
289
|
slot,
|
|
241
|
-
options
|
|
290
|
+
options,
|
|
291
|
+
settings
|
|
242
292
|
);
|
|
243
293
|
}
|
|
244
294
|
};
|
|
@@ -248,16 +298,23 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
248
298
|
resourceGroupName: string,
|
|
249
299
|
name: string,
|
|
250
300
|
slot: string,
|
|
251
|
-
options?: ResourceHealthMetadataListBySiteSlotOptionalParams
|
|
301
|
+
options?: ResourceHealthMetadataListBySiteSlotOptionalParams,
|
|
302
|
+
settings?: PageSettings
|
|
252
303
|
): AsyncIterableIterator<ResourceHealthMetadata[]> {
|
|
253
|
-
let result
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
304
|
+
let result: ResourceHealthMetadataListBySiteSlotResponse;
|
|
305
|
+
let continuationToken = settings?.continuationToken;
|
|
306
|
+
if (!continuationToken) {
|
|
307
|
+
result = await this._listBySiteSlot(
|
|
308
|
+
resourceGroupName,
|
|
309
|
+
name,
|
|
310
|
+
slot,
|
|
311
|
+
options
|
|
312
|
+
);
|
|
313
|
+
let page = result.value || [];
|
|
314
|
+
continuationToken = result.nextLink;
|
|
315
|
+
setContinuationToken(page, continuationToken);
|
|
316
|
+
yield page;
|
|
317
|
+
}
|
|
261
318
|
while (continuationToken) {
|
|
262
319
|
result = await this._listBySiteSlotNext(
|
|
263
320
|
resourceGroupName,
|
|
@@ -267,7 +324,9 @@ export class ResourceHealthMetadataOperationsImpl
|
|
|
267
324
|
options
|
|
268
325
|
);
|
|
269
326
|
continuationToken = result.nextLink;
|
|
270
|
-
|
|
327
|
+
let page = result.value || [];
|
|
328
|
+
setContinuationToken(page, continuationToken);
|
|
329
|
+
yield page;
|
|
271
330
|
}
|
|
272
331
|
}
|
|
273
332
|
|