@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,1177 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as coreAuth from "@azure/core-auth";
|
|
11
|
+
import "@azure/core-paging";
|
|
12
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
13
|
+
import {
|
|
14
|
+
AppServiceCertificateOrdersImpl,
|
|
15
|
+
CertificateOrdersDiagnosticsImpl,
|
|
16
|
+
CertificateRegistrationProviderImpl,
|
|
17
|
+
DomainsImpl,
|
|
18
|
+
TopLevelDomainsImpl,
|
|
19
|
+
DomainRegistrationProviderImpl,
|
|
20
|
+
AppServiceEnvironmentsImpl,
|
|
21
|
+
AppServicePlansImpl,
|
|
22
|
+
CertificatesImpl,
|
|
23
|
+
DeletedWebAppsImpl,
|
|
24
|
+
DiagnosticsImpl,
|
|
25
|
+
GlobalImpl,
|
|
26
|
+
KubeEnvironmentsImpl,
|
|
27
|
+
ProviderImpl,
|
|
28
|
+
RecommendationsImpl,
|
|
29
|
+
ResourceHealthMetadataOperationsImpl,
|
|
30
|
+
StaticSitesImpl,
|
|
31
|
+
WebAppsImpl
|
|
32
|
+
} from "./operations";
|
|
33
|
+
import {
|
|
34
|
+
AppServiceCertificateOrders,
|
|
35
|
+
CertificateOrdersDiagnostics,
|
|
36
|
+
CertificateRegistrationProvider,
|
|
37
|
+
Domains,
|
|
38
|
+
TopLevelDomains,
|
|
39
|
+
DomainRegistrationProvider,
|
|
40
|
+
AppServiceEnvironments,
|
|
41
|
+
AppServicePlans,
|
|
42
|
+
Certificates,
|
|
43
|
+
DeletedWebApps,
|
|
44
|
+
Diagnostics,
|
|
45
|
+
Global,
|
|
46
|
+
KubeEnvironments,
|
|
47
|
+
Provider,
|
|
48
|
+
Recommendations,
|
|
49
|
+
ResourceHealthMetadataOperations,
|
|
50
|
+
StaticSites,
|
|
51
|
+
WebApps
|
|
52
|
+
} from "./operationsInterfaces";
|
|
53
|
+
import * as Parameters from "./models/parameters";
|
|
54
|
+
import * as Mappers from "./models/mappers";
|
|
55
|
+
import { WebSiteManagementClientContext } from "./webSiteManagementClientContext";
|
|
56
|
+
import {
|
|
57
|
+
WebSiteManagementClientOptionalParams,
|
|
58
|
+
SourceControl,
|
|
59
|
+
WebSiteManagementClientListSourceControlsNextOptionalParams,
|
|
60
|
+
WebSiteManagementClientListSourceControlsOptionalParams,
|
|
61
|
+
BillingMeter,
|
|
62
|
+
WebSiteManagementClientListBillingMetersNextOptionalParams,
|
|
63
|
+
WebSiteManagementClientListBillingMetersOptionalParams,
|
|
64
|
+
GeoRegion,
|
|
65
|
+
WebSiteManagementClientListGeoRegionsNextOptionalParams,
|
|
66
|
+
WebSiteManagementClientListGeoRegionsOptionalParams,
|
|
67
|
+
Identifier,
|
|
68
|
+
NameIdentifier,
|
|
69
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameNextOptionalParams,
|
|
70
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams,
|
|
71
|
+
PremierAddOnOffer,
|
|
72
|
+
WebSiteManagementClientListPremierAddOnOffersNextOptionalParams,
|
|
73
|
+
WebSiteManagementClientListPremierAddOnOffersOptionalParams,
|
|
74
|
+
WebSiteManagementClientGenerateGithubAccessTokenForAppserviceCLIAsyncOptionalParams,
|
|
75
|
+
WebSiteManagementClientGenerateGithubAccessTokenForAppserviceCLIAsyncResponse,
|
|
76
|
+
WebSiteManagementClientGetPublishingUserOptionalParams,
|
|
77
|
+
WebSiteManagementClientGetPublishingUserResponse,
|
|
78
|
+
User,
|
|
79
|
+
WebSiteManagementClientUpdatePublishingUserOptionalParams,
|
|
80
|
+
WebSiteManagementClientUpdatePublishingUserResponse,
|
|
81
|
+
WebSiteManagementClientListSourceControlsResponse,
|
|
82
|
+
WebSiteManagementClientGetSourceControlOptionalParams,
|
|
83
|
+
WebSiteManagementClientGetSourceControlResponse,
|
|
84
|
+
WebSiteManagementClientUpdateSourceControlOptionalParams,
|
|
85
|
+
WebSiteManagementClientUpdateSourceControlResponse,
|
|
86
|
+
WebSiteManagementClientListBillingMetersResponse,
|
|
87
|
+
CheckNameResourceTypes,
|
|
88
|
+
WebSiteManagementClientCheckNameAvailabilityOptionalParams,
|
|
89
|
+
WebSiteManagementClientCheckNameAvailabilityResponse,
|
|
90
|
+
WebSiteManagementClientGetSubscriptionDeploymentLocationsOptionalParams,
|
|
91
|
+
WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse,
|
|
92
|
+
WebSiteManagementClientListGeoRegionsResponse,
|
|
93
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse,
|
|
94
|
+
WebSiteManagementClientListPremierAddOnOffersResponse,
|
|
95
|
+
WebSiteManagementClientListSkusOptionalParams,
|
|
96
|
+
WebSiteManagementClientListSkusResponse,
|
|
97
|
+
VnetParameters,
|
|
98
|
+
WebSiteManagementClientVerifyHostingEnvironmentVnetOptionalParams,
|
|
99
|
+
WebSiteManagementClientVerifyHostingEnvironmentVnetResponse,
|
|
100
|
+
CsmMoveResourceEnvelope,
|
|
101
|
+
WebSiteManagementClientMoveOptionalParams,
|
|
102
|
+
ValidateRequest,
|
|
103
|
+
WebSiteManagementClientValidateOptionalParams,
|
|
104
|
+
WebSiteManagementClientValidateResponse,
|
|
105
|
+
WebSiteManagementClientValidateMoveOptionalParams,
|
|
106
|
+
WebSiteManagementClientListSourceControlsNextResponse,
|
|
107
|
+
WebSiteManagementClientListBillingMetersNextResponse,
|
|
108
|
+
WebSiteManagementClientListGeoRegionsNextResponse,
|
|
109
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameNextResponse,
|
|
110
|
+
WebSiteManagementClientListPremierAddOnOffersNextResponse
|
|
111
|
+
} from "./models";
|
|
112
|
+
|
|
113
|
+
/// <reference lib="esnext.asynciterable" />
|
|
114
|
+
export class WebSiteManagementClient extends WebSiteManagementClientContext {
|
|
115
|
+
/**
|
|
116
|
+
* Initializes a new instance of the WebSiteManagementClient class.
|
|
117
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
118
|
+
* @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g.
|
|
119
|
+
* 00000000-0000-0000-0000-000000000000).
|
|
120
|
+
* @param options The parameter options
|
|
121
|
+
*/
|
|
122
|
+
constructor(
|
|
123
|
+
credentials: coreAuth.TokenCredential,
|
|
124
|
+
subscriptionId: string,
|
|
125
|
+
options?: WebSiteManagementClientOptionalParams
|
|
126
|
+
) {
|
|
127
|
+
super(credentials, subscriptionId, options);
|
|
128
|
+
this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl(
|
|
129
|
+
this
|
|
130
|
+
);
|
|
131
|
+
this.certificateOrdersDiagnostics = new CertificateOrdersDiagnosticsImpl(
|
|
132
|
+
this
|
|
133
|
+
);
|
|
134
|
+
this.certificateRegistrationProvider = new CertificateRegistrationProviderImpl(
|
|
135
|
+
this
|
|
136
|
+
);
|
|
137
|
+
this.domains = new DomainsImpl(this);
|
|
138
|
+
this.topLevelDomains = new TopLevelDomainsImpl(this);
|
|
139
|
+
this.domainRegistrationProvider = new DomainRegistrationProviderImpl(this);
|
|
140
|
+
this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this);
|
|
141
|
+
this.appServicePlans = new AppServicePlansImpl(this);
|
|
142
|
+
this.certificates = new CertificatesImpl(this);
|
|
143
|
+
this.deletedWebApps = new DeletedWebAppsImpl(this);
|
|
144
|
+
this.diagnostics = new DiagnosticsImpl(this);
|
|
145
|
+
this.global = new GlobalImpl(this);
|
|
146
|
+
this.kubeEnvironments = new KubeEnvironmentsImpl(this);
|
|
147
|
+
this.provider = new ProviderImpl(this);
|
|
148
|
+
this.recommendations = new RecommendationsImpl(this);
|
|
149
|
+
this.resourceHealthMetadataOperations = new ResourceHealthMetadataOperationsImpl(
|
|
150
|
+
this
|
|
151
|
+
);
|
|
152
|
+
this.staticSites = new StaticSitesImpl(this);
|
|
153
|
+
this.webApps = new WebAppsImpl(this);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Description for Gets the source controls available for Azure websites.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
public listSourceControls(
|
|
161
|
+
options?: WebSiteManagementClientListSourceControlsOptionalParams
|
|
162
|
+
): PagedAsyncIterableIterator<SourceControl> {
|
|
163
|
+
const iter = this.listSourceControlsPagingAll(options);
|
|
164
|
+
return {
|
|
165
|
+
next() {
|
|
166
|
+
return iter.next();
|
|
167
|
+
},
|
|
168
|
+
[Symbol.asyncIterator]() {
|
|
169
|
+
return this;
|
|
170
|
+
},
|
|
171
|
+
byPage: () => {
|
|
172
|
+
return this.listSourceControlsPagingPage(options);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
private async *listSourceControlsPagingPage(
|
|
178
|
+
options?: WebSiteManagementClientListSourceControlsOptionalParams
|
|
179
|
+
): AsyncIterableIterator<SourceControl[]> {
|
|
180
|
+
let result = await this._listSourceControls(options);
|
|
181
|
+
yield result.value || [];
|
|
182
|
+
let continuationToken = result.nextLink;
|
|
183
|
+
while (continuationToken) {
|
|
184
|
+
result = await this._listSourceControlsNext(continuationToken, options);
|
|
185
|
+
continuationToken = result.nextLink;
|
|
186
|
+
yield result.value || [];
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
private async *listSourceControlsPagingAll(
|
|
191
|
+
options?: WebSiteManagementClientListSourceControlsOptionalParams
|
|
192
|
+
): AsyncIterableIterator<SourceControl> {
|
|
193
|
+
for await (const page of this.listSourceControlsPagingPage(options)) {
|
|
194
|
+
yield* page;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Description for Gets a list of meters for a given location.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
public listBillingMeters(
|
|
203
|
+
options?: WebSiteManagementClientListBillingMetersOptionalParams
|
|
204
|
+
): PagedAsyncIterableIterator<BillingMeter> {
|
|
205
|
+
const iter = this.listBillingMetersPagingAll(options);
|
|
206
|
+
return {
|
|
207
|
+
next() {
|
|
208
|
+
return iter.next();
|
|
209
|
+
},
|
|
210
|
+
[Symbol.asyncIterator]() {
|
|
211
|
+
return this;
|
|
212
|
+
},
|
|
213
|
+
byPage: () => {
|
|
214
|
+
return this.listBillingMetersPagingPage(options);
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
private async *listBillingMetersPagingPage(
|
|
220
|
+
options?: WebSiteManagementClientListBillingMetersOptionalParams
|
|
221
|
+
): AsyncIterableIterator<BillingMeter[]> {
|
|
222
|
+
let result = await this._listBillingMeters(options);
|
|
223
|
+
yield result.value || [];
|
|
224
|
+
let continuationToken = result.nextLink;
|
|
225
|
+
while (continuationToken) {
|
|
226
|
+
result = await this._listBillingMetersNext(continuationToken, options);
|
|
227
|
+
continuationToken = result.nextLink;
|
|
228
|
+
yield result.value || [];
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
private async *listBillingMetersPagingAll(
|
|
233
|
+
options?: WebSiteManagementClientListBillingMetersOptionalParams
|
|
234
|
+
): AsyncIterableIterator<BillingMeter> {
|
|
235
|
+
for await (const page of this.listBillingMetersPagingPage(options)) {
|
|
236
|
+
yield* page;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Description for Get a list of available geographical regions.
|
|
242
|
+
* @param options The options parameters.
|
|
243
|
+
*/
|
|
244
|
+
public listGeoRegions(
|
|
245
|
+
options?: WebSiteManagementClientListGeoRegionsOptionalParams
|
|
246
|
+
): PagedAsyncIterableIterator<GeoRegion> {
|
|
247
|
+
const iter = this.listGeoRegionsPagingAll(options);
|
|
248
|
+
return {
|
|
249
|
+
next() {
|
|
250
|
+
return iter.next();
|
|
251
|
+
},
|
|
252
|
+
[Symbol.asyncIterator]() {
|
|
253
|
+
return this;
|
|
254
|
+
},
|
|
255
|
+
byPage: () => {
|
|
256
|
+
return this.listGeoRegionsPagingPage(options);
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
private async *listGeoRegionsPagingPage(
|
|
262
|
+
options?: WebSiteManagementClientListGeoRegionsOptionalParams
|
|
263
|
+
): AsyncIterableIterator<GeoRegion[]> {
|
|
264
|
+
let result = await this._listGeoRegions(options);
|
|
265
|
+
yield result.value || [];
|
|
266
|
+
let continuationToken = result.nextLink;
|
|
267
|
+
while (continuationToken) {
|
|
268
|
+
result = await this._listGeoRegionsNext(continuationToken, options);
|
|
269
|
+
continuationToken = result.nextLink;
|
|
270
|
+
yield result.value || [];
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
private async *listGeoRegionsPagingAll(
|
|
275
|
+
options?: WebSiteManagementClientListGeoRegionsOptionalParams
|
|
276
|
+
): AsyncIterableIterator<GeoRegion> {
|
|
277
|
+
for await (const page of this.listGeoRegionsPagingPage(options)) {
|
|
278
|
+
yield* page;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Description for List all apps that are assigned to a hostname.
|
|
284
|
+
* @param nameIdentifier Hostname information.
|
|
285
|
+
* @param options The options parameters.
|
|
286
|
+
*/
|
|
287
|
+
public listSiteIdentifiersAssignedToHostName(
|
|
288
|
+
nameIdentifier: NameIdentifier,
|
|
289
|
+
options?: WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams
|
|
290
|
+
): PagedAsyncIterableIterator<Identifier> {
|
|
291
|
+
const iter = this.listSiteIdentifiersAssignedToHostNamePagingAll(
|
|
292
|
+
nameIdentifier,
|
|
293
|
+
options
|
|
294
|
+
);
|
|
295
|
+
return {
|
|
296
|
+
next() {
|
|
297
|
+
return iter.next();
|
|
298
|
+
},
|
|
299
|
+
[Symbol.asyncIterator]() {
|
|
300
|
+
return this;
|
|
301
|
+
},
|
|
302
|
+
byPage: () => {
|
|
303
|
+
return this.listSiteIdentifiersAssignedToHostNamePagingPage(
|
|
304
|
+
nameIdentifier,
|
|
305
|
+
options
|
|
306
|
+
);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
private async *listSiteIdentifiersAssignedToHostNamePagingPage(
|
|
312
|
+
nameIdentifier: NameIdentifier,
|
|
313
|
+
options?: WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams
|
|
314
|
+
): AsyncIterableIterator<Identifier[]> {
|
|
315
|
+
let result = await this._listSiteIdentifiersAssignedToHostName(
|
|
316
|
+
nameIdentifier,
|
|
317
|
+
options
|
|
318
|
+
);
|
|
319
|
+
yield result.value || [];
|
|
320
|
+
let continuationToken = result.nextLink;
|
|
321
|
+
while (continuationToken) {
|
|
322
|
+
result = await this._listSiteIdentifiersAssignedToHostNameNext(
|
|
323
|
+
nameIdentifier,
|
|
324
|
+
continuationToken,
|
|
325
|
+
options
|
|
326
|
+
);
|
|
327
|
+
continuationToken = result.nextLink;
|
|
328
|
+
yield result.value || [];
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
private async *listSiteIdentifiersAssignedToHostNamePagingAll(
|
|
333
|
+
nameIdentifier: NameIdentifier,
|
|
334
|
+
options?: WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams
|
|
335
|
+
): AsyncIterableIterator<Identifier> {
|
|
336
|
+
for await (const page of this.listSiteIdentifiersAssignedToHostNamePagingPage(
|
|
337
|
+
nameIdentifier,
|
|
338
|
+
options
|
|
339
|
+
)) {
|
|
340
|
+
yield* page;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Description for List all premier add-on offers.
|
|
346
|
+
* @param options The options parameters.
|
|
347
|
+
*/
|
|
348
|
+
public listPremierAddOnOffers(
|
|
349
|
+
options?: WebSiteManagementClientListPremierAddOnOffersOptionalParams
|
|
350
|
+
): PagedAsyncIterableIterator<PremierAddOnOffer> {
|
|
351
|
+
const iter = this.listPremierAddOnOffersPagingAll(options);
|
|
352
|
+
return {
|
|
353
|
+
next() {
|
|
354
|
+
return iter.next();
|
|
355
|
+
},
|
|
356
|
+
[Symbol.asyncIterator]() {
|
|
357
|
+
return this;
|
|
358
|
+
},
|
|
359
|
+
byPage: () => {
|
|
360
|
+
return this.listPremierAddOnOffersPagingPage(options);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
private async *listPremierAddOnOffersPagingPage(
|
|
366
|
+
options?: WebSiteManagementClientListPremierAddOnOffersOptionalParams
|
|
367
|
+
): AsyncIterableIterator<PremierAddOnOffer[]> {
|
|
368
|
+
let result = await this._listPremierAddOnOffers(options);
|
|
369
|
+
yield result.value || [];
|
|
370
|
+
let continuationToken = result.nextLink;
|
|
371
|
+
while (continuationToken) {
|
|
372
|
+
result = await this._listPremierAddOnOffersNext(
|
|
373
|
+
continuationToken,
|
|
374
|
+
options
|
|
375
|
+
);
|
|
376
|
+
continuationToken = result.nextLink;
|
|
377
|
+
yield result.value || [];
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
private async *listPremierAddOnOffersPagingAll(
|
|
382
|
+
options?: WebSiteManagementClientListPremierAddOnOffersOptionalParams
|
|
383
|
+
): AsyncIterableIterator<PremierAddOnOffer> {
|
|
384
|
+
for await (const page of this.listPremierAddOnOffersPagingPage(options)) {
|
|
385
|
+
yield* page;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Description for Exchange code for GitHub access token for AppService CLI
|
|
391
|
+
* @param code Code string to exchange for Github Access token
|
|
392
|
+
* @param state State string used for verification.
|
|
393
|
+
* @param options The options parameters.
|
|
394
|
+
*/
|
|
395
|
+
generateGithubAccessTokenForAppserviceCLIAsync(
|
|
396
|
+
code: string,
|
|
397
|
+
state: string,
|
|
398
|
+
options?: WebSiteManagementClientGenerateGithubAccessTokenForAppserviceCLIAsyncOptionalParams
|
|
399
|
+
): Promise<
|
|
400
|
+
WebSiteManagementClientGenerateGithubAccessTokenForAppserviceCLIAsyncResponse
|
|
401
|
+
> {
|
|
402
|
+
return this.sendOperationRequest(
|
|
403
|
+
{ code, state, options },
|
|
404
|
+
generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Description for Gets publishing user
|
|
410
|
+
* @param options The options parameters.
|
|
411
|
+
*/
|
|
412
|
+
getPublishingUser(
|
|
413
|
+
options?: WebSiteManagementClientGetPublishingUserOptionalParams
|
|
414
|
+
): Promise<WebSiteManagementClientGetPublishingUserResponse> {
|
|
415
|
+
return this.sendOperationRequest(
|
|
416
|
+
{ options },
|
|
417
|
+
getPublishingUserOperationSpec
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Description for Updates publishing user
|
|
423
|
+
* @param userDetails Details of publishing user
|
|
424
|
+
* @param options The options parameters.
|
|
425
|
+
*/
|
|
426
|
+
updatePublishingUser(
|
|
427
|
+
userDetails: User,
|
|
428
|
+
options?: WebSiteManagementClientUpdatePublishingUserOptionalParams
|
|
429
|
+
): Promise<WebSiteManagementClientUpdatePublishingUserResponse> {
|
|
430
|
+
return this.sendOperationRequest(
|
|
431
|
+
{ userDetails, options },
|
|
432
|
+
updatePublishingUserOperationSpec
|
|
433
|
+
);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Description for Gets the source controls available for Azure websites.
|
|
438
|
+
* @param options The options parameters.
|
|
439
|
+
*/
|
|
440
|
+
private _listSourceControls(
|
|
441
|
+
options?: WebSiteManagementClientListSourceControlsOptionalParams
|
|
442
|
+
): Promise<WebSiteManagementClientListSourceControlsResponse> {
|
|
443
|
+
return this.sendOperationRequest(
|
|
444
|
+
{ options },
|
|
445
|
+
listSourceControlsOperationSpec
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Description for Gets source control token
|
|
451
|
+
* @param sourceControlType Type of source control
|
|
452
|
+
* @param options The options parameters.
|
|
453
|
+
*/
|
|
454
|
+
getSourceControl(
|
|
455
|
+
sourceControlType: string,
|
|
456
|
+
options?: WebSiteManagementClientGetSourceControlOptionalParams
|
|
457
|
+
): Promise<WebSiteManagementClientGetSourceControlResponse> {
|
|
458
|
+
return this.sendOperationRequest(
|
|
459
|
+
{ sourceControlType, options },
|
|
460
|
+
getSourceControlOperationSpec
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Description for Updates source control token
|
|
466
|
+
* @param sourceControlType Type of source control
|
|
467
|
+
* @param requestMessage Source control token information
|
|
468
|
+
* @param options The options parameters.
|
|
469
|
+
*/
|
|
470
|
+
updateSourceControl(
|
|
471
|
+
sourceControlType: string,
|
|
472
|
+
requestMessage: SourceControl,
|
|
473
|
+
options?: WebSiteManagementClientUpdateSourceControlOptionalParams
|
|
474
|
+
): Promise<WebSiteManagementClientUpdateSourceControlResponse> {
|
|
475
|
+
return this.sendOperationRequest(
|
|
476
|
+
{ sourceControlType, requestMessage, options },
|
|
477
|
+
updateSourceControlOperationSpec
|
|
478
|
+
);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Description for Gets a list of meters for a given location.
|
|
483
|
+
* @param options The options parameters.
|
|
484
|
+
*/
|
|
485
|
+
private _listBillingMeters(
|
|
486
|
+
options?: WebSiteManagementClientListBillingMetersOptionalParams
|
|
487
|
+
): Promise<WebSiteManagementClientListBillingMetersResponse> {
|
|
488
|
+
return this.sendOperationRequest(
|
|
489
|
+
{ options },
|
|
490
|
+
listBillingMetersOperationSpec
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Description for Check if a resource name is available.
|
|
496
|
+
* @param name Resource name to verify.
|
|
497
|
+
* @param typeParam Resource type used for verification.
|
|
498
|
+
* @param options The options parameters.
|
|
499
|
+
*/
|
|
500
|
+
checkNameAvailability(
|
|
501
|
+
name: string,
|
|
502
|
+
typeParam: CheckNameResourceTypes,
|
|
503
|
+
options?: WebSiteManagementClientCheckNameAvailabilityOptionalParams
|
|
504
|
+
): Promise<WebSiteManagementClientCheckNameAvailabilityResponse> {
|
|
505
|
+
return this.sendOperationRequest(
|
|
506
|
+
{ name, typeParam, options },
|
|
507
|
+
checkNameAvailabilityOperationSpec
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Description for Gets list of available geo regions plus ministamps
|
|
513
|
+
* @param options The options parameters.
|
|
514
|
+
*/
|
|
515
|
+
getSubscriptionDeploymentLocations(
|
|
516
|
+
options?: WebSiteManagementClientGetSubscriptionDeploymentLocationsOptionalParams
|
|
517
|
+
): Promise<
|
|
518
|
+
WebSiteManagementClientGetSubscriptionDeploymentLocationsResponse
|
|
519
|
+
> {
|
|
520
|
+
return this.sendOperationRequest(
|
|
521
|
+
{ options },
|
|
522
|
+
getSubscriptionDeploymentLocationsOperationSpec
|
|
523
|
+
);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Description for Get a list of available geographical regions.
|
|
528
|
+
* @param options The options parameters.
|
|
529
|
+
*/
|
|
530
|
+
private _listGeoRegions(
|
|
531
|
+
options?: WebSiteManagementClientListGeoRegionsOptionalParams
|
|
532
|
+
): Promise<WebSiteManagementClientListGeoRegionsResponse> {
|
|
533
|
+
return this.sendOperationRequest({ options }, listGeoRegionsOperationSpec);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Description for List all apps that are assigned to a hostname.
|
|
538
|
+
* @param nameIdentifier Hostname information.
|
|
539
|
+
* @param options The options parameters.
|
|
540
|
+
*/
|
|
541
|
+
private _listSiteIdentifiersAssignedToHostName(
|
|
542
|
+
nameIdentifier: NameIdentifier,
|
|
543
|
+
options?: WebSiteManagementClientListSiteIdentifiersAssignedToHostNameOptionalParams
|
|
544
|
+
): Promise<
|
|
545
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameResponse
|
|
546
|
+
> {
|
|
547
|
+
return this.sendOperationRequest(
|
|
548
|
+
{ nameIdentifier, options },
|
|
549
|
+
listSiteIdentifiersAssignedToHostNameOperationSpec
|
|
550
|
+
);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Description for List all premier add-on offers.
|
|
555
|
+
* @param options The options parameters.
|
|
556
|
+
*/
|
|
557
|
+
private _listPremierAddOnOffers(
|
|
558
|
+
options?: WebSiteManagementClientListPremierAddOnOffersOptionalParams
|
|
559
|
+
): Promise<WebSiteManagementClientListPremierAddOnOffersResponse> {
|
|
560
|
+
return this.sendOperationRequest(
|
|
561
|
+
{ options },
|
|
562
|
+
listPremierAddOnOffersOperationSpec
|
|
563
|
+
);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Description for List all SKUs.
|
|
568
|
+
* @param options The options parameters.
|
|
569
|
+
*/
|
|
570
|
+
listSkus(
|
|
571
|
+
options?: WebSiteManagementClientListSkusOptionalParams
|
|
572
|
+
): Promise<WebSiteManagementClientListSkusResponse> {
|
|
573
|
+
return this.sendOperationRequest({ options }, listSkusOperationSpec);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the
|
|
578
|
+
* Network Security Group rules.
|
|
579
|
+
* @param parameters VNET information
|
|
580
|
+
* @param options The options parameters.
|
|
581
|
+
*/
|
|
582
|
+
verifyHostingEnvironmentVnet(
|
|
583
|
+
parameters: VnetParameters,
|
|
584
|
+
options?: WebSiteManagementClientVerifyHostingEnvironmentVnetOptionalParams
|
|
585
|
+
): Promise<WebSiteManagementClientVerifyHostingEnvironmentVnetResponse> {
|
|
586
|
+
return this.sendOperationRequest(
|
|
587
|
+
{ parameters, options },
|
|
588
|
+
verifyHostingEnvironmentVnetOperationSpec
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Description for Move resources between resource groups.
|
|
594
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
595
|
+
* @param moveResourceEnvelope Object that represents the resource to move.
|
|
596
|
+
* @param options The options parameters.
|
|
597
|
+
*/
|
|
598
|
+
move(
|
|
599
|
+
resourceGroupName: string,
|
|
600
|
+
moveResourceEnvelope: CsmMoveResourceEnvelope,
|
|
601
|
+
options?: WebSiteManagementClientMoveOptionalParams
|
|
602
|
+
): Promise<void> {
|
|
603
|
+
return this.sendOperationRequest(
|
|
604
|
+
{ resourceGroupName, moveResourceEnvelope, options },
|
|
605
|
+
moveOperationSpec
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Description for Validate if a resource can be created.
|
|
611
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
612
|
+
* @param validateRequest Request with the resources to validate.
|
|
613
|
+
* @param options The options parameters.
|
|
614
|
+
*/
|
|
615
|
+
validate(
|
|
616
|
+
resourceGroupName: string,
|
|
617
|
+
validateRequest: ValidateRequest,
|
|
618
|
+
options?: WebSiteManagementClientValidateOptionalParams
|
|
619
|
+
): Promise<WebSiteManagementClientValidateResponse> {
|
|
620
|
+
return this.sendOperationRequest(
|
|
621
|
+
{ resourceGroupName, validateRequest, options },
|
|
622
|
+
validateOperationSpec
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Description for Validate whether a resource can be moved.
|
|
628
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
629
|
+
* @param moveResourceEnvelope Object that represents the resource to move.
|
|
630
|
+
* @param options The options parameters.
|
|
631
|
+
*/
|
|
632
|
+
validateMove(
|
|
633
|
+
resourceGroupName: string,
|
|
634
|
+
moveResourceEnvelope: CsmMoveResourceEnvelope,
|
|
635
|
+
options?: WebSiteManagementClientValidateMoveOptionalParams
|
|
636
|
+
): Promise<void> {
|
|
637
|
+
return this.sendOperationRequest(
|
|
638
|
+
{ resourceGroupName, moveResourceEnvelope, options },
|
|
639
|
+
validateMoveOperationSpec
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* ListSourceControlsNext
|
|
645
|
+
* @param nextLink The nextLink from the previous successful call to the ListSourceControls method.
|
|
646
|
+
* @param options The options parameters.
|
|
647
|
+
*/
|
|
648
|
+
private _listSourceControlsNext(
|
|
649
|
+
nextLink: string,
|
|
650
|
+
options?: WebSiteManagementClientListSourceControlsNextOptionalParams
|
|
651
|
+
): Promise<WebSiteManagementClientListSourceControlsNextResponse> {
|
|
652
|
+
return this.sendOperationRequest(
|
|
653
|
+
{ nextLink, options },
|
|
654
|
+
listSourceControlsNextOperationSpec
|
|
655
|
+
);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* ListBillingMetersNext
|
|
660
|
+
* @param nextLink The nextLink from the previous successful call to the ListBillingMeters method.
|
|
661
|
+
* @param options The options parameters.
|
|
662
|
+
*/
|
|
663
|
+
private _listBillingMetersNext(
|
|
664
|
+
nextLink: string,
|
|
665
|
+
options?: WebSiteManagementClientListBillingMetersNextOptionalParams
|
|
666
|
+
): Promise<WebSiteManagementClientListBillingMetersNextResponse> {
|
|
667
|
+
return this.sendOperationRequest(
|
|
668
|
+
{ nextLink, options },
|
|
669
|
+
listBillingMetersNextOperationSpec
|
|
670
|
+
);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* ListGeoRegionsNext
|
|
675
|
+
* @param nextLink The nextLink from the previous successful call to the ListGeoRegions method.
|
|
676
|
+
* @param options The options parameters.
|
|
677
|
+
*/
|
|
678
|
+
private _listGeoRegionsNext(
|
|
679
|
+
nextLink: string,
|
|
680
|
+
options?: WebSiteManagementClientListGeoRegionsNextOptionalParams
|
|
681
|
+
): Promise<WebSiteManagementClientListGeoRegionsNextResponse> {
|
|
682
|
+
return this.sendOperationRequest(
|
|
683
|
+
{ nextLink, options },
|
|
684
|
+
listGeoRegionsNextOperationSpec
|
|
685
|
+
);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* ListSiteIdentifiersAssignedToHostNameNext
|
|
690
|
+
* @param nameIdentifier Hostname information.
|
|
691
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
692
|
+
* ListSiteIdentifiersAssignedToHostName method.
|
|
693
|
+
* @param options The options parameters.
|
|
694
|
+
*/
|
|
695
|
+
private _listSiteIdentifiersAssignedToHostNameNext(
|
|
696
|
+
nameIdentifier: NameIdentifier,
|
|
697
|
+
nextLink: string,
|
|
698
|
+
options?: WebSiteManagementClientListSiteIdentifiersAssignedToHostNameNextOptionalParams
|
|
699
|
+
): Promise<
|
|
700
|
+
WebSiteManagementClientListSiteIdentifiersAssignedToHostNameNextResponse
|
|
701
|
+
> {
|
|
702
|
+
return this.sendOperationRequest(
|
|
703
|
+
{ nameIdentifier, nextLink, options },
|
|
704
|
+
listSiteIdentifiersAssignedToHostNameNextOperationSpec
|
|
705
|
+
);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* ListPremierAddOnOffersNext
|
|
710
|
+
* @param nextLink The nextLink from the previous successful call to the ListPremierAddOnOffers method.
|
|
711
|
+
* @param options The options parameters.
|
|
712
|
+
*/
|
|
713
|
+
private _listPremierAddOnOffersNext(
|
|
714
|
+
nextLink: string,
|
|
715
|
+
options?: WebSiteManagementClientListPremierAddOnOffersNextOptionalParams
|
|
716
|
+
): Promise<WebSiteManagementClientListPremierAddOnOffersNextResponse> {
|
|
717
|
+
return this.sendOperationRequest(
|
|
718
|
+
{ nextLink, options },
|
|
719
|
+
listPremierAddOnOffersNextOperationSpec
|
|
720
|
+
);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
appServiceCertificateOrders: AppServiceCertificateOrders;
|
|
724
|
+
certificateOrdersDiagnostics: CertificateOrdersDiagnostics;
|
|
725
|
+
certificateRegistrationProvider: CertificateRegistrationProvider;
|
|
726
|
+
domains: Domains;
|
|
727
|
+
topLevelDomains: TopLevelDomains;
|
|
728
|
+
domainRegistrationProvider: DomainRegistrationProvider;
|
|
729
|
+
appServiceEnvironments: AppServiceEnvironments;
|
|
730
|
+
appServicePlans: AppServicePlans;
|
|
731
|
+
certificates: Certificates;
|
|
732
|
+
deletedWebApps: DeletedWebApps;
|
|
733
|
+
diagnostics: Diagnostics;
|
|
734
|
+
global: Global;
|
|
735
|
+
kubeEnvironments: KubeEnvironments;
|
|
736
|
+
provider: Provider;
|
|
737
|
+
recommendations: Recommendations;
|
|
738
|
+
resourceHealthMetadataOperations: ResourceHealthMetadataOperations;
|
|
739
|
+
staticSites: StaticSites;
|
|
740
|
+
webApps: WebApps;
|
|
741
|
+
}
|
|
742
|
+
// Operation Specifications
|
|
743
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
744
|
+
|
|
745
|
+
const generateGithubAccessTokenForAppserviceCLIAsyncOperationSpec: coreClient.OperationSpec = {
|
|
746
|
+
path: "/providers/Microsoft.Web/generateGithubAccessTokenForAppserviceCLI",
|
|
747
|
+
httpMethod: "POST",
|
|
748
|
+
responses: {
|
|
749
|
+
200: {
|
|
750
|
+
bodyMapper: Mappers.AppserviceGithubToken
|
|
751
|
+
},
|
|
752
|
+
default: {
|
|
753
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
requestBody: {
|
|
757
|
+
parameterPath: { code: ["code"], state: ["state"] },
|
|
758
|
+
mapper: { ...Mappers.AppserviceGithubTokenRequest, required: true }
|
|
759
|
+
},
|
|
760
|
+
queryParameters: [Parameters.apiVersion],
|
|
761
|
+
urlParameters: [Parameters.$host],
|
|
762
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
763
|
+
mediaType: "json",
|
|
764
|
+
serializer
|
|
765
|
+
};
|
|
766
|
+
const getPublishingUserOperationSpec: coreClient.OperationSpec = {
|
|
767
|
+
path: "/providers/Microsoft.Web/publishingUsers/web",
|
|
768
|
+
httpMethod: "GET",
|
|
769
|
+
responses: {
|
|
770
|
+
200: {
|
|
771
|
+
bodyMapper: Mappers.User
|
|
772
|
+
},
|
|
773
|
+
default: {
|
|
774
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
queryParameters: [Parameters.apiVersion],
|
|
778
|
+
urlParameters: [Parameters.$host],
|
|
779
|
+
headerParameters: [Parameters.accept],
|
|
780
|
+
serializer
|
|
781
|
+
};
|
|
782
|
+
const updatePublishingUserOperationSpec: coreClient.OperationSpec = {
|
|
783
|
+
path: "/providers/Microsoft.Web/publishingUsers/web",
|
|
784
|
+
httpMethod: "PUT",
|
|
785
|
+
responses: {
|
|
786
|
+
200: {
|
|
787
|
+
bodyMapper: Mappers.User
|
|
788
|
+
},
|
|
789
|
+
default: {
|
|
790
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
requestBody: Parameters.userDetails,
|
|
794
|
+
queryParameters: [Parameters.apiVersion],
|
|
795
|
+
urlParameters: [Parameters.$host],
|
|
796
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
797
|
+
mediaType: "json",
|
|
798
|
+
serializer
|
|
799
|
+
};
|
|
800
|
+
const listSourceControlsOperationSpec: coreClient.OperationSpec = {
|
|
801
|
+
path: "/providers/Microsoft.Web/sourcecontrols",
|
|
802
|
+
httpMethod: "GET",
|
|
803
|
+
responses: {
|
|
804
|
+
200: {
|
|
805
|
+
bodyMapper: Mappers.SourceControlCollection
|
|
806
|
+
},
|
|
807
|
+
default: {
|
|
808
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
queryParameters: [Parameters.apiVersion],
|
|
812
|
+
urlParameters: [Parameters.$host],
|
|
813
|
+
headerParameters: [Parameters.accept],
|
|
814
|
+
serializer
|
|
815
|
+
};
|
|
816
|
+
const getSourceControlOperationSpec: coreClient.OperationSpec = {
|
|
817
|
+
path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}",
|
|
818
|
+
httpMethod: "GET",
|
|
819
|
+
responses: {
|
|
820
|
+
200: {
|
|
821
|
+
bodyMapper: Mappers.SourceControl
|
|
822
|
+
},
|
|
823
|
+
default: {
|
|
824
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
queryParameters: [Parameters.apiVersion],
|
|
828
|
+
urlParameters: [Parameters.$host, Parameters.sourceControlType],
|
|
829
|
+
headerParameters: [Parameters.accept],
|
|
830
|
+
serializer
|
|
831
|
+
};
|
|
832
|
+
const updateSourceControlOperationSpec: coreClient.OperationSpec = {
|
|
833
|
+
path: "/providers/Microsoft.Web/sourcecontrols/{sourceControlType}",
|
|
834
|
+
httpMethod: "PUT",
|
|
835
|
+
responses: {
|
|
836
|
+
200: {
|
|
837
|
+
bodyMapper: Mappers.SourceControl
|
|
838
|
+
},
|
|
839
|
+
default: {
|
|
840
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
requestBody: Parameters.requestMessage,
|
|
844
|
+
queryParameters: [Parameters.apiVersion],
|
|
845
|
+
urlParameters: [Parameters.$host, Parameters.sourceControlType],
|
|
846
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
847
|
+
mediaType: "json",
|
|
848
|
+
serializer
|
|
849
|
+
};
|
|
850
|
+
const listBillingMetersOperationSpec: coreClient.OperationSpec = {
|
|
851
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters",
|
|
852
|
+
httpMethod: "GET",
|
|
853
|
+
responses: {
|
|
854
|
+
200: {
|
|
855
|
+
bodyMapper: Mappers.BillingMeterCollection
|
|
856
|
+
},
|
|
857
|
+
default: {
|
|
858
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
queryParameters: [
|
|
862
|
+
Parameters.apiVersion,
|
|
863
|
+
Parameters.billingLocation,
|
|
864
|
+
Parameters.osType
|
|
865
|
+
],
|
|
866
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
867
|
+
headerParameters: [Parameters.accept],
|
|
868
|
+
serializer
|
|
869
|
+
};
|
|
870
|
+
const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
871
|
+
path:
|
|
872
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability",
|
|
873
|
+
httpMethod: "POST",
|
|
874
|
+
responses: {
|
|
875
|
+
200: {
|
|
876
|
+
bodyMapper: Mappers.ResourceNameAvailability
|
|
877
|
+
},
|
|
878
|
+
default: {
|
|
879
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
requestBody: {
|
|
883
|
+
parameterPath: {
|
|
884
|
+
name: ["name"],
|
|
885
|
+
typeParam: ["typeParam"],
|
|
886
|
+
isFqdn: ["options", "isFqdn"]
|
|
887
|
+
},
|
|
888
|
+
mapper: { ...Mappers.ResourceNameAvailabilityRequest, required: true }
|
|
889
|
+
},
|
|
890
|
+
queryParameters: [Parameters.apiVersion],
|
|
891
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
892
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
893
|
+
mediaType: "json",
|
|
894
|
+
serializer
|
|
895
|
+
};
|
|
896
|
+
const getSubscriptionDeploymentLocationsOperationSpec: coreClient.OperationSpec = {
|
|
897
|
+
path:
|
|
898
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations",
|
|
899
|
+
httpMethod: "GET",
|
|
900
|
+
responses: {
|
|
901
|
+
200: {
|
|
902
|
+
bodyMapper: Mappers.DeploymentLocations
|
|
903
|
+
},
|
|
904
|
+
default: {
|
|
905
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
queryParameters: [Parameters.apiVersion],
|
|
909
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
910
|
+
headerParameters: [Parameters.accept],
|
|
911
|
+
serializer
|
|
912
|
+
};
|
|
913
|
+
const listGeoRegionsOperationSpec: coreClient.OperationSpec = {
|
|
914
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions",
|
|
915
|
+
httpMethod: "GET",
|
|
916
|
+
responses: {
|
|
917
|
+
200: {
|
|
918
|
+
bodyMapper: Mappers.GeoRegionCollection
|
|
919
|
+
},
|
|
920
|
+
default: {
|
|
921
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
queryParameters: [
|
|
925
|
+
Parameters.apiVersion,
|
|
926
|
+
Parameters.sku,
|
|
927
|
+
Parameters.linuxWorkersEnabled,
|
|
928
|
+
Parameters.xenonWorkersEnabled,
|
|
929
|
+
Parameters.linuxDynamicWorkersEnabled
|
|
930
|
+
],
|
|
931
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
932
|
+
headerParameters: [Parameters.accept],
|
|
933
|
+
serializer
|
|
934
|
+
};
|
|
935
|
+
const listSiteIdentifiersAssignedToHostNameOperationSpec: coreClient.OperationSpec = {
|
|
936
|
+
path:
|
|
937
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName",
|
|
938
|
+
httpMethod: "POST",
|
|
939
|
+
responses: {
|
|
940
|
+
200: {
|
|
941
|
+
bodyMapper: Mappers.IdentifierCollection
|
|
942
|
+
},
|
|
943
|
+
default: {
|
|
944
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
requestBody: Parameters.nameIdentifier,
|
|
948
|
+
queryParameters: [Parameters.apiVersion],
|
|
949
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
950
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
951
|
+
mediaType: "json",
|
|
952
|
+
serializer
|
|
953
|
+
};
|
|
954
|
+
const listPremierAddOnOffersOperationSpec: coreClient.OperationSpec = {
|
|
955
|
+
path:
|
|
956
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/premieraddonoffers",
|
|
957
|
+
httpMethod: "GET",
|
|
958
|
+
responses: {
|
|
959
|
+
200: {
|
|
960
|
+
bodyMapper: Mappers.PremierAddOnOfferCollection
|
|
961
|
+
},
|
|
962
|
+
default: {
|
|
963
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
queryParameters: [Parameters.apiVersion],
|
|
967
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
968
|
+
headerParameters: [Parameters.accept],
|
|
969
|
+
serializer
|
|
970
|
+
};
|
|
971
|
+
const listSkusOperationSpec: coreClient.OperationSpec = {
|
|
972
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/skus",
|
|
973
|
+
httpMethod: "GET",
|
|
974
|
+
responses: {
|
|
975
|
+
200: {
|
|
976
|
+
bodyMapper: Mappers.SkuInfos
|
|
977
|
+
},
|
|
978
|
+
default: {
|
|
979
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
queryParameters: [Parameters.apiVersion],
|
|
983
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
984
|
+
headerParameters: [Parameters.accept],
|
|
985
|
+
serializer
|
|
986
|
+
};
|
|
987
|
+
const verifyHostingEnvironmentVnetOperationSpec: coreClient.OperationSpec = {
|
|
988
|
+
path:
|
|
989
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet",
|
|
990
|
+
httpMethod: "POST",
|
|
991
|
+
responses: {
|
|
992
|
+
200: {
|
|
993
|
+
bodyMapper: Mappers.VnetValidationFailureDetails
|
|
994
|
+
},
|
|
995
|
+
default: {
|
|
996
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
requestBody: Parameters.parameters1,
|
|
1000
|
+
queryParameters: [Parameters.apiVersion],
|
|
1001
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1002
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1003
|
+
mediaType: "json",
|
|
1004
|
+
serializer
|
|
1005
|
+
};
|
|
1006
|
+
const moveOperationSpec: coreClient.OperationSpec = {
|
|
1007
|
+
path:
|
|
1008
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources",
|
|
1009
|
+
httpMethod: "POST",
|
|
1010
|
+
responses: {
|
|
1011
|
+
204: {},
|
|
1012
|
+
default: {
|
|
1013
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
requestBody: Parameters.moveResourceEnvelope,
|
|
1017
|
+
queryParameters: [Parameters.apiVersion],
|
|
1018
|
+
urlParameters: [
|
|
1019
|
+
Parameters.$host,
|
|
1020
|
+
Parameters.subscriptionId,
|
|
1021
|
+
Parameters.resourceGroupName
|
|
1022
|
+
],
|
|
1023
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1024
|
+
mediaType: "json",
|
|
1025
|
+
serializer
|
|
1026
|
+
};
|
|
1027
|
+
const validateOperationSpec: coreClient.OperationSpec = {
|
|
1028
|
+
path:
|
|
1029
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate",
|
|
1030
|
+
httpMethod: "POST",
|
|
1031
|
+
responses: {
|
|
1032
|
+
200: {
|
|
1033
|
+
bodyMapper: Mappers.ValidateResponse
|
|
1034
|
+
},
|
|
1035
|
+
default: {
|
|
1036
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
requestBody: Parameters.validateRequest,
|
|
1040
|
+
queryParameters: [Parameters.apiVersion],
|
|
1041
|
+
urlParameters: [
|
|
1042
|
+
Parameters.$host,
|
|
1043
|
+
Parameters.subscriptionId,
|
|
1044
|
+
Parameters.resourceGroupName
|
|
1045
|
+
],
|
|
1046
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1047
|
+
mediaType: "json",
|
|
1048
|
+
serializer
|
|
1049
|
+
};
|
|
1050
|
+
const validateMoveOperationSpec: coreClient.OperationSpec = {
|
|
1051
|
+
path:
|
|
1052
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources",
|
|
1053
|
+
httpMethod: "POST",
|
|
1054
|
+
responses: {
|
|
1055
|
+
204: {},
|
|
1056
|
+
default: {
|
|
1057
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
requestBody: Parameters.moveResourceEnvelope,
|
|
1061
|
+
queryParameters: [Parameters.apiVersion],
|
|
1062
|
+
urlParameters: [
|
|
1063
|
+
Parameters.$host,
|
|
1064
|
+
Parameters.subscriptionId,
|
|
1065
|
+
Parameters.resourceGroupName
|
|
1066
|
+
],
|
|
1067
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1068
|
+
mediaType: "json",
|
|
1069
|
+
serializer
|
|
1070
|
+
};
|
|
1071
|
+
const listSourceControlsNextOperationSpec: coreClient.OperationSpec = {
|
|
1072
|
+
path: "{nextLink}",
|
|
1073
|
+
httpMethod: "GET",
|
|
1074
|
+
responses: {
|
|
1075
|
+
200: {
|
|
1076
|
+
bodyMapper: Mappers.SourceControlCollection
|
|
1077
|
+
},
|
|
1078
|
+
default: {
|
|
1079
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
queryParameters: [Parameters.apiVersion],
|
|
1083
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
1084
|
+
headerParameters: [Parameters.accept],
|
|
1085
|
+
serializer
|
|
1086
|
+
};
|
|
1087
|
+
const listBillingMetersNextOperationSpec: coreClient.OperationSpec = {
|
|
1088
|
+
path: "{nextLink}",
|
|
1089
|
+
httpMethod: "GET",
|
|
1090
|
+
responses: {
|
|
1091
|
+
200: {
|
|
1092
|
+
bodyMapper: Mappers.BillingMeterCollection
|
|
1093
|
+
},
|
|
1094
|
+
default: {
|
|
1095
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
queryParameters: [
|
|
1099
|
+
Parameters.apiVersion,
|
|
1100
|
+
Parameters.billingLocation,
|
|
1101
|
+
Parameters.osType
|
|
1102
|
+
],
|
|
1103
|
+
urlParameters: [
|
|
1104
|
+
Parameters.$host,
|
|
1105
|
+
Parameters.subscriptionId,
|
|
1106
|
+
Parameters.nextLink
|
|
1107
|
+
],
|
|
1108
|
+
headerParameters: [Parameters.accept],
|
|
1109
|
+
serializer
|
|
1110
|
+
};
|
|
1111
|
+
const listGeoRegionsNextOperationSpec: coreClient.OperationSpec = {
|
|
1112
|
+
path: "{nextLink}",
|
|
1113
|
+
httpMethod: "GET",
|
|
1114
|
+
responses: {
|
|
1115
|
+
200: {
|
|
1116
|
+
bodyMapper: Mappers.GeoRegionCollection
|
|
1117
|
+
},
|
|
1118
|
+
default: {
|
|
1119
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
queryParameters: [
|
|
1123
|
+
Parameters.apiVersion,
|
|
1124
|
+
Parameters.sku,
|
|
1125
|
+
Parameters.linuxWorkersEnabled,
|
|
1126
|
+
Parameters.xenonWorkersEnabled,
|
|
1127
|
+
Parameters.linuxDynamicWorkersEnabled
|
|
1128
|
+
],
|
|
1129
|
+
urlParameters: [
|
|
1130
|
+
Parameters.$host,
|
|
1131
|
+
Parameters.subscriptionId,
|
|
1132
|
+
Parameters.nextLink
|
|
1133
|
+
],
|
|
1134
|
+
headerParameters: [Parameters.accept],
|
|
1135
|
+
serializer
|
|
1136
|
+
};
|
|
1137
|
+
const listSiteIdentifiersAssignedToHostNameNextOperationSpec: coreClient.OperationSpec = {
|
|
1138
|
+
path: "{nextLink}",
|
|
1139
|
+
httpMethod: "GET",
|
|
1140
|
+
responses: {
|
|
1141
|
+
200: {
|
|
1142
|
+
bodyMapper: Mappers.IdentifierCollection
|
|
1143
|
+
},
|
|
1144
|
+
default: {
|
|
1145
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
queryParameters: [Parameters.apiVersion],
|
|
1149
|
+
urlParameters: [
|
|
1150
|
+
Parameters.$host,
|
|
1151
|
+
Parameters.subscriptionId,
|
|
1152
|
+
Parameters.nextLink
|
|
1153
|
+
],
|
|
1154
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1155
|
+
mediaType: "json",
|
|
1156
|
+
serializer
|
|
1157
|
+
};
|
|
1158
|
+
const listPremierAddOnOffersNextOperationSpec: coreClient.OperationSpec = {
|
|
1159
|
+
path: "{nextLink}",
|
|
1160
|
+
httpMethod: "GET",
|
|
1161
|
+
responses: {
|
|
1162
|
+
200: {
|
|
1163
|
+
bodyMapper: Mappers.PremierAddOnOfferCollection
|
|
1164
|
+
},
|
|
1165
|
+
default: {
|
|
1166
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
queryParameters: [Parameters.apiVersion],
|
|
1170
|
+
urlParameters: [
|
|
1171
|
+
Parameters.$host,
|
|
1172
|
+
Parameters.subscriptionId,
|
|
1173
|
+
Parameters.nextLink
|
|
1174
|
+
],
|
|
1175
|
+
headerParameters: [Parameters.accept],
|
|
1176
|
+
serializer
|
|
1177
|
+
};
|