@azure/arm-frontdoor 3.1.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +75 -73
- package/dist/index.js +6728 -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/src/frontDoorManagementClient.d.ts +29 -0
- package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -0
- package/dist-esm/src/frontDoorManagementClient.js +62 -0
- package/dist-esm/src/frontDoorManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2380 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +399 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +93 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3048 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +316 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/endpoints.d.ts +34 -0
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/endpoints.js +106 -0
- package/dist-esm/src/operations/endpoints.js.map +1 -0
- package/dist-esm/src/operations/experiments.d.ts +99 -0
- package/dist-esm/src/operations/experiments.d.ts.map +1 -0
- package/dist-esm/src/operations/experiments.js +417 -0
- package/dist-esm/src/operations/experiments.js.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.d.ts +19 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.js +49 -0
- package/dist-esm/src/operations/frontDoorNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts +19 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js +49 -0
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
- package/dist-esm/src/operations/frontDoors.d.ts +100 -0
- package/dist-esm/src/operations/frontDoors.d.ts.map +1 -0
- package/dist-esm/src/operations/frontDoors.js +453 -0
- package/dist-esm/src/operations/frontDoors.js.map +1 -0
- package/dist-esm/src/operations/frontendEndpoints.d.ts +81 -0
- package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/frontendEndpoints.js +331 -0
- package/dist-esm/src/operations/frontendEndpoints.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +13 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +20 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managedRuleSets.d.ts +32 -0
- package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -0
- package/dist-esm/src/operations/managedRuleSets.js +124 -0
- package/dist-esm/src/operations/managedRuleSets.js.map +1 -0
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts +107 -0
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/networkExperimentProfiles.js +500 -0
- package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -0
- package/dist-esm/src/operations/policies.d.ts +73 -0
- package/dist-esm/src/operations/policies.d.ts.map +1 -0
- package/dist-esm/src/operations/policies.js +309 -0
- package/dist-esm/src/operations/policies.js.map +1 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.d.ts +38 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.js +137 -0
- package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -0
- package/dist-esm/src/operations/reports.d.ts +34 -0
- package/dist-esm/src/operations/reports.d.ts.map +1 -0
- package/dist-esm/src/operations/reports.js +120 -0
- package/dist-esm/src/operations/reports.js.map +1 -0
- package/dist-esm/src/operations/rulesEngines.d.ts +83 -0
- package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -0
- package/dist-esm/src/operations/rulesEngines.js +341 -0
- package/dist-esm/src/operations/rulesEngines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/experiments.js +9 -0
- package/dist-esm/src/operationsInterfaces/experiments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontDoors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/frontendEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +20 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/managedRuleSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.js +9 -0
- package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/preconfiguredEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/reports.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/reports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/reports.js +9 -0
- package/dist-esm/src/operationsInterfaces/reports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.js +9 -0
- package/dist-esm/src/operationsInterfaces/rulesEngines.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +70 -34
- package/review/arm-frontdoor.api.md +1910 -0
- package/rollup.config.js +184 -27
- package/src/frontDoorManagementClient.ts +124 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2676 -0
- package/src/models/mappers.ts +3311 -0
- package/src/models/parameters.ts +367 -0
- package/src/operations/endpoints.ts +150 -0
- package/src/operations/experiments.ts +608 -0
- package/src/operations/frontDoorNameAvailability.ts +68 -0
- package/src/operations/frontDoorNameAvailabilityWithSubscription.ts +69 -0
- package/src/operations/frontDoors.ts +594 -0
- package/src/operations/frontendEndpoints.ts +471 -0
- package/src/operations/index.ts +20 -0
- package/src/operations/managedRuleSets.ts +142 -0
- package/src/operations/networkExperimentProfiles.ts +672 -0
- package/src/operations/policies.ts +425 -0
- package/src/operations/preconfiguredEndpoints.ts +177 -0
- package/src/operations/reports.ts +160 -0
- package/src/operations/rulesEngines.ts +486 -0
- package/src/operationsInterfaces/endpoints.ts +47 -0
- package/src/operationsInterfaces/experiments.ts +147 -0
- package/src/operationsInterfaces/frontDoorNameAvailability.ts +26 -0
- package/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.ts +26 -0
- package/src/operationsInterfaces/frontDoors.ts +122 -0
- package/src/operationsInterfaces/frontendEndpoints.ts +104 -0
- package/src/operationsInterfaces/index.ts +20 -0
- package/src/operationsInterfaces/managedRuleSets.ts +25 -0
- package/src/operationsInterfaces/networkExperimentProfiles.ts +139 -0
- package/src/operationsInterfaces/policies.ts +97 -0
- package/src/operationsInterfaces/preconfiguredEndpoints.ts +29 -0
- package/src/operationsInterfaces/reports.ts +57 -0
- package/src/operationsInterfaces/rulesEngines.ts +111 -0
- package/tsconfig.json +4 -4
- package/types/arm-frontdoor.d.ts +3127 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-frontdoor.js +0 -4289
- package/dist/arm-frontdoor.js.map +0 -1
- package/dist/arm-frontdoor.min.js +0 -1
- package/dist/arm-frontdoor.min.js.map +0 -1
- package/esm/frontDoorManagementClient.d.ts +0 -62
- package/esm/frontDoorManagementClient.d.ts.map +0 -1
- package/esm/frontDoorManagementClient.js +0 -105
- package/esm/frontDoorManagementClient.js.map +0 -1
- package/esm/frontDoorManagementClientContext.d.ts +0 -16
- package/esm/frontDoorManagementClientContext.d.ts.map +0 -1
- package/esm/frontDoorManagementClientContext.js +0 -56
- package/esm/frontDoorManagementClientContext.js.map +0 -1
- package/esm/models/backendPoolsMappers.d.ts +0 -2
- package/esm/models/backendPoolsMappers.d.ts.map +0 -1
- package/esm/models/backendPoolsMappers.js +0 -11
- package/esm/models/backendPoolsMappers.js.map +0 -1
- package/esm/models/endpointsMappers.d.ts +0 -2
- package/esm/models/endpointsMappers.d.ts.map +0 -1
- package/esm/models/endpointsMappers.js +0 -11
- package/esm/models/endpointsMappers.js.map +0 -1
- package/esm/models/frontDoorsMappers.d.ts +0 -2
- package/esm/models/frontDoorsMappers.d.ts.map +0 -1
- package/esm/models/frontDoorsMappers.js +0 -11
- package/esm/models/frontDoorsMappers.js.map +0 -1
- package/esm/models/frontendEndpointsMappers.d.ts +0 -2
- package/esm/models/frontendEndpointsMappers.d.ts.map +0 -1
- package/esm/models/frontendEndpointsMappers.js +0 -11
- package/esm/models/frontendEndpointsMappers.js.map +0 -1
- package/esm/models/healthProbeSettingsMappers.d.ts +0 -2
- package/esm/models/healthProbeSettingsMappers.d.ts.map +0 -1
- package/esm/models/healthProbeSettingsMappers.js +0 -11
- package/esm/models/healthProbeSettingsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2143
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/loadBalancingSettingsMappers.d.ts +0 -2
- package/esm/models/loadBalancingSettingsMappers.d.ts.map +0 -1
- package/esm/models/loadBalancingSettingsMappers.js +0 -11
- package/esm/models/loadBalancingSettingsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -53
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -1653
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -181
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policiesMappers.d.ts +0 -2
- package/esm/models/policiesMappers.d.ts.map +0 -1
- package/esm/models/policiesMappers.js +0 -11
- package/esm/models/policiesMappers.js.map +0 -1
- package/esm/models/routingRulesMappers.d.ts +0 -2
- package/esm/models/routingRulesMappers.d.ts.map +0 -1
- package/esm/models/routingRulesMappers.js +0 -11
- package/esm/models/routingRulesMappers.js.map +0 -1
- package/esm/operations/backendPools.d.ts +0 -115
- package/esm/operations/backendPools.d.ts.map +0 -1
- package/esm/operations/backendPools.js +0 -236
- package/esm/operations/backendPools.js.map +0 -1
- package/esm/operations/endpoints.d.ts +0 -36
- package/esm/operations/endpoints.d.ts.map +0 -1
- package/esm/operations/endpoints.js +0 -87
- package/esm/operations/endpoints.js.map +0 -1
- package/esm/operations/frontDoors.d.ts +0 -165
- package/esm/operations/frontDoors.d.ts.map +0 -1
- package/esm/operations/frontDoors.js +0 -315
- package/esm/operations/frontDoors.js.map +0 -1
- package/esm/operations/frontendEndpoints.d.ts +0 -153
- package/esm/operations/frontendEndpoints.d.ts.map +0 -1
- package/esm/operations/frontendEndpoints.js +0 -347
- package/esm/operations/frontendEndpoints.js.map +0 -1
- package/esm/operations/healthProbeSettings.d.ts +0 -124
- package/esm/operations/healthProbeSettings.d.ts.map +0 -1
- package/esm/operations/healthProbeSettings.js +0 -242
- package/esm/operations/healthProbeSettings.js.map +0 -1
- package/esm/operations/index.d.ts +0 -9
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -18
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/loadBalancingSettings.d.ts +0 -126
- package/esm/operations/loadBalancingSettings.d.ts.map +0 -1
- package/esm/operations/loadBalancingSettings.js +0 -244
- package/esm/operations/loadBalancingSettings.js.map +0 -1
- package/esm/operations/policies.d.ts +0 -111
- package/esm/operations/policies.d.ts.map +0 -1
- package/esm/operations/policies.js +0 -202
- package/esm/operations/policies.js.map +0 -1
- package/esm/operations/routingRules.d.ts +0 -115
- package/esm/operations/routingRules.d.ts.map +0 -1
- package/esm/operations/routingRules.js +0 -236
- package/esm/operations/routingRules.js.map +0 -1
- package/lib/frontDoorManagementClient.ts +0 -171
- package/lib/frontDoorManagementClientContext.ts +0 -61
- package/lib/models/backendPoolsMappers.ts +0 -39
- package/lib/models/endpointsMappers.ts +0 -16
- package/lib/models/frontDoorsMappers.ts +0 -41
- package/lib/models/frontendEndpointsMappers.ts +0 -39
- package/lib/models/healthProbeSettingsMappers.ts +0 -39
- package/lib/models/index.ts +0 -2261
- package/lib/models/loadBalancingSettingsMappers.ts +0 -39
- package/lib/models/mappers.ts +0 -1772
- package/lib/models/parameters.ts +0 -183
- package/lib/models/policiesMappers.ts +0 -40
- package/lib/models/routingRulesMappers.ts +0 -39
- package/lib/operations/backendPools.ts +0 -332
- package/lib/operations/endpoints.ts +0 -99
- package/lib/operations/frontDoors.ts +0 -481
- package/lib/operations/frontendEndpoints.ts +0 -458
- package/lib/operations/healthProbeSettings.ts +0 -341
- package/lib/operations/index.ts +0 -18
- package/lib/operations/loadBalancingSettings.ts +0 -343
- package/lib/operations/policies.ts +0 -315
- package/lib/operations/routingRules.ts +0 -332
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/frontDoorsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { FrontDoorManagementClientContext } from "../frontDoorManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a FrontDoors. */
|
|
19
|
-
export class FrontDoors {
|
|
20
|
-
private readonly client: FrontDoorManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a FrontDoors.
|
|
24
|
-
* @param {FrontDoorManagementClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: FrontDoorManagementClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Lists all of the Front Doors within an Azure subscription.
|
|
32
|
-
* @param [options] The optional parameters
|
|
33
|
-
* @returns Promise<Models.FrontDoorsListResponse>
|
|
34
|
-
*/
|
|
35
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsListResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* @param callback The callback
|
|
38
|
-
*/
|
|
39
|
-
list(callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
45
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FrontDoorListResult>, callback?: msRest.ServiceCallback<Models.FrontDoorListResult>): Promise<Models.FrontDoorsListResponse> {
|
|
46
|
-
return this.client.sendOperationRequest(
|
|
47
|
-
{
|
|
48
|
-
options
|
|
49
|
-
},
|
|
50
|
-
listOperationSpec,
|
|
51
|
-
callback) as Promise<Models.FrontDoorsListResponse>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Lists all of the Front Doors within a resource group under a subscription.
|
|
56
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
57
|
-
* @param [options] The optional parameters
|
|
58
|
-
* @returns Promise<Models.FrontDoorsListByResourceGroupResponse>
|
|
59
|
-
*/
|
|
60
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsListByResourceGroupResponse>;
|
|
61
|
-
/**
|
|
62
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
63
|
-
* @param callback The callback
|
|
64
|
-
*/
|
|
65
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
66
|
-
/**
|
|
67
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
68
|
-
* @param options The optional parameters
|
|
69
|
-
* @param callback The callback
|
|
70
|
-
*/
|
|
71
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
72
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FrontDoorListResult>, callback?: msRest.ServiceCallback<Models.FrontDoorListResult>): Promise<Models.FrontDoorsListByResourceGroupResponse> {
|
|
73
|
-
return this.client.sendOperationRequest(
|
|
74
|
-
{
|
|
75
|
-
resourceGroupName,
|
|
76
|
-
options
|
|
77
|
-
},
|
|
78
|
-
listByResourceGroupOperationSpec,
|
|
79
|
-
callback) as Promise<Models.FrontDoorsListByResourceGroupResponse>;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Gets a Front Door with the specified Front Door name under the specified subscription and
|
|
84
|
-
* resource group.
|
|
85
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
86
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
87
|
-
* @param [options] The optional parameters
|
|
88
|
-
* @returns Promise<Models.FrontDoorsGetResponse>
|
|
89
|
-
*/
|
|
90
|
-
get(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsGetResponse>;
|
|
91
|
-
/**
|
|
92
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
93
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
94
|
-
* @param callback The callback
|
|
95
|
-
*/
|
|
96
|
-
get(resourceGroupName: string, frontDoorName: string, callback: msRest.ServiceCallback<Models.FrontDoor>): void;
|
|
97
|
-
/**
|
|
98
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
99
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
100
|
-
* @param options The optional parameters
|
|
101
|
-
* @param callback The callback
|
|
102
|
-
*/
|
|
103
|
-
get(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FrontDoor>): void;
|
|
104
|
-
get(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FrontDoor>, callback?: msRest.ServiceCallback<Models.FrontDoor>): Promise<Models.FrontDoorsGetResponse> {
|
|
105
|
-
return this.client.sendOperationRequest(
|
|
106
|
-
{
|
|
107
|
-
resourceGroupName,
|
|
108
|
-
frontDoorName,
|
|
109
|
-
options
|
|
110
|
-
},
|
|
111
|
-
getOperationSpec,
|
|
112
|
-
callback) as Promise<Models.FrontDoorsGetResponse>;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Creates a new Front Door with a Front Door name under the specified subscription and resource
|
|
117
|
-
* group.
|
|
118
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
119
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
120
|
-
* @param frontDoorParameters Front Door properties needed to create a new Front Door.
|
|
121
|
-
* @param [options] The optional parameters
|
|
122
|
-
* @returns Promise<Models.FrontDoorsCreateOrUpdateResponse>
|
|
123
|
-
*/
|
|
124
|
-
createOrUpdate(resourceGroupName: string, frontDoorName: string, frontDoorParameters: Models.FrontDoor, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsCreateOrUpdateResponse> {
|
|
125
|
-
return this.beginCreateOrUpdate(resourceGroupName,frontDoorName,frontDoorParameters,options)
|
|
126
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.FrontDoorsCreateOrUpdateResponse>;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Deletes an existing Front Door with the specified parameters.
|
|
131
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
132
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
133
|
-
* @param [options] The optional parameters
|
|
134
|
-
* @returns Promise<msRest.RestResponse>
|
|
135
|
-
*/
|
|
136
|
-
deleteMethod(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
137
|
-
return this.beginDeleteMethod(resourceGroupName,frontDoorName,options)
|
|
138
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.
|
|
143
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
144
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
145
|
-
* @param customDomainProperties Custom domain to be validated.
|
|
146
|
-
* @param [options] The optional parameters
|
|
147
|
-
* @returns Promise<Models.FrontDoorsValidateCustomDomainResponse>
|
|
148
|
-
*/
|
|
149
|
-
validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsValidateCustomDomainResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
152
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
153
|
-
* @param customDomainProperties Custom domain to be validated.
|
|
154
|
-
* @param callback The callback
|
|
155
|
-
*/
|
|
156
|
-
validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, callback: msRest.ServiceCallback<Models.ValidateCustomDomainOutput>): void;
|
|
157
|
-
/**
|
|
158
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
159
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
160
|
-
* @param customDomainProperties Custom domain to be validated.
|
|
161
|
-
* @param options The optional parameters
|
|
162
|
-
* @param callback The callback
|
|
163
|
-
*/
|
|
164
|
-
validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ValidateCustomDomainOutput>): void;
|
|
165
|
-
validateCustomDomain(resourceGroupName: string, frontDoorName: string, customDomainProperties: Models.ValidateCustomDomainInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ValidateCustomDomainOutput>, callback?: msRest.ServiceCallback<Models.ValidateCustomDomainOutput>): Promise<Models.FrontDoorsValidateCustomDomainResponse> {
|
|
166
|
-
return this.client.sendOperationRequest(
|
|
167
|
-
{
|
|
168
|
-
resourceGroupName,
|
|
169
|
-
frontDoorName,
|
|
170
|
-
customDomainProperties,
|
|
171
|
-
options
|
|
172
|
-
},
|
|
173
|
-
validateCustomDomainOperationSpec,
|
|
174
|
-
callback) as Promise<Models.FrontDoorsValidateCustomDomainResponse>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Creates a new Front Door with a Front Door name under the specified subscription and resource
|
|
179
|
-
* group.
|
|
180
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
181
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
182
|
-
* @param frontDoorParameters Front Door properties needed to create a new Front Door.
|
|
183
|
-
* @param [options] The optional parameters
|
|
184
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
185
|
-
*/
|
|
186
|
-
beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, frontDoorParameters: Models.FrontDoor, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
187
|
-
return this.client.sendLRORequest(
|
|
188
|
-
{
|
|
189
|
-
resourceGroupName,
|
|
190
|
-
frontDoorName,
|
|
191
|
-
frontDoorParameters,
|
|
192
|
-
options
|
|
193
|
-
},
|
|
194
|
-
beginCreateOrUpdateOperationSpec,
|
|
195
|
-
options);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Deletes an existing Front Door with the specified parameters.
|
|
200
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
201
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
202
|
-
* @param [options] The optional parameters
|
|
203
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
204
|
-
*/
|
|
205
|
-
beginDeleteMethod(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
206
|
-
return this.client.sendLRORequest(
|
|
207
|
-
{
|
|
208
|
-
resourceGroupName,
|
|
209
|
-
frontDoorName,
|
|
210
|
-
options
|
|
211
|
-
},
|
|
212
|
-
beginDeleteMethodOperationSpec,
|
|
213
|
-
options);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Lists all of the Front Doors within an Azure subscription.
|
|
218
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
219
|
-
* @param [options] The optional parameters
|
|
220
|
-
* @returns Promise<Models.FrontDoorsListNextResponse>
|
|
221
|
-
*/
|
|
222
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsListNextResponse>;
|
|
223
|
-
/**
|
|
224
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
225
|
-
* @param callback The callback
|
|
226
|
-
*/
|
|
227
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
228
|
-
/**
|
|
229
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
230
|
-
* @param options The optional parameters
|
|
231
|
-
* @param callback The callback
|
|
232
|
-
*/
|
|
233
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
234
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FrontDoorListResult>, callback?: msRest.ServiceCallback<Models.FrontDoorListResult>): Promise<Models.FrontDoorsListNextResponse> {
|
|
235
|
-
return this.client.sendOperationRequest(
|
|
236
|
-
{
|
|
237
|
-
nextPageLink,
|
|
238
|
-
options
|
|
239
|
-
},
|
|
240
|
-
listNextOperationSpec,
|
|
241
|
-
callback) as Promise<Models.FrontDoorsListNextResponse>;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* Lists all of the Front Doors within a resource group under a subscription.
|
|
246
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
247
|
-
* @param [options] The optional parameters
|
|
248
|
-
* @returns Promise<Models.FrontDoorsListByResourceGroupNextResponse>
|
|
249
|
-
*/
|
|
250
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.FrontDoorsListByResourceGroupNextResponse>;
|
|
251
|
-
/**
|
|
252
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
253
|
-
* @param callback The callback
|
|
254
|
-
*/
|
|
255
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
256
|
-
/**
|
|
257
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
258
|
-
* @param options The optional parameters
|
|
259
|
-
* @param callback The callback
|
|
260
|
-
*/
|
|
261
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.FrontDoorListResult>): void;
|
|
262
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.FrontDoorListResult>, callback?: msRest.ServiceCallback<Models.FrontDoorListResult>): Promise<Models.FrontDoorsListByResourceGroupNextResponse> {
|
|
263
|
-
return this.client.sendOperationRequest(
|
|
264
|
-
{
|
|
265
|
-
nextPageLink,
|
|
266
|
-
options
|
|
267
|
-
},
|
|
268
|
-
listByResourceGroupNextOperationSpec,
|
|
269
|
-
callback) as Promise<Models.FrontDoorsListByResourceGroupNextResponse>;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
// Operation Specifications
|
|
274
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
275
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
276
|
-
httpMethod: "GET",
|
|
277
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors",
|
|
278
|
-
urlParameters: [
|
|
279
|
-
Parameters.subscriptionId
|
|
280
|
-
],
|
|
281
|
-
queryParameters: [
|
|
282
|
-
Parameters.apiVersion
|
|
283
|
-
],
|
|
284
|
-
headerParameters: [
|
|
285
|
-
Parameters.acceptLanguage
|
|
286
|
-
],
|
|
287
|
-
responses: {
|
|
288
|
-
200: {
|
|
289
|
-
bodyMapper: Mappers.FrontDoorListResult
|
|
290
|
-
},
|
|
291
|
-
default: {
|
|
292
|
-
bodyMapper: Mappers.ErrorResponse
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
serializer
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
299
|
-
httpMethod: "GET",
|
|
300
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors",
|
|
301
|
-
urlParameters: [
|
|
302
|
-
Parameters.subscriptionId,
|
|
303
|
-
Parameters.resourceGroupName0
|
|
304
|
-
],
|
|
305
|
-
queryParameters: [
|
|
306
|
-
Parameters.apiVersion
|
|
307
|
-
],
|
|
308
|
-
headerParameters: [
|
|
309
|
-
Parameters.acceptLanguage
|
|
310
|
-
],
|
|
311
|
-
responses: {
|
|
312
|
-
200: {
|
|
313
|
-
bodyMapper: Mappers.FrontDoorListResult
|
|
314
|
-
},
|
|
315
|
-
default: {
|
|
316
|
-
bodyMapper: Mappers.ErrorResponse
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
serializer
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
323
|
-
httpMethod: "GET",
|
|
324
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}",
|
|
325
|
-
urlParameters: [
|
|
326
|
-
Parameters.subscriptionId,
|
|
327
|
-
Parameters.resourceGroupName0,
|
|
328
|
-
Parameters.frontDoorName
|
|
329
|
-
],
|
|
330
|
-
queryParameters: [
|
|
331
|
-
Parameters.apiVersion
|
|
332
|
-
],
|
|
333
|
-
headerParameters: [
|
|
334
|
-
Parameters.acceptLanguage
|
|
335
|
-
],
|
|
336
|
-
responses: {
|
|
337
|
-
200: {
|
|
338
|
-
bodyMapper: Mappers.FrontDoor
|
|
339
|
-
},
|
|
340
|
-
default: {
|
|
341
|
-
bodyMapper: Mappers.ErrorResponse
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
serializer
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
const validateCustomDomainOperationSpec: msRest.OperationSpec = {
|
|
348
|
-
httpMethod: "POST",
|
|
349
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/validateCustomDomain",
|
|
350
|
-
urlParameters: [
|
|
351
|
-
Parameters.subscriptionId,
|
|
352
|
-
Parameters.resourceGroupName0,
|
|
353
|
-
Parameters.frontDoorName
|
|
354
|
-
],
|
|
355
|
-
queryParameters: [
|
|
356
|
-
Parameters.apiVersion
|
|
357
|
-
],
|
|
358
|
-
headerParameters: [
|
|
359
|
-
Parameters.acceptLanguage
|
|
360
|
-
],
|
|
361
|
-
requestBody: {
|
|
362
|
-
parameterPath: "customDomainProperties",
|
|
363
|
-
mapper: {
|
|
364
|
-
...Mappers.ValidateCustomDomainInput,
|
|
365
|
-
required: true
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
responses: {
|
|
369
|
-
200: {
|
|
370
|
-
bodyMapper: Mappers.ValidateCustomDomainOutput
|
|
371
|
-
},
|
|
372
|
-
default: {
|
|
373
|
-
bodyMapper: Mappers.ErrorResponse
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
serializer
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
380
|
-
httpMethod: "PUT",
|
|
381
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}",
|
|
382
|
-
urlParameters: [
|
|
383
|
-
Parameters.subscriptionId,
|
|
384
|
-
Parameters.resourceGroupName0,
|
|
385
|
-
Parameters.frontDoorName
|
|
386
|
-
],
|
|
387
|
-
queryParameters: [
|
|
388
|
-
Parameters.apiVersion
|
|
389
|
-
],
|
|
390
|
-
headerParameters: [
|
|
391
|
-
Parameters.acceptLanguage
|
|
392
|
-
],
|
|
393
|
-
requestBody: {
|
|
394
|
-
parameterPath: "frontDoorParameters",
|
|
395
|
-
mapper: {
|
|
396
|
-
...Mappers.FrontDoor,
|
|
397
|
-
required: true
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
responses: {
|
|
401
|
-
200: {
|
|
402
|
-
bodyMapper: Mappers.FrontDoor
|
|
403
|
-
},
|
|
404
|
-
201: {
|
|
405
|
-
bodyMapper: Mappers.FrontDoor
|
|
406
|
-
},
|
|
407
|
-
202: {
|
|
408
|
-
bodyMapper: Mappers.FrontDoor
|
|
409
|
-
},
|
|
410
|
-
default: {
|
|
411
|
-
bodyMapper: Mappers.ErrorResponse
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
|
-
serializer
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
418
|
-
httpMethod: "DELETE",
|
|
419
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}",
|
|
420
|
-
urlParameters: [
|
|
421
|
-
Parameters.subscriptionId,
|
|
422
|
-
Parameters.resourceGroupName0,
|
|
423
|
-
Parameters.frontDoorName
|
|
424
|
-
],
|
|
425
|
-
queryParameters: [
|
|
426
|
-
Parameters.apiVersion
|
|
427
|
-
],
|
|
428
|
-
headerParameters: [
|
|
429
|
-
Parameters.acceptLanguage
|
|
430
|
-
],
|
|
431
|
-
responses: {
|
|
432
|
-
202: {},
|
|
433
|
-
204: {},
|
|
434
|
-
default: {
|
|
435
|
-
bodyMapper: Mappers.ErrorResponse
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
serializer
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
442
|
-
httpMethod: "GET",
|
|
443
|
-
baseUrl: "https://management.azure.com",
|
|
444
|
-
path: "{nextLink}",
|
|
445
|
-
urlParameters: [
|
|
446
|
-
Parameters.nextPageLink
|
|
447
|
-
],
|
|
448
|
-
headerParameters: [
|
|
449
|
-
Parameters.acceptLanguage
|
|
450
|
-
],
|
|
451
|
-
responses: {
|
|
452
|
-
200: {
|
|
453
|
-
bodyMapper: Mappers.FrontDoorListResult
|
|
454
|
-
},
|
|
455
|
-
default: {
|
|
456
|
-
bodyMapper: Mappers.ErrorResponse
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
serializer
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
463
|
-
httpMethod: "GET",
|
|
464
|
-
baseUrl: "https://management.azure.com",
|
|
465
|
-
path: "{nextLink}",
|
|
466
|
-
urlParameters: [
|
|
467
|
-
Parameters.nextPageLink
|
|
468
|
-
],
|
|
469
|
-
headerParameters: [
|
|
470
|
-
Parameters.acceptLanguage
|
|
471
|
-
],
|
|
472
|
-
responses: {
|
|
473
|
-
200: {
|
|
474
|
-
bodyMapper: Mappers.FrontDoorListResult
|
|
475
|
-
},
|
|
476
|
-
default: {
|
|
477
|
-
bodyMapper: Mappers.ErrorResponse
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
serializer
|
|
481
|
-
};
|