@azure/arm-appservice 30.0.0-alpha.20211001.1
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 +27 -0
- package/LICENSE +21 -0
- package/README.md +96 -0
- package/dist/index.js +59024 -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/index.d.ts +6 -0
- package/dist-esm/index.d.ts.map +1 -0
- package/dist-esm/index.js +13 -0
- package/dist-esm/index.js.map +1 -0
- package/dist-esm/lroImpl.d.ts +16 -0
- package/dist-esm/lroImpl.d.ts.map +1 -0
- package/dist-esm/lroImpl.js +29 -0
- package/dist-esm/lroImpl.js.map +1 -0
- package/dist-esm/models/index.d.ts +12050 -0
- package/dist-esm/models/index.d.ts.map +1 -0
- package/dist-esm/models/index.js +227 -0
- package/dist-esm/models/index.js.map +1 -0
- package/dist-esm/models/mappers.d.ts +405 -0
- package/dist-esm/models/mappers.d.ts.map +1 -0
- package/dist-esm/models/mappers.js +19668 -0
- package/dist-esm/models/mappers.js.map +1 -0
- package/dist-esm/models/parameters.d.ts +183 -0
- package/dist-esm/models/parameters.d.ts.map +1 -0
- package/dist-esm/models/parameters.js +1382 -0
- package/dist-esm/models/parameters.js.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts +233 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.js +1024 -0
- package/dist-esm/operations/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts +780 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.js +3646 -0
- package/dist-esm/operations/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operations/appServicePlans.d.ts +339 -0
- package/dist-esm/operations/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operations/appServicePlans.js +1490 -0
- package/dist-esm/operations/appServicePlans.js.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts +48 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js +176 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.js +123 -0
- package/dist-esm/operations/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/certificates.d.ts +84 -0
- package/dist-esm/operations/certificates.d.ts.map +1 -0
- package/dist-esm/operations/certificates.js +357 -0
- package/dist-esm/operations/certificates.js.map +1 -0
- package/dist-esm/operations/deletedWebApps.d.ts +61 -0
- package/dist-esm/operations/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operations/deletedWebApps.js +262 -0
- package/dist-esm/operations/deletedWebApps.js.map +1 -0
- package/dist-esm/operations/diagnostics.d.ts +378 -0
- package/dist-esm/operations/diagnostics.d.ts.map +1 -0
- package/dist-esm/operations/diagnostics.js +1624 -0
- package/dist-esm/operations/diagnostics.js.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.js +123 -0
- package/dist-esm/operations/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/domains.d.ts +193 -0
- package/dist-esm/operations/domains.d.ts.map +1 -0
- package/dist-esm/operations/domains.js +856 -0
- package/dist-esm/operations/domains.js.map +1 -0
- package/dist-esm/operations/global.d.ts +32 -0
- package/dist-esm/operations/global.d.ts.map +1 -0
- package/dist-esm/operations/global.js +112 -0
- package/dist-esm/operations/global.js.map +1 -0
- package/dist-esm/operations/index.d.ts +19 -0
- package/dist-esm/operations/index.d.ts.map +1 -0
- package/dist-esm/operations/index.js +26 -0
- package/dist-esm/operations/index.js.map +1 -0
- package/dist-esm/operations/kubeEnvironments.d.ts +100 -0
- package/dist-esm/operations/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/kubeEnvironments.js +454 -0
- package/dist-esm/operations/kubeEnvironments.js.map +1 -0
- package/dist-esm/operations/provider.d.ts +152 -0
- package/dist-esm/operations/provider.d.ts.map +1 -0
- package/dist-esm/operations/provider.js +706 -0
- package/dist-esm/operations/provider.js.map +1 -0
- package/dist-esm/operations/recommendations.d.ts +206 -0
- package/dist-esm/operations/recommendations.d.ts.map +1 -0
- package/dist-esm/operations/recommendations.js +912 -0
- package/dist-esm/operations/recommendations.js.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts +126 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js +529 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operations/staticSites.d.ts +702 -0
- package/dist-esm/operations/staticSites.d.ts.map +1 -0
- package/dist-esm/operations/staticSites.js +3069 -0
- package/dist-esm/operations/staticSites.js.map +1 -0
- package/dist-esm/operations/topLevelDomains.d.ts +63 -0
- package/dist-esm/operations/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operations/topLevelDomains.js +258 -0
- package/dist-esm/operations/topLevelDomains.js.map +1 -0
- package/dist-esm/operations/webApps.d.ts +5070 -0
- package/dist-esm/operations/webApps.d.ts.map +1 -0
- package/dist-esm/operations/webApps.js +20820 -0
- package/dist-esm/operations/webApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts +180 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts +380 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts +230 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js +9 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts +22 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts +48 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.js +9 -0
- package/dist-esm/operationsInterfaces/certificates.js.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts +25 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js +9 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts +196 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/domains.d.ts +124 -0
- package/dist-esm/operationsInterfaces/domains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domains.js +9 -0
- package/dist-esm/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/operationsInterfaces/global.d.ts +24 -0
- package/dist-esm/operationsInterfaces/global.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/global.js +9 -0
- package/dist-esm/operationsInterfaces/global.js.map +1 -0
- package/dist-esm/operationsInterfaces/index.d.ts +19 -0
- package/dist-esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/index.js +26 -0
- package/dist-esm/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts +64 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/provider.d.ts +45 -0
- package/dist-esm/operationsInterfaces/provider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/provider.js +9 -0
- package/dist-esm/operationsInterfaces/provider.js.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts +114 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.js +9 -0
- package/dist-esm/operationsInterfaces/recommendations.js.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts +51 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js +9 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts +516 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.js +9 -0
- package/dist-esm/operationsInterfaces/staticSites.js.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts +25 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js +9 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts +3798 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.js +9 -0
- package/dist-esm/operationsInterfaces/webApps.js.map +1 -0
- package/dist-esm/webSiteManagementClient.d.ts +205 -0
- package/dist-esm/webSiteManagementClient.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClient.js +892 -0
- package/dist-esm/webSiteManagementClient.js.map +1 -0
- package/dist-esm/webSiteManagementClientContext.d.ts +17 -0
- package/dist-esm/webSiteManagementClientContext.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClientContext.js +50 -0
- package/dist-esm/webSiteManagementClientContext.js.map +1 -0
- package/package.json +99 -0
- package/review/arm-appservice.api.md +10633 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +14289 -0
- package/src/models/mappers.ts +21388 -0
- package/src/models/parameters.ts +1647 -0
- package/src/operations/appServiceCertificateOrders.ts +1373 -0
- package/src/operations/appServiceEnvironments.ts +5073 -0
- package/src/operations/appServicePlans.ts +1987 -0
- package/src/operations/certificateOrdersDiagnostics.ts +247 -0
- package/src/operations/certificateRegistrationProvider.ts +144 -0
- package/src/operations/certificates.ts +444 -0
- package/src/operations/deletedWebApps.ts +311 -0
- package/src/operations/diagnostics.ts +2273 -0
- package/src/operations/domainRegistrationProvider.ts +144 -0
- package/src/operations/domains.ts +1122 -0
- package/src/operations/global.ts +150 -0
- package/src/operations/index.ts +26 -0
- package/src/operations/kubeEnvironments.ts +594 -0
- package/src/operations/provider.ts +829 -0
- package/src/operations/recommendations.ts +1210 -0
- package/src/operations/resourceHealthMetadataOperations.ts +679 -0
- package/src/operations/staticSites.ts +4336 -0
- package/src/operations/topLevelDomains.ts +319 -0
- package/src/operations/webApps.ts +28925 -0
- package/src/operationsInterfaces/appServiceCertificateOrders.ts +340 -0
- package/src/operationsInterfaces/appServiceEnvironments.ts +725 -0
- package/src/operationsInterfaces/appServicePlans.ts +433 -0
- package/src/operationsInterfaces/certificateOrdersDiagnostics.ts +47 -0
- package/src/operationsInterfaces/certificateRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/certificates.ts +92 -0
- package/src/operationsInterfaces/deletedWebApps.ts +49 -0
- package/src/operationsInterfaces/diagnostics.ts +368 -0
- package/src/operationsInterfaces/domainRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/domains.ts +231 -0
- package/src/operationsInterfaces/global.ts +48 -0
- package/src/operationsInterfaces/index.ts +26 -0
- package/src/operationsInterfaces/kubeEnvironments.ts +122 -0
- package/src/operationsInterfaces/provider.ts +82 -0
- package/src/operationsInterfaces/recommendations.ts +204 -0
- package/src/operationsInterfaces/resourceHealthMetadataOperations.ts +93 -0
- package/src/operationsInterfaces/staticSites.ts +963 -0
- package/src/operationsInterfaces/topLevelDomains.ts +51 -0
- package/src/operationsInterfaces/webApps.ts +6889 -0
- package/src/webSiteManagementClient.ts +1177 -0
- package/src/webSiteManagementClientContext.ts +71 -0
- package/tsconfig.json +19 -0
- package/types/arm-appservice.d.ts +20041 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,892 @@
|
|
|
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 "@azure/core-paging";
|
|
11
|
+
import { AppServiceCertificateOrdersImpl, CertificateOrdersDiagnosticsImpl, CertificateRegistrationProviderImpl, DomainsImpl, TopLevelDomainsImpl, DomainRegistrationProviderImpl, AppServiceEnvironmentsImpl, AppServicePlansImpl, CertificatesImpl, DeletedWebAppsImpl, DiagnosticsImpl, GlobalImpl, KubeEnvironmentsImpl, ProviderImpl, RecommendationsImpl, ResourceHealthMetadataOperationsImpl, StaticSitesImpl, WebAppsImpl } from "./operations";
|
|
12
|
+
import * as Parameters from "./models/parameters";
|
|
13
|
+
import * as Mappers from "./models/mappers";
|
|
14
|
+
import { WebSiteManagementClientContext } from "./webSiteManagementClientContext";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
export class WebSiteManagementClient extends WebSiteManagementClientContext {
|
|
17
|
+
/**
|
|
18
|
+
* Initializes a new instance of the WebSiteManagementClient class.
|
|
19
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
20
|
+
* @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g.
|
|
21
|
+
* 00000000-0000-0000-0000-000000000000).
|
|
22
|
+
* @param options The parameter options
|
|
23
|
+
*/
|
|
24
|
+
constructor(credentials, subscriptionId, options) {
|
|
25
|
+
super(credentials, subscriptionId, options);
|
|
26
|
+
this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl(this);
|
|
27
|
+
this.certificateOrdersDiagnostics = new CertificateOrdersDiagnosticsImpl(this);
|
|
28
|
+
this.certificateRegistrationProvider = new CertificateRegistrationProviderImpl(this);
|
|
29
|
+
this.domains = new DomainsImpl(this);
|
|
30
|
+
this.topLevelDomains = new TopLevelDomainsImpl(this);
|
|
31
|
+
this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this);
|
|
32
|
+
this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this);
|
|
33
|
+
this.appServicePlans = new AppServicePlansImpl(this);
|
|
34
|
+
this.certificates = new CertificatesImpl(this);
|
|
35
|
+
this.deletedWebApps = new DeletedWebAppsImpl(this);
|
|
36
|
+
this.diagnostics = new DiagnosticsImpl(this);
|
|
37
|
+
this.global = new GlobalImpl(this);
|
|
38
|
+
this.kubeEnvironments = new KubeEnvironmentsImpl(this);
|
|
39
|
+
this.provider = new ProviderImpl(this);
|
|
40
|
+
this.recommendations = new RecommendationsImpl(this);
|
|
41
|
+
this.resourceHealthMetadataOperations = new ResourceHealthMetadataOperationsImpl(this);
|
|
42
|
+
this.staticSites = new StaticSitesImpl(this);
|
|
43
|
+
this.webApps = new WebAppsImpl(this);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Description for Gets the source controls available for Azure websites.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
listSourceControls(options) {
|
|
50
|
+
const iter = this.listSourceControlsPagingAll(options);
|
|
51
|
+
return {
|
|
52
|
+
next() {
|
|
53
|
+
return iter.next();
|
|
54
|
+
},
|
|
55
|
+
[Symbol.asyncIterator]() {
|
|
56
|
+
return this;
|
|
57
|
+
},
|
|
58
|
+
byPage: () => {
|
|
59
|
+
return this.listSourceControlsPagingPage(options);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
listSourceControlsPagingPage(options) {
|
|
64
|
+
return __asyncGenerator(this, arguments, function* listSourceControlsPagingPage_1() {
|
|
65
|
+
let result = yield __await(this._listSourceControls(options));
|
|
66
|
+
yield yield __await(result.value || []);
|
|
67
|
+
let continuationToken = result.nextLink;
|
|
68
|
+
while (continuationToken) {
|
|
69
|
+
result = yield __await(this._listSourceControlsNext(continuationToken, options));
|
|
70
|
+
continuationToken = result.nextLink;
|
|
71
|
+
yield yield __await(result.value || []);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
listSourceControlsPagingAll(options) {
|
|
76
|
+
return __asyncGenerator(this, arguments, function* listSourceControlsPagingAll_1() {
|
|
77
|
+
var e_1, _a;
|
|
78
|
+
try {
|
|
79
|
+
for (var _b = __asyncValues(this.listSourceControlsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
80
|
+
const page = _c.value;
|
|
81
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
85
|
+
finally {
|
|
86
|
+
try {
|
|
87
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
88
|
+
}
|
|
89
|
+
finally { if (e_1) throw e_1.error; }
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Description for Gets a list of meters for a given location.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
listBillingMeters(options) {
|
|
98
|
+
const iter = this.listBillingMetersPagingAll(options);
|
|
99
|
+
return {
|
|
100
|
+
next() {
|
|
101
|
+
return iter.next();
|
|
102
|
+
},
|
|
103
|
+
[Symbol.asyncIterator]() {
|
|
104
|
+
return this;
|
|
105
|
+
},
|
|
106
|
+
byPage: () => {
|
|
107
|
+
return this.listBillingMetersPagingPage(options);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
listBillingMetersPagingPage(options) {
|
|
112
|
+
return __asyncGenerator(this, arguments, function* listBillingMetersPagingPage_1() {
|
|
113
|
+
let result = yield __await(this._listBillingMeters(options));
|
|
114
|
+
yield yield __await(result.value || []);
|
|
115
|
+
let continuationToken = result.nextLink;
|
|
116
|
+
while (continuationToken) {
|
|
117
|
+
result = yield __await(this._listBillingMetersNext(continuationToken, options));
|
|
118
|
+
continuationToken = result.nextLink;
|
|
119
|
+
yield yield __await(result.value || []);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
listBillingMetersPagingAll(options) {
|
|
124
|
+
return __asyncGenerator(this, arguments, function* listBillingMetersPagingAll_1() {
|
|
125
|
+
var e_2, _a;
|
|
126
|
+
try {
|
|
127
|
+
for (var _b = __asyncValues(this.listBillingMetersPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
128
|
+
const page = _c.value;
|
|
129
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
133
|
+
finally {
|
|
134
|
+
try {
|
|
135
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
136
|
+
}
|
|
137
|
+
finally { if (e_2) throw e_2.error; }
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Description for Get a list of available geographical regions.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
listGeoRegions(options) {
|
|
146
|
+
const iter = this.listGeoRegionsPagingAll(options);
|
|
147
|
+
return {
|
|
148
|
+
next() {
|
|
149
|
+
return iter.next();
|
|
150
|
+
},
|
|
151
|
+
[Symbol.asyncIterator]() {
|
|
152
|
+
return this;
|
|
153
|
+
},
|
|
154
|
+
byPage: () => {
|
|
155
|
+
return this.listGeoRegionsPagingPage(options);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
listGeoRegionsPagingPage(options) {
|
|
160
|
+
return __asyncGenerator(this, arguments, function* listGeoRegionsPagingPage_1() {
|
|
161
|
+
let result = yield __await(this._listGeoRegions(options));
|
|
162
|
+
yield yield __await(result.value || []);
|
|
163
|
+
let continuationToken = result.nextLink;
|
|
164
|
+
while (continuationToken) {
|
|
165
|
+
result = yield __await(this._listGeoRegionsNext(continuationToken, options));
|
|
166
|
+
continuationToken = result.nextLink;
|
|
167
|
+
yield yield __await(result.value || []);
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
listGeoRegionsPagingAll(options) {
|
|
172
|
+
return __asyncGenerator(this, arguments, function* listGeoRegionsPagingAll_1() {
|
|
173
|
+
var e_3, _a;
|
|
174
|
+
try {
|
|
175
|
+
for (var _b = __asyncValues(this.listGeoRegionsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
176
|
+
const page = _c.value;
|
|
177
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
181
|
+
finally {
|
|
182
|
+
try {
|
|
183
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
184
|
+
}
|
|
185
|
+
finally { if (e_3) throw e_3.error; }
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Description for List all apps that are assigned to a hostname.
|
|
191
|
+
* @param nameIdentifier Hostname information.
|
|
192
|
+
* @param options The options parameters.
|
|
193
|
+
*/
|
|
194
|
+
listSiteIdentifiersAssignedToHostName(nameIdentifier, options) {
|
|
195
|
+
const iter = this.listSiteIdentifiersAssignedToHostNamePagingAll(nameIdentifier, options);
|
|
196
|
+
return {
|
|
197
|
+
next() {
|
|
198
|
+
return iter.next();
|
|
199
|
+
},
|
|
200
|
+
[Symbol.asyncIterator]() {
|
|
201
|
+
return this;
|
|
202
|
+
},
|
|
203
|
+
byPage: () => {
|
|
204
|
+
return this.listSiteIdentifiersAssignedToHostNamePagingPage(nameIdentifier, options);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
listSiteIdentifiersAssignedToHostNamePagingPage(nameIdentifier, options) {
|
|
209
|
+
return __asyncGenerator(this, arguments, function* listSiteIdentifiersAssignedToHostNamePagingPage_1() {
|
|
210
|
+
let result = yield __await(this._listSiteIdentifiersAssignedToHostName(nameIdentifier, options));
|
|
211
|
+
yield yield __await(result.value || []);
|
|
212
|
+
let continuationToken = result.nextLink;
|
|
213
|
+
while (continuationToken) {
|
|
214
|
+
result = yield __await(this._listSiteIdentifiersAssignedToHostNameNext(nameIdentifier, continuationToken, options));
|
|
215
|
+
continuationToken = result.nextLink;
|
|
216
|
+
yield yield __await(result.value || []);
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
listSiteIdentifiersAssignedToHostNamePagingAll(nameIdentifier, options) {
|
|
221
|
+
return __asyncGenerator(this, arguments, function* listSiteIdentifiersAssignedToHostNamePagingAll_1() {
|
|
222
|
+
var e_4, _a;
|
|
223
|
+
try {
|
|
224
|
+
for (var _b = __asyncValues(this.listSiteIdentifiersAssignedToHostNamePagingPage(nameIdentifier, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
225
|
+
const page = _c.value;
|
|
226
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
230
|
+
finally {
|
|
231
|
+
try {
|
|
232
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
233
|
+
}
|
|
234
|
+
finally { if (e_4) throw e_4.error; }
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Description for List all premier add-on offers.
|
|
240
|
+
* @param options The options parameters.
|
|
241
|
+
*/
|
|
242
|
+
listPremierAddOnOffers(options) {
|
|
243
|
+
const iter = this.listPremierAddOnOffersPagingAll(options);
|
|
244
|
+
return {
|
|
245
|
+
next() {
|
|
246
|
+
return iter.next();
|
|
247
|
+
},
|
|
248
|
+
[Symbol.asyncIterator]() {
|
|
249
|
+
return this;
|
|
250
|
+
},
|
|
251
|
+
byPage: () => {
|
|
252
|
+
return this.listPremierAddOnOffersPagingPage(options);
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
listPremierAddOnOffersPagingPage(options) {
|
|
257
|
+
return __asyncGenerator(this, arguments, function* listPremierAddOnOffersPagingPage_1() {
|
|
258
|
+
let result = yield __await(this._listPremierAddOnOffers(options));
|
|
259
|
+
yield yield __await(result.value || []);
|
|
260
|
+
let continuationToken = result.nextLink;
|
|
261
|
+
while (continuationToken) {
|
|
262
|
+
result = yield __await(this._listPremierAddOnOffersNext(continuationToken, options));
|
|
263
|
+
continuationToken = result.nextLink;
|
|
264
|
+
yield yield __await(result.value || []);
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
listPremierAddOnOffersPagingAll(options) {
|
|
269
|
+
return __asyncGenerator(this, arguments, function* listPremierAddOnOffersPagingAll_1() {
|
|
270
|
+
var e_5, _a;
|
|
271
|
+
try {
|
|
272
|
+
for (var _b = __asyncValues(this.listPremierAddOnOffersPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
273
|
+
const page = _c.value;
|
|
274
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
278
|
+
finally {
|
|
279
|
+
try {
|
|
280
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
281
|
+
}
|
|
282
|
+
finally { if (e_5) throw e_5.error; }
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Description for Exchange code for GitHub access token for AppService CLI
|
|
288
|
+
* @param code Code string to exchange for Github Access token
|
|
289
|
+
* @param state State string used for verification.
|
|
290
|
+
* @param options The options parameters.
|
|
291
|
+
*/
|
|
292
|
+
generateGithubAccessTokenForAppserviceCLIAsync(code, state, options) {
|
|
293
|
+
return this.sendOperationRequest({ code, state, options }, generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec);
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Description for Gets publishing user
|
|
297
|
+
* @param options The options parameters.
|
|
298
|
+
*/
|
|
299
|
+
getPublishingUser(options) {
|
|
300
|
+
return this.sendOperationRequest({ options }, getPublishingUserOperationSpec);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Description for Updates publishing user
|
|
304
|
+
* @param userDetails Details of publishing user
|
|
305
|
+
* @param options The options parameters.
|
|
306
|
+
*/
|
|
307
|
+
updatePublishingUser(userDetails, options) {
|
|
308
|
+
return this.sendOperationRequest({ userDetails, options }, updatePublishingUserOperationSpec);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Description for Gets the source controls available for Azure websites.
|
|
312
|
+
* @param options The options parameters.
|
|
313
|
+
*/
|
|
314
|
+
_listSourceControls(options) {
|
|
315
|
+
return this.sendOperationRequest({ options }, listSourceControlsOperationSpec);
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Description for Gets source control token
|
|
319
|
+
* @param sourceControlType Type of source control
|
|
320
|
+
* @param options The options parameters.
|
|
321
|
+
*/
|
|
322
|
+
getSourceControl(sourceControlType, options) {
|
|
323
|
+
return this.sendOperationRequest({ sourceControlType, options }, getSourceControlOperationSpec);
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Description for Updates source control token
|
|
327
|
+
* @param sourceControlType Type of source control
|
|
328
|
+
* @param requestMessage Source control token information
|
|
329
|
+
* @param options The options parameters.
|
|
330
|
+
*/
|
|
331
|
+
updateSourceControl(sourceControlType, requestMessage, options) {
|
|
332
|
+
return this.sendOperationRequest({ sourceControlType, requestMessage, options }, updateSourceControlOperationSpec);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Description for Gets a list of meters for a given location.
|
|
336
|
+
* @param options The options parameters.
|
|
337
|
+
*/
|
|
338
|
+
_listBillingMeters(options) {
|
|
339
|
+
return this.sendOperationRequest({ options }, listBillingMetersOperationSpec);
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Description for Check if a resource name is available.
|
|
343
|
+
* @param name Resource name to verify.
|
|
344
|
+
* @param typeParam Resource type used for verification.
|
|
345
|
+
* @param options The options parameters.
|
|
346
|
+
*/
|
|
347
|
+
checkNameAvailability(name, typeParam, options) {
|
|
348
|
+
return this.sendOperationRequest({ name, typeParam, options }, checkNameAvailabilityOperationSpec);
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Description for Gets list of available geo regions plus ministamps
|
|
352
|
+
* @param options The options parameters.
|
|
353
|
+
*/
|
|
354
|
+
getSubscriptionDeploymentLocations(options) {
|
|
355
|
+
return this.sendOperationRequest({ options }, getSubscriptionDeploymentLocationsOperationSpec);
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Description for Get a list of available geographical regions.
|
|
359
|
+
* @param options The options parameters.
|
|
360
|
+
*/
|
|
361
|
+
_listGeoRegions(options) {
|
|
362
|
+
return this.sendOperationRequest({ options }, listGeoRegionsOperationSpec);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Description for List all apps that are assigned to a hostname.
|
|
366
|
+
* @param nameIdentifier Hostname information.
|
|
367
|
+
* @param options The options parameters.
|
|
368
|
+
*/
|
|
369
|
+
_listSiteIdentifiersAssignedToHostName(nameIdentifier, options) {
|
|
370
|
+
return this.sendOperationRequest({ nameIdentifier, options }, listSiteIdentifiersAssignedToHostNameOperationSpec);
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Description for List all premier add-on offers.
|
|
374
|
+
* @param options The options parameters.
|
|
375
|
+
*/
|
|
376
|
+
_listPremierAddOnOffers(options) {
|
|
377
|
+
return this.sendOperationRequest({ options }, listPremierAddOnOffersOperationSpec);
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Description for List all SKUs.
|
|
381
|
+
* @param options The options parameters.
|
|
382
|
+
*/
|
|
383
|
+
listSkus(options) {
|
|
384
|
+
return this.sendOperationRequest({ options }, listSkusOperationSpec);
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the
|
|
388
|
+
* Network Security Group rules.
|
|
389
|
+
* @param parameters VNET information
|
|
390
|
+
* @param options The options parameters.
|
|
391
|
+
*/
|
|
392
|
+
verifyHostingEnvironmentVnet(parameters, options) {
|
|
393
|
+
return this.sendOperationRequest({ parameters, options }, verifyHostingEnvironmentVnetOperationSpec);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Description for Move resources between resource groups.
|
|
397
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
398
|
+
* @param moveResourceEnvelope Object that represents the resource to move.
|
|
399
|
+
* @param options The options parameters.
|
|
400
|
+
*/
|
|
401
|
+
move(resourceGroupName, moveResourceEnvelope, options) {
|
|
402
|
+
return this.sendOperationRequest({ resourceGroupName, moveResourceEnvelope, options }, moveOperationSpec);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Description for Validate if a resource can be created.
|
|
406
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
407
|
+
* @param validateRequest Request with the resources to validate.
|
|
408
|
+
* @param options The options parameters.
|
|
409
|
+
*/
|
|
410
|
+
validate(resourceGroupName, validateRequest, options) {
|
|
411
|
+
return this.sendOperationRequest({ resourceGroupName, validateRequest, options }, validateOperationSpec);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Description for Validate whether a resource can be moved.
|
|
415
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
416
|
+
* @param moveResourceEnvelope Object that represents the resource to move.
|
|
417
|
+
* @param options The options parameters.
|
|
418
|
+
*/
|
|
419
|
+
validateMove(resourceGroupName, moveResourceEnvelope, options) {
|
|
420
|
+
return this.sendOperationRequest({ resourceGroupName, moveResourceEnvelope, options }, validateMoveOperationSpec);
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* ListSourceControlsNext
|
|
424
|
+
* @param nextLink The nextLink from the previous successful call to the ListSourceControls method.
|
|
425
|
+
* @param options The options parameters.
|
|
426
|
+
*/
|
|
427
|
+
_listSourceControlsNext(nextLink, options) {
|
|
428
|
+
return this.sendOperationRequest({ nextLink, options }, listSourceControlsNextOperationSpec);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* ListBillingMetersNext
|
|
432
|
+
* @param nextLink The nextLink from the previous successful call to the ListBillingMeters method.
|
|
433
|
+
* @param options The options parameters.
|
|
434
|
+
*/
|
|
435
|
+
_listBillingMetersNext(nextLink, options) {
|
|
436
|
+
return this.sendOperationRequest({ nextLink, options }, listBillingMetersNextOperationSpec);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* ListGeoRegionsNext
|
|
440
|
+
* @param nextLink The nextLink from the previous successful call to the ListGeoRegions method.
|
|
441
|
+
* @param options The options parameters.
|
|
442
|
+
*/
|
|
443
|
+
_listGeoRegionsNext(nextLink, options) {
|
|
444
|
+
return this.sendOperationRequest({ nextLink, options }, listGeoRegionsNextOperationSpec);
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* ListSiteIdentifiersAssignedToHostNameNext
|
|
448
|
+
* @param nameIdentifier Hostname information.
|
|
449
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
450
|
+
* ListSiteIdentifiersAssignedToHostName method.
|
|
451
|
+
* @param options The options parameters.
|
|
452
|
+
*/
|
|
453
|
+
_listSiteIdentifiersAssignedToHostNameNext(nameIdentifier, nextLink, options) {
|
|
454
|
+
return this.sendOperationRequest({ nameIdentifier, nextLink, options }, listSiteIdentifiersAssignedToHostNameNextOperationSpec);
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* ListPremierAddOnOffersNext
|
|
458
|
+
* @param nextLink The nextLink from the previous successful call to the ListPremierAddOnOffers method.
|
|
459
|
+
* @param options The options parameters.
|
|
460
|
+
*/
|
|
461
|
+
_listPremierAddOnOffersNext(nextLink, options) {
|
|
462
|
+
return this.sendOperationRequest({ nextLink, options }, listPremierAddOnOffersNextOperationSpec);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
// Operation Specifications
|
|
466
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
467
|
+
const generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec = {
|
|
468
|
+
path: "/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI",
|
|
469
|
+
httpMethod: "POST",
|
|
470
|
+
responses: {
|
|
471
|
+
200: {
|
|
472
|
+
bodyMapper: Mappers.AppserviceGithubToken
|
|
473
|
+
},
|
|
474
|
+
default: {
|
|
475
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
requestBody: {
|
|
479
|
+
parameterPath: { code: ["code"], state: ["state"] },
|
|
480
|
+
mapper: Object.assign(Object.assign({}, Mappers.AppserviceGithubTokenRequest), { required: true })
|
|
481
|
+
},
|
|
482
|
+
queryParameters: [Parameters.apiVersion],
|
|
483
|
+
urlParameters: [Parameters.$host],
|
|
484
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
485
|
+
mediaType: "json",
|
|
486
|
+
serializer
|
|
487
|
+
};
|
|
488
|
+
const getPublishingUserOperationSpec = {
|
|
489
|
+
path: "/providers/Microsoft.Web/publishingUsers/web",
|
|
490
|
+
httpMethod: "GET",
|
|
491
|
+
responses: {
|
|
492
|
+
200: {
|
|
493
|
+
bodyMapper: Mappers.User
|
|
494
|
+
},
|
|
495
|
+
default: {
|
|
496
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
queryParameters: [Parameters.apiVersion],
|
|
500
|
+
urlParameters: [Parameters.$host],
|
|
501
|
+
headerParameters: [Parameters.accept],
|
|
502
|
+
serializer
|
|
503
|
+
};
|
|
504
|
+
const updatePublishingUserOperationSpec = {
|
|
505
|
+
path: "/providers/Microsoft.Web/publishingUsers/web",
|
|
506
|
+
httpMethod: "PUT",
|
|
507
|
+
responses: {
|
|
508
|
+
200: {
|
|
509
|
+
bodyMapper: Mappers.User
|
|
510
|
+
},
|
|
511
|
+
default: {
|
|
512
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
requestBody: Parameters.userDetails,
|
|
516
|
+
queryParameters: [Parameters.apiVersion],
|
|
517
|
+
urlParameters: [Parameters.$host],
|
|
518
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
519
|
+
mediaType: "json",
|
|
520
|
+
serializer
|
|
521
|
+
};
|
|
522
|
+
const listSourceControlsOperationSpec = {
|
|
523
|
+
path: "/providers/Microsoft.Web/sourcecontrols",
|
|
524
|
+
httpMethod: "GET",
|
|
525
|
+
responses: {
|
|
526
|
+
200: {
|
|
527
|
+
bodyMapper: Mappers.SourceControlCollection
|
|
528
|
+
},
|
|
529
|
+
default: {
|
|
530
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
queryParameters: [Parameters.apiVersion],
|
|
534
|
+
urlParameters: [Parameters.$host],
|
|
535
|
+
headerParameters: [Parameters.accept],
|
|
536
|
+
serializer
|
|
537
|
+
};
|
|
538
|
+
const getSourceControlOperationSpec = {
|
|
539
|
+
path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}",
|
|
540
|
+
httpMethod: "GET",
|
|
541
|
+
responses: {
|
|
542
|
+
200: {
|
|
543
|
+
bodyMapper: Mappers.SourceControl
|
|
544
|
+
},
|
|
545
|
+
default: {
|
|
546
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
queryParameters: [Parameters.apiVersion],
|
|
550
|
+
urlParameters: [Parameters.$host, Parameters.sourceControlType],
|
|
551
|
+
headerParameters: [Parameters.accept],
|
|
552
|
+
serializer
|
|
553
|
+
};
|
|
554
|
+
const updateSourceControlOperationSpec = {
|
|
555
|
+
path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}",
|
|
556
|
+
httpMethod: "PUT",
|
|
557
|
+
responses: {
|
|
558
|
+
200: {
|
|
559
|
+
bodyMapper: Mappers.SourceControl
|
|
560
|
+
},
|
|
561
|
+
default: {
|
|
562
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
requestBody: Parameters.requestMessage,
|
|
566
|
+
queryParameters: [Parameters.apiVersion],
|
|
567
|
+
urlParameters: [Parameters.$host, Parameters.sourceControlType],
|
|
568
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
569
|
+
mediaType: "json",
|
|
570
|
+
serializer
|
|
571
|
+
};
|
|
572
|
+
const listBillingMetersOperationSpec = {
|
|
573
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters",
|
|
574
|
+
httpMethod: "GET",
|
|
575
|
+
responses: {
|
|
576
|
+
200: {
|
|
577
|
+
bodyMapper: Mappers.BillingMeterCollection
|
|
578
|
+
},
|
|
579
|
+
default: {
|
|
580
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
queryParameters: [
|
|
584
|
+
Parameters.apiVersion,
|
|
585
|
+
Parameters.billingLocation,
|
|
586
|
+
Parameters.osType
|
|
587
|
+
],
|
|
588
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
589
|
+
headerParameters: [Parameters.accept],
|
|
590
|
+
serializer
|
|
591
|
+
};
|
|
592
|
+
const checkNameAvailabilityOperationSpec = {
|
|
593
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability",
|
|
594
|
+
httpMethod: "POST",
|
|
595
|
+
responses: {
|
|
596
|
+
200: {
|
|
597
|
+
bodyMapper: Mappers.ResourceNameAvailability
|
|
598
|
+
},
|
|
599
|
+
default: {
|
|
600
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
requestBody: {
|
|
604
|
+
parameterPath: {
|
|
605
|
+
name: ["name"],
|
|
606
|
+
typeParam: ["typeParam"],
|
|
607
|
+
isFqdn: ["options", "isFqdn"]
|
|
608
|
+
},
|
|
609
|
+
mapper: Object.assign(Object.assign({}, Mappers.ResourceNameAvailabilityRequest), { required: true })
|
|
610
|
+
},
|
|
611
|
+
queryParameters: [Parameters.apiVersion],
|
|
612
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
613
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
614
|
+
mediaType: "json",
|
|
615
|
+
serializer
|
|
616
|
+
};
|
|
617
|
+
const getSubscriptionDeploymentLocationsOperationSpec = {
|
|
618
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations",
|
|
619
|
+
httpMethod: "GET",
|
|
620
|
+
responses: {
|
|
621
|
+
200: {
|
|
622
|
+
bodyMapper: Mappers.DeploymentLocations
|
|
623
|
+
},
|
|
624
|
+
default: {
|
|
625
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
queryParameters: [Parameters.apiVersion],
|
|
629
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
630
|
+
headerParameters: [Parameters.accept],
|
|
631
|
+
serializer
|
|
632
|
+
};
|
|
633
|
+
const listGeoRegionsOperationSpec = {
|
|
634
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions",
|
|
635
|
+
httpMethod: "GET",
|
|
636
|
+
responses: {
|
|
637
|
+
200: {
|
|
638
|
+
bodyMapper: Mappers.GeoRegionCollection
|
|
639
|
+
},
|
|
640
|
+
default: {
|
|
641
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
queryParameters: [
|
|
645
|
+
Parameters.apiVersion,
|
|
646
|
+
Parameters.sku,
|
|
647
|
+
Parameters.linuxWorkersEnabled,
|
|
648
|
+
Parameters.xenonWorkersEnabled,
|
|
649
|
+
Parameters.linuxDynamicWorkersEnabled
|
|
650
|
+
],
|
|
651
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
652
|
+
headerParameters: [Parameters.accept],
|
|
653
|
+
serializer
|
|
654
|
+
};
|
|
655
|
+
const listSiteIdentifiersAssignedToHostNameOperationSpec = {
|
|
656
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName",
|
|
657
|
+
httpMethod: "POST",
|
|
658
|
+
responses: {
|
|
659
|
+
200: {
|
|
660
|
+
bodyMapper: Mappers.IdentifierCollection
|
|
661
|
+
},
|
|
662
|
+
default: {
|
|
663
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
requestBody: Parameters.nameIdentifier,
|
|
667
|
+
queryParameters: [Parameters.apiVersion],
|
|
668
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
669
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
670
|
+
mediaType: "json",
|
|
671
|
+
serializer
|
|
672
|
+
};
|
|
673
|
+
const listPremierAddOnOffersOperationSpec = {
|
|
674
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers",
|
|
675
|
+
httpMethod: "GET",
|
|
676
|
+
responses: {
|
|
677
|
+
200: {
|
|
678
|
+
bodyMapper: Mappers.PremierAddOnOfferCollection
|
|
679
|
+
},
|
|
680
|
+
default: {
|
|
681
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
queryParameters: [Parameters.apiVersion],
|
|
685
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
686
|
+
headerParameters: [Parameters.accept],
|
|
687
|
+
serializer
|
|
688
|
+
};
|
|
689
|
+
const listSkusOperationSpec = {
|
|
690
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus",
|
|
691
|
+
httpMethod: "GET",
|
|
692
|
+
responses: {
|
|
693
|
+
200: {
|
|
694
|
+
bodyMapper: Mappers.SkuInfos
|
|
695
|
+
},
|
|
696
|
+
default: {
|
|
697
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
queryParameters: [Parameters.apiVersion],
|
|
701
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
702
|
+
headerParameters: [Parameters.accept],
|
|
703
|
+
serializer
|
|
704
|
+
};
|
|
705
|
+
const verifyHostingEnvironmentVnetOperationSpec = {
|
|
706
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet",
|
|
707
|
+
httpMethod: "POST",
|
|
708
|
+
responses: {
|
|
709
|
+
200: {
|
|
710
|
+
bodyMapper: Mappers.VnetValidationFailureDetails
|
|
711
|
+
},
|
|
712
|
+
default: {
|
|
713
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
requestBody: Parameters.parameters1,
|
|
717
|
+
queryParameters: [Parameters.apiVersion],
|
|
718
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
719
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
720
|
+
mediaType: "json",
|
|
721
|
+
serializer
|
|
722
|
+
};
|
|
723
|
+
const moveOperationSpec = {
|
|
724
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources",
|
|
725
|
+
httpMethod: "POST",
|
|
726
|
+
responses: {
|
|
727
|
+
204: {},
|
|
728
|
+
default: {
|
|
729
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
requestBody: Parameters.moveResourceEnvelope,
|
|
733
|
+
queryParameters: [Parameters.apiVersion],
|
|
734
|
+
urlParameters: [
|
|
735
|
+
Parameters.$host,
|
|
736
|
+
Parameters.subscriptionId,
|
|
737
|
+
Parameters.resourceGroupName
|
|
738
|
+
],
|
|
739
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
740
|
+
mediaType: "json",
|
|
741
|
+
serializer
|
|
742
|
+
};
|
|
743
|
+
const validateOperationSpec = {
|
|
744
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate",
|
|
745
|
+
httpMethod: "POST",
|
|
746
|
+
responses: {
|
|
747
|
+
200: {
|
|
748
|
+
bodyMapper: Mappers.ValidateResponse
|
|
749
|
+
},
|
|
750
|
+
default: {
|
|
751
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
requestBody: Parameters.validateRequest,
|
|
755
|
+
queryParameters: [Parameters.apiVersion],
|
|
756
|
+
urlParameters: [
|
|
757
|
+
Parameters.$host,
|
|
758
|
+
Parameters.subscriptionId,
|
|
759
|
+
Parameters.resourceGroupName
|
|
760
|
+
],
|
|
761
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
762
|
+
mediaType: "json",
|
|
763
|
+
serializer
|
|
764
|
+
};
|
|
765
|
+
const validateMoveOperationSpec = {
|
|
766
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources",
|
|
767
|
+
httpMethod: "POST",
|
|
768
|
+
responses: {
|
|
769
|
+
204: {},
|
|
770
|
+
default: {
|
|
771
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
requestBody: Parameters.moveResourceEnvelope,
|
|
775
|
+
queryParameters: [Parameters.apiVersion],
|
|
776
|
+
urlParameters: [
|
|
777
|
+
Parameters.$host,
|
|
778
|
+
Parameters.subscriptionId,
|
|
779
|
+
Parameters.resourceGroupName
|
|
780
|
+
],
|
|
781
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
782
|
+
mediaType: "json",
|
|
783
|
+
serializer
|
|
784
|
+
};
|
|
785
|
+
const listSourceControlsNextOperationSpec = {
|
|
786
|
+
path: "{nextLink}",
|
|
787
|
+
httpMethod: "GET",
|
|
788
|
+
responses: {
|
|
789
|
+
200: {
|
|
790
|
+
bodyMapper: Mappers.SourceControlCollection
|
|
791
|
+
},
|
|
792
|
+
default: {
|
|
793
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
queryParameters: [Parameters.apiVersion],
|
|
797
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
798
|
+
headerParameters: [Parameters.accept],
|
|
799
|
+
serializer
|
|
800
|
+
};
|
|
801
|
+
const listBillingMetersNextOperationSpec = {
|
|
802
|
+
path: "{nextLink}",
|
|
803
|
+
httpMethod: "GET",
|
|
804
|
+
responses: {
|
|
805
|
+
200: {
|
|
806
|
+
bodyMapper: Mappers.BillingMeterCollection
|
|
807
|
+
},
|
|
808
|
+
default: {
|
|
809
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
queryParameters: [
|
|
813
|
+
Parameters.apiVersion,
|
|
814
|
+
Parameters.billingLocation,
|
|
815
|
+
Parameters.osType
|
|
816
|
+
],
|
|
817
|
+
urlParameters: [
|
|
818
|
+
Parameters.$host,
|
|
819
|
+
Parameters.subscriptionId,
|
|
820
|
+
Parameters.nextLink
|
|
821
|
+
],
|
|
822
|
+
headerParameters: [Parameters.accept],
|
|
823
|
+
serializer
|
|
824
|
+
};
|
|
825
|
+
const listGeoRegionsNextOperationSpec = {
|
|
826
|
+
path: "{nextLink}",
|
|
827
|
+
httpMethod: "GET",
|
|
828
|
+
responses: {
|
|
829
|
+
200: {
|
|
830
|
+
bodyMapper: Mappers.GeoRegionCollection
|
|
831
|
+
},
|
|
832
|
+
default: {
|
|
833
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
queryParameters: [
|
|
837
|
+
Parameters.apiVersion,
|
|
838
|
+
Parameters.sku,
|
|
839
|
+
Parameters.linuxWorkersEnabled,
|
|
840
|
+
Parameters.xenonWorkersEnabled,
|
|
841
|
+
Parameters.linuxDynamicWorkersEnabled
|
|
842
|
+
],
|
|
843
|
+
urlParameters: [
|
|
844
|
+
Parameters.$host,
|
|
845
|
+
Parameters.subscriptionId,
|
|
846
|
+
Parameters.nextLink
|
|
847
|
+
],
|
|
848
|
+
headerParameters: [Parameters.accept],
|
|
849
|
+
serializer
|
|
850
|
+
};
|
|
851
|
+
const listSiteIdentifiersAssignedToHostNameNextOperationSpec = {
|
|
852
|
+
path: "{nextLink}",
|
|
853
|
+
httpMethod: "GET",
|
|
854
|
+
responses: {
|
|
855
|
+
200: {
|
|
856
|
+
bodyMapper: Mappers.IdentifierCollection
|
|
857
|
+
},
|
|
858
|
+
default: {
|
|
859
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
queryParameters: [Parameters.apiVersion],
|
|
863
|
+
urlParameters: [
|
|
864
|
+
Parameters.$host,
|
|
865
|
+
Parameters.subscriptionId,
|
|
866
|
+
Parameters.nextLink
|
|
867
|
+
],
|
|
868
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
869
|
+
mediaType: "json",
|
|
870
|
+
serializer
|
|
871
|
+
};
|
|
872
|
+
const listPremierAddOnOffersNextOperationSpec = {
|
|
873
|
+
path: "{nextLink}",
|
|
874
|
+
httpMethod: "GET",
|
|
875
|
+
responses: {
|
|
876
|
+
200: {
|
|
877
|
+
bodyMapper: Mappers.PremierAddOnOfferCollection
|
|
878
|
+
},
|
|
879
|
+
default: {
|
|
880
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
queryParameters: [Parameters.apiVersion],
|
|
884
|
+
urlParameters: [
|
|
885
|
+
Parameters.$host,
|
|
886
|
+
Parameters.subscriptionId,
|
|
887
|
+
Parameters.nextLink
|
|
888
|
+
],
|
|
889
|
+
headerParameters: [Parameters.accept],
|
|
890
|
+
serializer
|
|
891
|
+
};
|
|
892
|
+
//# sourceMappingURL=webSiteManagementClient.js.map
|