@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,829 @@
|
|
|
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
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { Provider } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { WebSiteManagementClientContext } from "../webSiteManagementClientContext";
|
|
16
|
+
import {
|
|
17
|
+
ApplicationStackResource,
|
|
18
|
+
ProviderGetAvailableStacksNextOptionalParams,
|
|
19
|
+
ProviderGetAvailableStacksOptionalParams,
|
|
20
|
+
FunctionAppStack,
|
|
21
|
+
ProviderGetFunctionAppStacksNextOptionalParams,
|
|
22
|
+
ProviderGetFunctionAppStacksOptionalParams,
|
|
23
|
+
ProviderGetFunctionAppStacksForLocationNextOptionalParams,
|
|
24
|
+
ProviderGetFunctionAppStacksForLocationOptionalParams,
|
|
25
|
+
WebAppStack,
|
|
26
|
+
ProviderGetWebAppStacksForLocationNextOptionalParams,
|
|
27
|
+
ProviderGetWebAppStacksForLocationOptionalParams,
|
|
28
|
+
CsmOperationDescription,
|
|
29
|
+
ProviderListOperationsNextOptionalParams,
|
|
30
|
+
ProviderListOperationsOptionalParams,
|
|
31
|
+
ProviderGetWebAppStacksNextOptionalParams,
|
|
32
|
+
ProviderGetWebAppStacksOptionalParams,
|
|
33
|
+
ProviderGetAvailableStacksOnPremNextOptionalParams,
|
|
34
|
+
ProviderGetAvailableStacksOnPremOptionalParams,
|
|
35
|
+
ProviderGetAvailableStacksResponse,
|
|
36
|
+
ProviderGetFunctionAppStacksResponse,
|
|
37
|
+
ProviderGetFunctionAppStacksForLocationResponse,
|
|
38
|
+
ProviderGetWebAppStacksForLocationResponse,
|
|
39
|
+
ProviderListOperationsResponse,
|
|
40
|
+
ProviderGetWebAppStacksResponse,
|
|
41
|
+
ProviderGetAvailableStacksOnPremResponse,
|
|
42
|
+
ProviderGetAvailableStacksNextResponse,
|
|
43
|
+
ProviderGetFunctionAppStacksNextResponse,
|
|
44
|
+
ProviderGetFunctionAppStacksForLocationNextResponse,
|
|
45
|
+
ProviderGetWebAppStacksForLocationNextResponse,
|
|
46
|
+
ProviderListOperationsNextResponse,
|
|
47
|
+
ProviderGetWebAppStacksNextResponse,
|
|
48
|
+
ProviderGetAvailableStacksOnPremNextResponse
|
|
49
|
+
} from "../models";
|
|
50
|
+
|
|
51
|
+
/// <reference lib="esnext.asynciterable" />
|
|
52
|
+
/** Class representing a Provider. */
|
|
53
|
+
export class ProviderImpl implements Provider {
|
|
54
|
+
private readonly client: WebSiteManagementClientContext;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Initialize a new instance of the class Provider class.
|
|
58
|
+
* @param client Reference to the service client
|
|
59
|
+
*/
|
|
60
|
+
constructor(client: WebSiteManagementClientContext) {
|
|
61
|
+
this.client = client;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Description for Get available application frameworks and their versions
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
public listAvailableStacks(
|
|
69
|
+
options?: ProviderGetAvailableStacksOptionalParams
|
|
70
|
+
): PagedAsyncIterableIterator<ApplicationStackResource> {
|
|
71
|
+
const iter = this.getAvailableStacksPagingAll(options);
|
|
72
|
+
return {
|
|
73
|
+
next() {
|
|
74
|
+
return iter.next();
|
|
75
|
+
},
|
|
76
|
+
[Symbol.asyncIterator]() {
|
|
77
|
+
return this;
|
|
78
|
+
},
|
|
79
|
+
byPage: () => {
|
|
80
|
+
return this.getAvailableStacksPagingPage(options);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private async *getAvailableStacksPagingPage(
|
|
86
|
+
options?: ProviderGetAvailableStacksOptionalParams
|
|
87
|
+
): AsyncIterableIterator<ApplicationStackResource[]> {
|
|
88
|
+
let result = await this._getAvailableStacks(options);
|
|
89
|
+
yield result.value || [];
|
|
90
|
+
let continuationToken = result.nextLink;
|
|
91
|
+
while (continuationToken) {
|
|
92
|
+
result = await this._getAvailableStacksNext(continuationToken, options);
|
|
93
|
+
continuationToken = result.nextLink;
|
|
94
|
+
yield result.value || [];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private async *getAvailableStacksPagingAll(
|
|
99
|
+
options?: ProviderGetAvailableStacksOptionalParams
|
|
100
|
+
): AsyncIterableIterator<ApplicationStackResource> {
|
|
101
|
+
for await (const page of this.getAvailableStacksPagingPage(options)) {
|
|
102
|
+
yield* page;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Description for Get available Function app frameworks and their versions
|
|
108
|
+
* @param options The options parameters.
|
|
109
|
+
*/
|
|
110
|
+
public listFunctionAppStacks(
|
|
111
|
+
options?: ProviderGetFunctionAppStacksOptionalParams
|
|
112
|
+
): PagedAsyncIterableIterator<FunctionAppStack> {
|
|
113
|
+
const iter = this.getFunctionAppStacksPagingAll(options);
|
|
114
|
+
return {
|
|
115
|
+
next() {
|
|
116
|
+
return iter.next();
|
|
117
|
+
},
|
|
118
|
+
[Symbol.asyncIterator]() {
|
|
119
|
+
return this;
|
|
120
|
+
},
|
|
121
|
+
byPage: () => {
|
|
122
|
+
return this.getFunctionAppStacksPagingPage(options);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
private async *getFunctionAppStacksPagingPage(
|
|
128
|
+
options?: ProviderGetFunctionAppStacksOptionalParams
|
|
129
|
+
): AsyncIterableIterator<FunctionAppStack[]> {
|
|
130
|
+
let result = await this._getFunctionAppStacks(options);
|
|
131
|
+
yield result.value || [];
|
|
132
|
+
let continuationToken = result.nextLink;
|
|
133
|
+
while (continuationToken) {
|
|
134
|
+
result = await this._getFunctionAppStacksNext(continuationToken, options);
|
|
135
|
+
continuationToken = result.nextLink;
|
|
136
|
+
yield result.value || [];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
private async *getFunctionAppStacksPagingAll(
|
|
141
|
+
options?: ProviderGetFunctionAppStacksOptionalParams
|
|
142
|
+
): AsyncIterableIterator<FunctionAppStack> {
|
|
143
|
+
for await (const page of this.getFunctionAppStacksPagingPage(options)) {
|
|
144
|
+
yield* page;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Description for Get available Function app frameworks and their versions for location
|
|
150
|
+
* @param location Function App stack location.
|
|
151
|
+
* @param options The options parameters.
|
|
152
|
+
*/
|
|
153
|
+
public listFunctionAppStacksForLocation(
|
|
154
|
+
location: string,
|
|
155
|
+
options?: ProviderGetFunctionAppStacksForLocationOptionalParams
|
|
156
|
+
): PagedAsyncIterableIterator<FunctionAppStack> {
|
|
157
|
+
const iter = this.getFunctionAppStacksForLocationPagingAll(
|
|
158
|
+
location,
|
|
159
|
+
options
|
|
160
|
+
);
|
|
161
|
+
return {
|
|
162
|
+
next() {
|
|
163
|
+
return iter.next();
|
|
164
|
+
},
|
|
165
|
+
[Symbol.asyncIterator]() {
|
|
166
|
+
return this;
|
|
167
|
+
},
|
|
168
|
+
byPage: () => {
|
|
169
|
+
return this.getFunctionAppStacksForLocationPagingPage(
|
|
170
|
+
location,
|
|
171
|
+
options
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
private async *getFunctionAppStacksForLocationPagingPage(
|
|
178
|
+
location: string,
|
|
179
|
+
options?: ProviderGetFunctionAppStacksForLocationOptionalParams
|
|
180
|
+
): AsyncIterableIterator<FunctionAppStack[]> {
|
|
181
|
+
let result = await this._getFunctionAppStacksForLocation(location, options);
|
|
182
|
+
yield result.value || [];
|
|
183
|
+
let continuationToken = result.nextLink;
|
|
184
|
+
while (continuationToken) {
|
|
185
|
+
result = await this._getFunctionAppStacksForLocationNext(
|
|
186
|
+
location,
|
|
187
|
+
continuationToken,
|
|
188
|
+
options
|
|
189
|
+
);
|
|
190
|
+
continuationToken = result.nextLink;
|
|
191
|
+
yield result.value || [];
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
private async *getFunctionAppStacksForLocationPagingAll(
|
|
196
|
+
location: string,
|
|
197
|
+
options?: ProviderGetFunctionAppStacksForLocationOptionalParams
|
|
198
|
+
): AsyncIterableIterator<FunctionAppStack> {
|
|
199
|
+
for await (const page of this.getFunctionAppStacksForLocationPagingPage(
|
|
200
|
+
location,
|
|
201
|
+
options
|
|
202
|
+
)) {
|
|
203
|
+
yield* page;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Description for Get available Web app frameworks and their versions for location
|
|
209
|
+
* @param location Web App stack location.
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
public listWebAppStacksForLocation(
|
|
213
|
+
location: string,
|
|
214
|
+
options?: ProviderGetWebAppStacksForLocationOptionalParams
|
|
215
|
+
): PagedAsyncIterableIterator<WebAppStack> {
|
|
216
|
+
const iter = this.getWebAppStacksForLocationPagingAll(location, options);
|
|
217
|
+
return {
|
|
218
|
+
next() {
|
|
219
|
+
return iter.next();
|
|
220
|
+
},
|
|
221
|
+
[Symbol.asyncIterator]() {
|
|
222
|
+
return this;
|
|
223
|
+
},
|
|
224
|
+
byPage: () => {
|
|
225
|
+
return this.getWebAppStacksForLocationPagingPage(location, options);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
private async *getWebAppStacksForLocationPagingPage(
|
|
231
|
+
location: string,
|
|
232
|
+
options?: ProviderGetWebAppStacksForLocationOptionalParams
|
|
233
|
+
): AsyncIterableIterator<WebAppStack[]> {
|
|
234
|
+
let result = await this._getWebAppStacksForLocation(location, options);
|
|
235
|
+
yield result.value || [];
|
|
236
|
+
let continuationToken = result.nextLink;
|
|
237
|
+
while (continuationToken) {
|
|
238
|
+
result = await this._getWebAppStacksForLocationNext(
|
|
239
|
+
location,
|
|
240
|
+
continuationToken,
|
|
241
|
+
options
|
|
242
|
+
);
|
|
243
|
+
continuationToken = result.nextLink;
|
|
244
|
+
yield result.value || [];
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
private async *getWebAppStacksForLocationPagingAll(
|
|
249
|
+
location: string,
|
|
250
|
+
options?: ProviderGetWebAppStacksForLocationOptionalParams
|
|
251
|
+
): AsyncIterableIterator<WebAppStack> {
|
|
252
|
+
for await (const page of this.getWebAppStacksForLocationPagingPage(
|
|
253
|
+
location,
|
|
254
|
+
options
|
|
255
|
+
)) {
|
|
256
|
+
yield* page;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
|
|
262
|
+
* resource metric definitions
|
|
263
|
+
* @param options The options parameters.
|
|
264
|
+
*/
|
|
265
|
+
public listOperations(
|
|
266
|
+
options?: ProviderListOperationsOptionalParams
|
|
267
|
+
): PagedAsyncIterableIterator<CsmOperationDescription> {
|
|
268
|
+
const iter = this.listOperationsPagingAll(options);
|
|
269
|
+
return {
|
|
270
|
+
next() {
|
|
271
|
+
return iter.next();
|
|
272
|
+
},
|
|
273
|
+
[Symbol.asyncIterator]() {
|
|
274
|
+
return this;
|
|
275
|
+
},
|
|
276
|
+
byPage: () => {
|
|
277
|
+
return this.listOperationsPagingPage(options);
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
private async *listOperationsPagingPage(
|
|
283
|
+
options?: ProviderListOperationsOptionalParams
|
|
284
|
+
): AsyncIterableIterator<CsmOperationDescription[]> {
|
|
285
|
+
let result = await this._listOperations(options);
|
|
286
|
+
yield result.value || [];
|
|
287
|
+
let continuationToken = result.nextLink;
|
|
288
|
+
while (continuationToken) {
|
|
289
|
+
result = await this._listOperationsNext(continuationToken, options);
|
|
290
|
+
continuationToken = result.nextLink;
|
|
291
|
+
yield result.value || [];
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
private async *listOperationsPagingAll(
|
|
296
|
+
options?: ProviderListOperationsOptionalParams
|
|
297
|
+
): AsyncIterableIterator<CsmOperationDescription> {
|
|
298
|
+
for await (const page of this.listOperationsPagingPage(options)) {
|
|
299
|
+
yield* page;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Description for Get available Web app frameworks and their versions
|
|
305
|
+
* @param options The options parameters.
|
|
306
|
+
*/
|
|
307
|
+
public listWebAppStacks(
|
|
308
|
+
options?: ProviderGetWebAppStacksOptionalParams
|
|
309
|
+
): PagedAsyncIterableIterator<WebAppStack> {
|
|
310
|
+
const iter = this.getWebAppStacksPagingAll(options);
|
|
311
|
+
return {
|
|
312
|
+
next() {
|
|
313
|
+
return iter.next();
|
|
314
|
+
},
|
|
315
|
+
[Symbol.asyncIterator]() {
|
|
316
|
+
return this;
|
|
317
|
+
},
|
|
318
|
+
byPage: () => {
|
|
319
|
+
return this.getWebAppStacksPagingPage(options);
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
private async *getWebAppStacksPagingPage(
|
|
325
|
+
options?: ProviderGetWebAppStacksOptionalParams
|
|
326
|
+
): AsyncIterableIterator<WebAppStack[]> {
|
|
327
|
+
let result = await this._getWebAppStacks(options);
|
|
328
|
+
yield result.value || [];
|
|
329
|
+
let continuationToken = result.nextLink;
|
|
330
|
+
while (continuationToken) {
|
|
331
|
+
result = await this._getWebAppStacksNext(continuationToken, options);
|
|
332
|
+
continuationToken = result.nextLink;
|
|
333
|
+
yield result.value || [];
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
private async *getWebAppStacksPagingAll(
|
|
338
|
+
options?: ProviderGetWebAppStacksOptionalParams
|
|
339
|
+
): AsyncIterableIterator<WebAppStack> {
|
|
340
|
+
for await (const page of this.getWebAppStacksPagingPage(options)) {
|
|
341
|
+
yield* page;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Description for Get available application frameworks and their versions
|
|
347
|
+
* @param options The options parameters.
|
|
348
|
+
*/
|
|
349
|
+
public listAvailableStacksOnPrem(
|
|
350
|
+
options?: ProviderGetAvailableStacksOnPremOptionalParams
|
|
351
|
+
): PagedAsyncIterableIterator<ApplicationStackResource> {
|
|
352
|
+
const iter = this.getAvailableStacksOnPremPagingAll(options);
|
|
353
|
+
return {
|
|
354
|
+
next() {
|
|
355
|
+
return iter.next();
|
|
356
|
+
},
|
|
357
|
+
[Symbol.asyncIterator]() {
|
|
358
|
+
return this;
|
|
359
|
+
},
|
|
360
|
+
byPage: () => {
|
|
361
|
+
return this.getAvailableStacksOnPremPagingPage(options);
|
|
362
|
+
}
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
private async *getAvailableStacksOnPremPagingPage(
|
|
367
|
+
options?: ProviderGetAvailableStacksOnPremOptionalParams
|
|
368
|
+
): AsyncIterableIterator<ApplicationStackResource[]> {
|
|
369
|
+
let result = await this._getAvailableStacksOnPrem(options);
|
|
370
|
+
yield result.value || [];
|
|
371
|
+
let continuationToken = result.nextLink;
|
|
372
|
+
while (continuationToken) {
|
|
373
|
+
result = await this._getAvailableStacksOnPremNext(
|
|
374
|
+
continuationToken,
|
|
375
|
+
options
|
|
376
|
+
);
|
|
377
|
+
continuationToken = result.nextLink;
|
|
378
|
+
yield result.value || [];
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
private async *getAvailableStacksOnPremPagingAll(
|
|
383
|
+
options?: ProviderGetAvailableStacksOnPremOptionalParams
|
|
384
|
+
): AsyncIterableIterator<ApplicationStackResource> {
|
|
385
|
+
for await (const page of this.getAvailableStacksOnPremPagingPage(options)) {
|
|
386
|
+
yield* page;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Description for Get available application frameworks and their versions
|
|
392
|
+
* @param options The options parameters.
|
|
393
|
+
*/
|
|
394
|
+
private _getAvailableStacks(
|
|
395
|
+
options?: ProviderGetAvailableStacksOptionalParams
|
|
396
|
+
): Promise<ProviderGetAvailableStacksResponse> {
|
|
397
|
+
return this.client.sendOperationRequest(
|
|
398
|
+
{ options },
|
|
399
|
+
getAvailableStacksOperationSpec
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Description for Get available Function app frameworks and their versions
|
|
405
|
+
* @param options The options parameters.
|
|
406
|
+
*/
|
|
407
|
+
private _getFunctionAppStacks(
|
|
408
|
+
options?: ProviderGetFunctionAppStacksOptionalParams
|
|
409
|
+
): Promise<ProviderGetFunctionAppStacksResponse> {
|
|
410
|
+
return this.client.sendOperationRequest(
|
|
411
|
+
{ options },
|
|
412
|
+
getFunctionAppStacksOperationSpec
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Description for Get available Function app frameworks and their versions for location
|
|
418
|
+
* @param location Function App stack location.
|
|
419
|
+
* @param options The options parameters.
|
|
420
|
+
*/
|
|
421
|
+
private _getFunctionAppStacksForLocation(
|
|
422
|
+
location: string,
|
|
423
|
+
options?: ProviderGetFunctionAppStacksForLocationOptionalParams
|
|
424
|
+
): Promise<ProviderGetFunctionAppStacksForLocationResponse> {
|
|
425
|
+
return this.client.sendOperationRequest(
|
|
426
|
+
{ location, options },
|
|
427
|
+
getFunctionAppStacksForLocationOperationSpec
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Description for Get available Web app frameworks and their versions for location
|
|
433
|
+
* @param location Web App stack location.
|
|
434
|
+
* @param options The options parameters.
|
|
435
|
+
*/
|
|
436
|
+
private _getWebAppStacksForLocation(
|
|
437
|
+
location: string,
|
|
438
|
+
options?: ProviderGetWebAppStacksForLocationOptionalParams
|
|
439
|
+
): Promise<ProviderGetWebAppStacksForLocationResponse> {
|
|
440
|
+
return this.client.sendOperationRequest(
|
|
441
|
+
{ location, options },
|
|
442
|
+
getWebAppStacksForLocationOperationSpec
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
|
|
448
|
+
* resource metric definitions
|
|
449
|
+
* @param options The options parameters.
|
|
450
|
+
*/
|
|
451
|
+
private _listOperations(
|
|
452
|
+
options?: ProviderListOperationsOptionalParams
|
|
453
|
+
): Promise<ProviderListOperationsResponse> {
|
|
454
|
+
return this.client.sendOperationRequest(
|
|
455
|
+
{ options },
|
|
456
|
+
listOperationsOperationSpec
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Description for Get available Web app frameworks and their versions
|
|
462
|
+
* @param options The options parameters.
|
|
463
|
+
*/
|
|
464
|
+
private _getWebAppStacks(
|
|
465
|
+
options?: ProviderGetWebAppStacksOptionalParams
|
|
466
|
+
): Promise<ProviderGetWebAppStacksResponse> {
|
|
467
|
+
return this.client.sendOperationRequest(
|
|
468
|
+
{ options },
|
|
469
|
+
getWebAppStacksOperationSpec
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Description for Get available application frameworks and their versions
|
|
475
|
+
* @param options The options parameters.
|
|
476
|
+
*/
|
|
477
|
+
private _getAvailableStacksOnPrem(
|
|
478
|
+
options?: ProviderGetAvailableStacksOnPremOptionalParams
|
|
479
|
+
): Promise<ProviderGetAvailableStacksOnPremResponse> {
|
|
480
|
+
return this.client.sendOperationRequest(
|
|
481
|
+
{ options },
|
|
482
|
+
getAvailableStacksOnPremOperationSpec
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* GetAvailableStacksNext
|
|
488
|
+
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacks method.
|
|
489
|
+
* @param options The options parameters.
|
|
490
|
+
*/
|
|
491
|
+
private _getAvailableStacksNext(
|
|
492
|
+
nextLink: string,
|
|
493
|
+
options?: ProviderGetAvailableStacksNextOptionalParams
|
|
494
|
+
): Promise<ProviderGetAvailableStacksNextResponse> {
|
|
495
|
+
return this.client.sendOperationRequest(
|
|
496
|
+
{ nextLink, options },
|
|
497
|
+
getAvailableStacksNextOperationSpec
|
|
498
|
+
);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* GetFunctionAppStacksNext
|
|
503
|
+
* @param nextLink The nextLink from the previous successful call to the GetFunctionAppStacks method.
|
|
504
|
+
* @param options The options parameters.
|
|
505
|
+
*/
|
|
506
|
+
private _getFunctionAppStacksNext(
|
|
507
|
+
nextLink: string,
|
|
508
|
+
options?: ProviderGetFunctionAppStacksNextOptionalParams
|
|
509
|
+
): Promise<ProviderGetFunctionAppStacksNextResponse> {
|
|
510
|
+
return this.client.sendOperationRequest(
|
|
511
|
+
{ nextLink, options },
|
|
512
|
+
getFunctionAppStacksNextOperationSpec
|
|
513
|
+
);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* GetFunctionAppStacksForLocationNext
|
|
518
|
+
* @param location Function App stack location.
|
|
519
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
520
|
+
* GetFunctionAppStacksForLocation method.
|
|
521
|
+
* @param options The options parameters.
|
|
522
|
+
*/
|
|
523
|
+
private _getFunctionAppStacksForLocationNext(
|
|
524
|
+
location: string,
|
|
525
|
+
nextLink: string,
|
|
526
|
+
options?: ProviderGetFunctionAppStacksForLocationNextOptionalParams
|
|
527
|
+
): Promise<ProviderGetFunctionAppStacksForLocationNextResponse> {
|
|
528
|
+
return this.client.sendOperationRequest(
|
|
529
|
+
{ location, nextLink, options },
|
|
530
|
+
getFunctionAppStacksForLocationNextOperationSpec
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* GetWebAppStacksForLocationNext
|
|
536
|
+
* @param location Web App stack location.
|
|
537
|
+
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacksForLocation
|
|
538
|
+
* method.
|
|
539
|
+
* @param options The options parameters.
|
|
540
|
+
*/
|
|
541
|
+
private _getWebAppStacksForLocationNext(
|
|
542
|
+
location: string,
|
|
543
|
+
nextLink: string,
|
|
544
|
+
options?: ProviderGetWebAppStacksForLocationNextOptionalParams
|
|
545
|
+
): Promise<ProviderGetWebAppStacksForLocationNextResponse> {
|
|
546
|
+
return this.client.sendOperationRequest(
|
|
547
|
+
{ location, nextLink, options },
|
|
548
|
+
getWebAppStacksForLocationNextOperationSpec
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* ListOperationsNext
|
|
554
|
+
* @param nextLink The nextLink from the previous successful call to the ListOperations method.
|
|
555
|
+
* @param options The options parameters.
|
|
556
|
+
*/
|
|
557
|
+
private _listOperationsNext(
|
|
558
|
+
nextLink: string,
|
|
559
|
+
options?: ProviderListOperationsNextOptionalParams
|
|
560
|
+
): Promise<ProviderListOperationsNextResponse> {
|
|
561
|
+
return this.client.sendOperationRequest(
|
|
562
|
+
{ nextLink, options },
|
|
563
|
+
listOperationsNextOperationSpec
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* GetWebAppStacksNext
|
|
569
|
+
* @param nextLink The nextLink from the previous successful call to the GetWebAppStacks method.
|
|
570
|
+
* @param options The options parameters.
|
|
571
|
+
*/
|
|
572
|
+
private _getWebAppStacksNext(
|
|
573
|
+
nextLink: string,
|
|
574
|
+
options?: ProviderGetWebAppStacksNextOptionalParams
|
|
575
|
+
): Promise<ProviderGetWebAppStacksNextResponse> {
|
|
576
|
+
return this.client.sendOperationRequest(
|
|
577
|
+
{ nextLink, options },
|
|
578
|
+
getWebAppStacksNextOperationSpec
|
|
579
|
+
);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* GetAvailableStacksOnPremNext
|
|
584
|
+
* @param nextLink The nextLink from the previous successful call to the GetAvailableStacksOnPrem
|
|
585
|
+
* method.
|
|
586
|
+
* @param options The options parameters.
|
|
587
|
+
*/
|
|
588
|
+
private _getAvailableStacksOnPremNext(
|
|
589
|
+
nextLink: string,
|
|
590
|
+
options?: ProviderGetAvailableStacksOnPremNextOptionalParams
|
|
591
|
+
): Promise<ProviderGetAvailableStacksOnPremNextResponse> {
|
|
592
|
+
return this.client.sendOperationRequest(
|
|
593
|
+
{ nextLink, options },
|
|
594
|
+
getAvailableStacksOnPremNextOperationSpec
|
|
595
|
+
);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
// Operation Specifications
|
|
599
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
600
|
+
|
|
601
|
+
const getAvailableStacksOperationSpec: coreClient.OperationSpec = {
|
|
602
|
+
path: "/providers/Microsoft.Web/availableStacks",
|
|
603
|
+
httpMethod: "GET",
|
|
604
|
+
responses: {
|
|
605
|
+
200: {
|
|
606
|
+
bodyMapper: Mappers.ApplicationStackCollection
|
|
607
|
+
},
|
|
608
|
+
default: {
|
|
609
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected],
|
|
613
|
+
urlParameters: [Parameters.$host],
|
|
614
|
+
headerParameters: [Parameters.accept],
|
|
615
|
+
serializer
|
|
616
|
+
};
|
|
617
|
+
const getFunctionAppStacksOperationSpec: coreClient.OperationSpec = {
|
|
618
|
+
path: "/providers/Microsoft.Web/functionAppStacks",
|
|
619
|
+
httpMethod: "GET",
|
|
620
|
+
responses: {
|
|
621
|
+
200: {
|
|
622
|
+
bodyMapper: Mappers.FunctionAppStackCollection
|
|
623
|
+
},
|
|
624
|
+
default: {
|
|
625
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType],
|
|
629
|
+
urlParameters: [Parameters.$host],
|
|
630
|
+
headerParameters: [Parameters.accept],
|
|
631
|
+
serializer
|
|
632
|
+
};
|
|
633
|
+
const getFunctionAppStacksForLocationOperationSpec: coreClient.OperationSpec = {
|
|
634
|
+
path: "/providers/Microsoft.Web/locations/{location}/functionAppStacks",
|
|
635
|
+
httpMethod: "GET",
|
|
636
|
+
responses: {
|
|
637
|
+
200: {
|
|
638
|
+
bodyMapper: Mappers.FunctionAppStackCollection
|
|
639
|
+
},
|
|
640
|
+
default: {
|
|
641
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType1],
|
|
645
|
+
urlParameters: [Parameters.$host, Parameters.location],
|
|
646
|
+
headerParameters: [Parameters.accept],
|
|
647
|
+
serializer
|
|
648
|
+
};
|
|
649
|
+
const getWebAppStacksForLocationOperationSpec: coreClient.OperationSpec = {
|
|
650
|
+
path: "/providers/Microsoft.Web/locations/{location}/webAppStacks",
|
|
651
|
+
httpMethod: "GET",
|
|
652
|
+
responses: {
|
|
653
|
+
200: {
|
|
654
|
+
bodyMapper: Mappers.WebAppStackCollection
|
|
655
|
+
},
|
|
656
|
+
default: {
|
|
657
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType2],
|
|
661
|
+
urlParameters: [Parameters.$host, Parameters.location],
|
|
662
|
+
headerParameters: [Parameters.accept],
|
|
663
|
+
serializer
|
|
664
|
+
};
|
|
665
|
+
const listOperationsOperationSpec: coreClient.OperationSpec = {
|
|
666
|
+
path: "/providers/Microsoft.Web/operations",
|
|
667
|
+
httpMethod: "GET",
|
|
668
|
+
responses: {
|
|
669
|
+
200: {
|
|
670
|
+
bodyMapper: Mappers.CsmOperationCollection
|
|
671
|
+
},
|
|
672
|
+
default: {
|
|
673
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
queryParameters: [Parameters.apiVersion],
|
|
677
|
+
urlParameters: [Parameters.$host],
|
|
678
|
+
headerParameters: [Parameters.accept],
|
|
679
|
+
serializer
|
|
680
|
+
};
|
|
681
|
+
const getWebAppStacksOperationSpec: coreClient.OperationSpec = {
|
|
682
|
+
path: "/providers/Microsoft.Web/webAppStacks",
|
|
683
|
+
httpMethod: "GET",
|
|
684
|
+
responses: {
|
|
685
|
+
200: {
|
|
686
|
+
bodyMapper: Mappers.WebAppStackCollection
|
|
687
|
+
},
|
|
688
|
+
default: {
|
|
689
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType3],
|
|
693
|
+
urlParameters: [Parameters.$host],
|
|
694
|
+
headerParameters: [Parameters.accept],
|
|
695
|
+
serializer
|
|
696
|
+
};
|
|
697
|
+
const getAvailableStacksOnPremOperationSpec: coreClient.OperationSpec = {
|
|
698
|
+
path:
|
|
699
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks",
|
|
700
|
+
httpMethod: "GET",
|
|
701
|
+
responses: {
|
|
702
|
+
200: {
|
|
703
|
+
bodyMapper: Mappers.ApplicationStackCollection
|
|
704
|
+
},
|
|
705
|
+
default: {
|
|
706
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1],
|
|
710
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
711
|
+
headerParameters: [Parameters.accept],
|
|
712
|
+
serializer
|
|
713
|
+
};
|
|
714
|
+
const getAvailableStacksNextOperationSpec: coreClient.OperationSpec = {
|
|
715
|
+
path: "{nextLink}",
|
|
716
|
+
httpMethod: "GET",
|
|
717
|
+
responses: {
|
|
718
|
+
200: {
|
|
719
|
+
bodyMapper: Mappers.ApplicationStackCollection
|
|
720
|
+
},
|
|
721
|
+
default: {
|
|
722
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected],
|
|
726
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
727
|
+
headerParameters: [Parameters.accept],
|
|
728
|
+
serializer
|
|
729
|
+
};
|
|
730
|
+
const getFunctionAppStacksNextOperationSpec: coreClient.OperationSpec = {
|
|
731
|
+
path: "{nextLink}",
|
|
732
|
+
httpMethod: "GET",
|
|
733
|
+
responses: {
|
|
734
|
+
200: {
|
|
735
|
+
bodyMapper: Mappers.FunctionAppStackCollection
|
|
736
|
+
},
|
|
737
|
+
default: {
|
|
738
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType],
|
|
742
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
743
|
+
headerParameters: [Parameters.accept],
|
|
744
|
+
serializer
|
|
745
|
+
};
|
|
746
|
+
const getFunctionAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = {
|
|
747
|
+
path: "{nextLink}",
|
|
748
|
+
httpMethod: "GET",
|
|
749
|
+
responses: {
|
|
750
|
+
200: {
|
|
751
|
+
bodyMapper: Mappers.FunctionAppStackCollection
|
|
752
|
+
},
|
|
753
|
+
default: {
|
|
754
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType1],
|
|
758
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location],
|
|
759
|
+
headerParameters: [Parameters.accept],
|
|
760
|
+
serializer
|
|
761
|
+
};
|
|
762
|
+
const getWebAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = {
|
|
763
|
+
path: "{nextLink}",
|
|
764
|
+
httpMethod: "GET",
|
|
765
|
+
responses: {
|
|
766
|
+
200: {
|
|
767
|
+
bodyMapper: Mappers.WebAppStackCollection
|
|
768
|
+
},
|
|
769
|
+
default: {
|
|
770
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType2],
|
|
774
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location],
|
|
775
|
+
headerParameters: [Parameters.accept],
|
|
776
|
+
serializer
|
|
777
|
+
};
|
|
778
|
+
const listOperationsNextOperationSpec: coreClient.OperationSpec = {
|
|
779
|
+
path: "{nextLink}",
|
|
780
|
+
httpMethod: "GET",
|
|
781
|
+
responses: {
|
|
782
|
+
200: {
|
|
783
|
+
bodyMapper: Mappers.CsmOperationCollection
|
|
784
|
+
},
|
|
785
|
+
default: {
|
|
786
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
queryParameters: [Parameters.apiVersion],
|
|
790
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
791
|
+
headerParameters: [Parameters.accept],
|
|
792
|
+
serializer
|
|
793
|
+
};
|
|
794
|
+
const getWebAppStacksNextOperationSpec: coreClient.OperationSpec = {
|
|
795
|
+
path: "{nextLink}",
|
|
796
|
+
httpMethod: "GET",
|
|
797
|
+
responses: {
|
|
798
|
+
200: {
|
|
799
|
+
bodyMapper: Mappers.WebAppStackCollection
|
|
800
|
+
},
|
|
801
|
+
default: {
|
|
802
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
queryParameters: [Parameters.apiVersion, Parameters.stackOsType3],
|
|
806
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
807
|
+
headerParameters: [Parameters.accept],
|
|
808
|
+
serializer
|
|
809
|
+
};
|
|
810
|
+
const getAvailableStacksOnPremNextOperationSpec: coreClient.OperationSpec = {
|
|
811
|
+
path: "{nextLink}",
|
|
812
|
+
httpMethod: "GET",
|
|
813
|
+
responses: {
|
|
814
|
+
200: {
|
|
815
|
+
bodyMapper: Mappers.ApplicationStackCollection
|
|
816
|
+
},
|
|
817
|
+
default: {
|
|
818
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1],
|
|
822
|
+
urlParameters: [
|
|
823
|
+
Parameters.$host,
|
|
824
|
+
Parameters.subscriptionId,
|
|
825
|
+
Parameters.nextLink
|
|
826
|
+
],
|
|
827
|
+
headerParameters: [Parameters.accept],
|
|
828
|
+
serializer
|
|
829
|
+
};
|