@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,71 @@
|
|
|
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 { WebSiteManagementClientOptionalParams } from "./models";
|
|
12
|
+
|
|
13
|
+
export class WebSiteManagementClientContext extends coreClient.ServiceClient {
|
|
14
|
+
$host: string;
|
|
15
|
+
subscriptionId: string;
|
|
16
|
+
apiVersion: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Initializes a new instance of the WebSiteManagementClientContext class.
|
|
20
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
21
|
+
* @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g.
|
|
22
|
+
* 00000000-0000-0000-0000-000000000000).
|
|
23
|
+
* @param options The parameter options
|
|
24
|
+
*/
|
|
25
|
+
constructor(
|
|
26
|
+
credentials: coreAuth.TokenCredential,
|
|
27
|
+
subscriptionId: string,
|
|
28
|
+
options?: WebSiteManagementClientOptionalParams
|
|
29
|
+
) {
|
|
30
|
+
if (credentials === undefined) {
|
|
31
|
+
throw new Error("'credentials' cannot be null");
|
|
32
|
+
}
|
|
33
|
+
if (subscriptionId === undefined) {
|
|
34
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Initializing default values for options
|
|
38
|
+
if (!options) {
|
|
39
|
+
options = {};
|
|
40
|
+
}
|
|
41
|
+
const defaults: WebSiteManagementClientOptionalParams = {
|
|
42
|
+
requestContentType: "application/json; charset=utf-8",
|
|
43
|
+
credential: credentials
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const packageDetails = `azsdk-js-arm-appservice/30.0.0-beta.2`;
|
|
47
|
+
const userAgentPrefix =
|
|
48
|
+
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
49
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
50
|
+
: `${packageDetails}`;
|
|
51
|
+
|
|
52
|
+
if (!options.credentialScopes) {
|
|
53
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
54
|
+
}
|
|
55
|
+
const optionsWithDefaults = {
|
|
56
|
+
...defaults,
|
|
57
|
+
...options,
|
|
58
|
+
userAgentOptions: {
|
|
59
|
+
userAgentPrefix
|
|
60
|
+
},
|
|
61
|
+
baseUri: options.endpoint || "https://management.azure.com"
|
|
62
|
+
};
|
|
63
|
+
super(optionsWithDefaults);
|
|
64
|
+
// Parameter assignments
|
|
65
|
+
this.subscriptionId = subscriptionId;
|
|
66
|
+
|
|
67
|
+
// Assigning values to Constant parameters
|
|
68
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
69
|
+
this.apiVersion = options.apiVersion || "2021-02-01";
|
|
70
|
+
}
|
|
71
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "es6",
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"target": "es6",
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"allowSyntheticDefaultImports": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"lib": ["es6", "dom"],
|
|
13
|
+
"declaration": true,
|
|
14
|
+
"outDir": "./dist-esm",
|
|
15
|
+
"importHelpers": true
|
|
16
|
+
},
|
|
17
|
+
"include": ["./src/**/*.ts"],
|
|
18
|
+
"exclude": ["node_modules"]
|
|
19
|
+
}
|