@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
|
@@ -36,7 +36,9 @@ import {
|
|
|
36
36
|
DomainsDeleteOwnershipIdentifierOptionalParams,
|
|
37
37
|
DomainsUpdateOwnershipIdentifierOptionalParams,
|
|
38
38
|
DomainsUpdateOwnershipIdentifierResponse,
|
|
39
|
-
DomainsRenewOptionalParams
|
|
39
|
+
DomainsRenewOptionalParams,
|
|
40
|
+
DomainsTransferOutOptionalParams,
|
|
41
|
+
DomainsTransferOutResponse
|
|
40
42
|
} from "../models";
|
|
41
43
|
|
|
42
44
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -227,4 +229,15 @@ export interface Domains {
|
|
|
227
229
|
domainName: string,
|
|
228
230
|
options?: DomainsRenewOptionalParams
|
|
229
231
|
): Promise<void>;
|
|
232
|
+
/**
|
|
233
|
+
* Transfer out domain to another registrar
|
|
234
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
235
|
+
* @param domainName Name of domain.
|
|
236
|
+
* @param options The options parameters.
|
|
237
|
+
*/
|
|
238
|
+
transferOut(
|
|
239
|
+
resourceGroupName: string,
|
|
240
|
+
domainName: string,
|
|
241
|
+
options?: DomainsTransferOutOptionalParams
|
|
242
|
+
): Promise<DomainsTransferOutResponse>;
|
|
230
243
|
}
|
|
@@ -15,6 +15,8 @@ export * from "./domainRegistrationProvider";
|
|
|
15
15
|
export * from "./appServiceEnvironments";
|
|
16
16
|
export * from "./appServicePlans";
|
|
17
17
|
export * from "./certificates";
|
|
18
|
+
export * from "./containerApps";
|
|
19
|
+
export * from "./containerAppsRevisions";
|
|
18
20
|
export * from "./deletedWebApps";
|
|
19
21
|
export * from "./diagnostics";
|
|
20
22
|
export * from "./global";
|
|
@@ -137,6 +137,8 @@ import {
|
|
|
137
137
|
WebAppsUpdateAuthSettingsResponse,
|
|
138
138
|
WebAppsGetAuthSettingsOptionalParams,
|
|
139
139
|
WebAppsGetAuthSettingsResponse,
|
|
140
|
+
WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams,
|
|
141
|
+
WebAppsGetAuthSettingsV2WithoutSecretsResponse,
|
|
140
142
|
SiteAuthSettingsV2,
|
|
141
143
|
WebAppsUpdateAuthSettingsV2OptionalParams,
|
|
142
144
|
WebAppsUpdateAuthSettingsV2Response,
|
|
@@ -1807,6 +1809,17 @@ export interface WebApps {
|
|
|
1807
1809
|
name: string,
|
|
1808
1810
|
options?: WebAppsGetAuthSettingsOptionalParams
|
|
1809
1811
|
): Promise<WebAppsGetAuthSettingsResponse>;
|
|
1812
|
+
/**
|
|
1813
|
+
* Description for Gets site's Authentication / Authorization settings for apps via the V2 format
|
|
1814
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
1815
|
+
* @param name Name of the app.
|
|
1816
|
+
* @param options The options parameters.
|
|
1817
|
+
*/
|
|
1818
|
+
getAuthSettingsV2WithoutSecrets(
|
|
1819
|
+
resourceGroupName: string,
|
|
1820
|
+
name: string,
|
|
1821
|
+
options?: WebAppsGetAuthSettingsV2WithoutSecretsOptionalParams
|
|
1822
|
+
): Promise<WebAppsGetAuthSettingsV2WithoutSecretsResponse>;
|
|
1810
1823
|
/**
|
|
1811
1824
|
* Description for Updates site's Authentication / Authorization settings for apps via the V2 format
|
|
1812
1825
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
AppServiceEnvironmentsImpl,
|
|
20
20
|
AppServicePlansImpl,
|
|
21
21
|
CertificatesImpl,
|
|
22
|
+
ContainerAppsImpl,
|
|
23
|
+
ContainerAppsRevisionsImpl,
|
|
22
24
|
DeletedWebAppsImpl,
|
|
23
25
|
DiagnosticsImpl,
|
|
24
26
|
GlobalImpl,
|
|
@@ -39,6 +41,8 @@ import {
|
|
|
39
41
|
AppServiceEnvironments,
|
|
40
42
|
AppServicePlans,
|
|
41
43
|
Certificates,
|
|
44
|
+
ContainerApps,
|
|
45
|
+
ContainerAppsRevisions,
|
|
42
46
|
DeletedWebApps,
|
|
43
47
|
Diagnostics,
|
|
44
48
|
Global,
|
|
@@ -59,6 +63,9 @@ import {
|
|
|
59
63
|
BillingMeter,
|
|
60
64
|
ListBillingMetersNextOptionalParams,
|
|
61
65
|
ListBillingMetersOptionalParams,
|
|
66
|
+
CustomHostnameSites,
|
|
67
|
+
ListCustomHostNameSitesNextOptionalParams,
|
|
68
|
+
ListCustomHostNameSitesOptionalParams,
|
|
62
69
|
GeoRegion,
|
|
63
70
|
ListGeoRegionsNextOptionalParams,
|
|
64
71
|
ListGeoRegionsOptionalParams,
|
|
@@ -83,6 +90,7 @@ import {
|
|
|
83
90
|
CheckNameResourceTypes,
|
|
84
91
|
CheckNameAvailabilityOptionalParams,
|
|
85
92
|
CheckNameAvailabilityResponse,
|
|
93
|
+
ListCustomHostNameSitesResponse,
|
|
86
94
|
GetSubscriptionDeploymentLocationsOptionalParams,
|
|
87
95
|
GetSubscriptionDeploymentLocationsResponse,
|
|
88
96
|
ListGeoRegionsResponse,
|
|
@@ -101,6 +109,7 @@ import {
|
|
|
101
109
|
ValidateMoveOptionalParams,
|
|
102
110
|
ListSourceControlsNextResponse,
|
|
103
111
|
ListBillingMetersNextResponse,
|
|
112
|
+
ListCustomHostNameSitesNextResponse,
|
|
104
113
|
ListGeoRegionsNextResponse,
|
|
105
114
|
ListSiteIdentifiersAssignedToHostNameNextResponse,
|
|
106
115
|
ListPremierAddOnOffersNextResponse
|
|
@@ -140,7 +149,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
140
149
|
credential: credentials
|
|
141
150
|
};
|
|
142
151
|
|
|
143
|
-
const packageDetails = `azsdk-js-arm-appservice/
|
|
152
|
+
const packageDetails = `azsdk-js-arm-appservice/11.0.0`;
|
|
144
153
|
const userAgentPrefix =
|
|
145
154
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
146
155
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -163,7 +172,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
163
172
|
|
|
164
173
|
// Assigning values to Constant parameters
|
|
165
174
|
this.$host = options.$host || "https://management.azure.com";
|
|
166
|
-
this.apiVersion = options.apiVersion || "2021-
|
|
175
|
+
this.apiVersion = options.apiVersion || "2021-03-01";
|
|
167
176
|
this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl(
|
|
168
177
|
this
|
|
169
178
|
);
|
|
@@ -179,6 +188,8 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
179
188
|
this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this);
|
|
180
189
|
this.appServicePlans = new AppServicePlansImpl(this);
|
|
181
190
|
this.certificates = new CertificatesImpl(this);
|
|
191
|
+
this.containerApps = new ContainerAppsImpl(this);
|
|
192
|
+
this.containerAppsRevisions = new ContainerAppsRevisionsImpl(this);
|
|
182
193
|
this.deletedWebApps = new DeletedWebAppsImpl(this);
|
|
183
194
|
this.diagnostics = new DiagnosticsImpl(this);
|
|
184
195
|
this.global = new GlobalImpl(this);
|
|
@@ -276,6 +287,51 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
276
287
|
}
|
|
277
288
|
}
|
|
278
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Get custom hostnames under this subscription
|
|
292
|
+
* @param options The options parameters.
|
|
293
|
+
*/
|
|
294
|
+
public listCustomHostNameSites(
|
|
295
|
+
options?: ListCustomHostNameSitesOptionalParams
|
|
296
|
+
): PagedAsyncIterableIterator<CustomHostnameSites> {
|
|
297
|
+
const iter = this.listCustomHostNameSitesPagingAll(options);
|
|
298
|
+
return {
|
|
299
|
+
next() {
|
|
300
|
+
return iter.next();
|
|
301
|
+
},
|
|
302
|
+
[Symbol.asyncIterator]() {
|
|
303
|
+
return this;
|
|
304
|
+
},
|
|
305
|
+
byPage: () => {
|
|
306
|
+
return this.listCustomHostNameSitesPagingPage(options);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
private async *listCustomHostNameSitesPagingPage(
|
|
312
|
+
options?: ListCustomHostNameSitesOptionalParams
|
|
313
|
+
): AsyncIterableIterator<CustomHostnameSites[]> {
|
|
314
|
+
let result = await this._listCustomHostNameSites(options);
|
|
315
|
+
yield result.value || [];
|
|
316
|
+
let continuationToken = result.nextLink;
|
|
317
|
+
while (continuationToken) {
|
|
318
|
+
result = await this._listCustomHostNameSitesNext(
|
|
319
|
+
continuationToken,
|
|
320
|
+
options
|
|
321
|
+
);
|
|
322
|
+
continuationToken = result.nextLink;
|
|
323
|
+
yield result.value || [];
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
private async *listCustomHostNameSitesPagingAll(
|
|
328
|
+
options?: ListCustomHostNameSitesOptionalParams
|
|
329
|
+
): AsyncIterableIterator<CustomHostnameSites> {
|
|
330
|
+
for await (const page of this.listCustomHostNameSitesPagingPage(options)) {
|
|
331
|
+
yield* page;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
279
335
|
/**
|
|
280
336
|
* Description for Get a list of available geographical regions.
|
|
281
337
|
* @param options The options parameters.
|
|
@@ -528,6 +584,19 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
528
584
|
);
|
|
529
585
|
}
|
|
530
586
|
|
|
587
|
+
/**
|
|
588
|
+
* Get custom hostnames under this subscription
|
|
589
|
+
* @param options The options parameters.
|
|
590
|
+
*/
|
|
591
|
+
private _listCustomHostNameSites(
|
|
592
|
+
options?: ListCustomHostNameSitesOptionalParams
|
|
593
|
+
): Promise<ListCustomHostNameSitesResponse> {
|
|
594
|
+
return this.sendOperationRequest(
|
|
595
|
+
{ options },
|
|
596
|
+
listCustomHostNameSitesOperationSpec
|
|
597
|
+
);
|
|
598
|
+
}
|
|
599
|
+
|
|
531
600
|
/**
|
|
532
601
|
* Description for Gets list of available geo regions plus ministamps
|
|
533
602
|
* @param options The options parameters.
|
|
@@ -684,6 +753,22 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
684
753
|
);
|
|
685
754
|
}
|
|
686
755
|
|
|
756
|
+
/**
|
|
757
|
+
* ListCustomHostNameSitesNext
|
|
758
|
+
* @param nextLink The nextLink from the previous successful call to the ListCustomHostNameSites
|
|
759
|
+
* method.
|
|
760
|
+
* @param options The options parameters.
|
|
761
|
+
*/
|
|
762
|
+
private _listCustomHostNameSitesNext(
|
|
763
|
+
nextLink: string,
|
|
764
|
+
options?: ListCustomHostNameSitesNextOptionalParams
|
|
765
|
+
): Promise<ListCustomHostNameSitesNextResponse> {
|
|
766
|
+
return this.sendOperationRequest(
|
|
767
|
+
{ nextLink, options },
|
|
768
|
+
listCustomHostNameSitesNextOperationSpec
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
|
|
687
772
|
/**
|
|
688
773
|
* ListGeoRegionsNext
|
|
689
774
|
* @param nextLink The nextLink from the previous successful call to the ListGeoRegions method.
|
|
@@ -741,6 +826,8 @@ export class WebSiteManagementClient extends coreClient.ServiceClient {
|
|
|
741
826
|
appServiceEnvironments: AppServiceEnvironments;
|
|
742
827
|
appServicePlans: AppServicePlans;
|
|
743
828
|
certificates: Certificates;
|
|
829
|
+
containerApps: ContainerApps;
|
|
830
|
+
containerAppsRevisions: ContainerAppsRevisions;
|
|
744
831
|
deletedWebApps: DeletedWebApps;
|
|
745
832
|
diagnostics: Diagnostics;
|
|
746
833
|
global: Global;
|
|
@@ -884,6 +971,23 @@ const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
|
884
971
|
mediaType: "json",
|
|
885
972
|
serializer
|
|
886
973
|
};
|
|
974
|
+
const listCustomHostNameSitesOperationSpec: coreClient.OperationSpec = {
|
|
975
|
+
path:
|
|
976
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/customhostnameSites",
|
|
977
|
+
httpMethod: "GET",
|
|
978
|
+
responses: {
|
|
979
|
+
200: {
|
|
980
|
+
bodyMapper: Mappers.CustomHostnameSitesCollection
|
|
981
|
+
},
|
|
982
|
+
default: {
|
|
983
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
queryParameters: [Parameters.apiVersion],
|
|
987
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
988
|
+
headerParameters: [Parameters.accept],
|
|
989
|
+
serializer
|
|
990
|
+
};
|
|
887
991
|
const getSubscriptionDeploymentLocationsOperationSpec: coreClient.OperationSpec = {
|
|
888
992
|
path:
|
|
889
993
|
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations",
|
|
@@ -1099,6 +1203,26 @@ const listBillingMetersNextOperationSpec: coreClient.OperationSpec = {
|
|
|
1099
1203
|
headerParameters: [Parameters.accept],
|
|
1100
1204
|
serializer
|
|
1101
1205
|
};
|
|
1206
|
+
const listCustomHostNameSitesNextOperationSpec: coreClient.OperationSpec = {
|
|
1207
|
+
path: "{nextLink}",
|
|
1208
|
+
httpMethod: "GET",
|
|
1209
|
+
responses: {
|
|
1210
|
+
200: {
|
|
1211
|
+
bodyMapper: Mappers.CustomHostnameSitesCollection
|
|
1212
|
+
},
|
|
1213
|
+
default: {
|
|
1214
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
queryParameters: [Parameters.apiVersion],
|
|
1218
|
+
urlParameters: [
|
|
1219
|
+
Parameters.$host,
|
|
1220
|
+
Parameters.subscriptionId,
|
|
1221
|
+
Parameters.nextLink
|
|
1222
|
+
],
|
|
1223
|
+
headerParameters: [Parameters.accept],
|
|
1224
|
+
serializer
|
|
1225
|
+
};
|
|
1102
1226
|
const listGeoRegionsNextOperationSpec: coreClient.OperationSpec = {
|
|
1103
1227
|
path: "{nextLink}",
|
|
1104
1228
|
httpMethod: "GET",
|