@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
package/lib/models/parameters.ts
DELETED
|
@@ -1,183 +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
|
-
|
|
13
|
-
export const acceptLanguage: msRest.OperationParameter = {
|
|
14
|
-
parameterPath: "acceptLanguage",
|
|
15
|
-
mapper: {
|
|
16
|
-
serializedName: "accept-language",
|
|
17
|
-
defaultValue: 'en-US',
|
|
18
|
-
type: {
|
|
19
|
-
name: "String"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export const apiVersion: msRest.OperationQueryParameter = {
|
|
24
|
-
parameterPath: "apiVersion",
|
|
25
|
-
mapper: {
|
|
26
|
-
required: true,
|
|
27
|
-
isConstant: true,
|
|
28
|
-
serializedName: "api-version",
|
|
29
|
-
defaultValue: '2018-08-01',
|
|
30
|
-
type: {
|
|
31
|
-
name: "String"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
export const backendPoolName: msRest.OperationURLParameter = {
|
|
36
|
-
parameterPath: "backendPoolName",
|
|
37
|
-
mapper: {
|
|
38
|
-
required: true,
|
|
39
|
-
serializedName: "backendPoolName",
|
|
40
|
-
constraints: {
|
|
41
|
-
MaxLength: 90,
|
|
42
|
-
MinLength: 1,
|
|
43
|
-
Pattern: /^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$/
|
|
44
|
-
},
|
|
45
|
-
type: {
|
|
46
|
-
name: "String"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
export const frontDoorName: msRest.OperationURLParameter = {
|
|
51
|
-
parameterPath: "frontDoorName",
|
|
52
|
-
mapper: {
|
|
53
|
-
required: true,
|
|
54
|
-
serializedName: "frontDoorName",
|
|
55
|
-
constraints: {
|
|
56
|
-
MaxLength: 64,
|
|
57
|
-
MinLength: 5,
|
|
58
|
-
Pattern: /^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$/
|
|
59
|
-
},
|
|
60
|
-
type: {
|
|
61
|
-
name: "String"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
export const frontendEndpointName: msRest.OperationURLParameter = {
|
|
66
|
-
parameterPath: "frontendEndpointName",
|
|
67
|
-
mapper: {
|
|
68
|
-
required: true,
|
|
69
|
-
serializedName: "frontendEndpointName",
|
|
70
|
-
constraints: {
|
|
71
|
-
MaxLength: 255,
|
|
72
|
-
MinLength: 1,
|
|
73
|
-
Pattern: /^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$/
|
|
74
|
-
},
|
|
75
|
-
type: {
|
|
76
|
-
name: "String"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
export const healthProbeSettingsName: msRest.OperationURLParameter = {
|
|
81
|
-
parameterPath: "healthProbeSettingsName",
|
|
82
|
-
mapper: {
|
|
83
|
-
required: true,
|
|
84
|
-
serializedName: "healthProbeSettingsName",
|
|
85
|
-
constraints: {
|
|
86
|
-
MaxLength: 90,
|
|
87
|
-
MinLength: 1,
|
|
88
|
-
Pattern: /^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$/
|
|
89
|
-
},
|
|
90
|
-
type: {
|
|
91
|
-
name: "String"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
export const loadBalancingSettingsName: msRest.OperationURLParameter = {
|
|
96
|
-
parameterPath: "loadBalancingSettingsName",
|
|
97
|
-
mapper: {
|
|
98
|
-
required: true,
|
|
99
|
-
serializedName: "loadBalancingSettingsName",
|
|
100
|
-
constraints: {
|
|
101
|
-
MaxLength: 90,
|
|
102
|
-
MinLength: 1,
|
|
103
|
-
Pattern: /^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$/
|
|
104
|
-
},
|
|
105
|
-
type: {
|
|
106
|
-
name: "String"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
export const nextPageLink: msRest.OperationURLParameter = {
|
|
111
|
-
parameterPath: "nextPageLink",
|
|
112
|
-
mapper: {
|
|
113
|
-
required: true,
|
|
114
|
-
serializedName: "nextLink",
|
|
115
|
-
type: {
|
|
116
|
-
name: "String"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
skipEncoding: true
|
|
120
|
-
};
|
|
121
|
-
export const policyName: msRest.OperationURLParameter = {
|
|
122
|
-
parameterPath: "policyName",
|
|
123
|
-
mapper: {
|
|
124
|
-
required: true,
|
|
125
|
-
serializedName: "policyName",
|
|
126
|
-
constraints: {
|
|
127
|
-
MaxLength: 128
|
|
128
|
-
},
|
|
129
|
-
type: {
|
|
130
|
-
name: "String"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
export const resourceGroupName0: msRest.OperationURLParameter = {
|
|
135
|
-
parameterPath: "resourceGroupName",
|
|
136
|
-
mapper: {
|
|
137
|
-
required: true,
|
|
138
|
-
serializedName: "resourceGroupName",
|
|
139
|
-
constraints: {
|
|
140
|
-
MaxLength: 80,
|
|
141
|
-
MinLength: 1,
|
|
142
|
-
Pattern: /^[a-zA-Z0-9_\-\(\)\.]*[^\.]$/
|
|
143
|
-
},
|
|
144
|
-
type: {
|
|
145
|
-
name: "String"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
export const resourceGroupName1: msRest.OperationURLParameter = {
|
|
150
|
-
parameterPath: "resourceGroupName",
|
|
151
|
-
mapper: {
|
|
152
|
-
required: true,
|
|
153
|
-
serializedName: "resourceGroupName",
|
|
154
|
-
type: {
|
|
155
|
-
name: "String"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
export const routingRuleName: msRest.OperationURLParameter = {
|
|
160
|
-
parameterPath: "routingRuleName",
|
|
161
|
-
mapper: {
|
|
162
|
-
required: true,
|
|
163
|
-
serializedName: "routingRuleName",
|
|
164
|
-
constraints: {
|
|
165
|
-
MaxLength: 90,
|
|
166
|
-
MinLength: 1,
|
|
167
|
-
Pattern: /^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$/
|
|
168
|
-
},
|
|
169
|
-
type: {
|
|
170
|
-
name: "String"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
export const subscriptionId: msRest.OperationURLParameter = {
|
|
175
|
-
parameterPath: "subscriptionId",
|
|
176
|
-
mapper: {
|
|
177
|
-
required: true,
|
|
178
|
-
serializedName: "subscriptionId",
|
|
179
|
-
type: {
|
|
180
|
-
name: "String"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
};
|
|
@@ -1,40 +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
|
-
export {
|
|
12
|
-
discriminators,
|
|
13
|
-
WebApplicationFirewallPolicyListResult,
|
|
14
|
-
WebApplicationFirewallPolicy1,
|
|
15
|
-
Resource,
|
|
16
|
-
BaseResource,
|
|
17
|
-
PolicySettings,
|
|
18
|
-
CustomRules,
|
|
19
|
-
CustomRule,
|
|
20
|
-
MatchCondition1,
|
|
21
|
-
ManagedRuleSets,
|
|
22
|
-
ManagedRuleSet,
|
|
23
|
-
ErrorResponse,
|
|
24
|
-
CloudError,
|
|
25
|
-
FrontDoor,
|
|
26
|
-
RoutingRule,
|
|
27
|
-
SubResource,
|
|
28
|
-
CacheConfiguration,
|
|
29
|
-
LoadBalancingSettingsModel,
|
|
30
|
-
HealthProbeSettingsModel,
|
|
31
|
-
BackendPool,
|
|
32
|
-
Backend,
|
|
33
|
-
FrontendEndpoint,
|
|
34
|
-
FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink,
|
|
35
|
-
CustomHttpsConfiguration,
|
|
36
|
-
KeyVaultCertificateSourceParametersVault,
|
|
37
|
-
AzureManagedRuleSet,
|
|
38
|
-
AzureManagedOverrideRuleGroup
|
|
39
|
-
} from "../models/mappers";
|
|
40
|
-
|
|
@@ -1,39 +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
|
-
export {
|
|
12
|
-
discriminators,
|
|
13
|
-
RoutingRuleListResult,
|
|
14
|
-
RoutingRule,
|
|
15
|
-
SubResource,
|
|
16
|
-
BaseResource,
|
|
17
|
-
CacheConfiguration,
|
|
18
|
-
ErrorResponse,
|
|
19
|
-
LoadBalancingSettingsModel,
|
|
20
|
-
HealthProbeSettingsModel,
|
|
21
|
-
BackendPool,
|
|
22
|
-
Backend,
|
|
23
|
-
FrontendEndpoint,
|
|
24
|
-
FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink,
|
|
25
|
-
CustomHttpsConfiguration,
|
|
26
|
-
KeyVaultCertificateSourceParametersVault,
|
|
27
|
-
Resource,
|
|
28
|
-
WebApplicationFirewallPolicy1,
|
|
29
|
-
PolicySettings,
|
|
30
|
-
CustomRules,
|
|
31
|
-
CustomRule,
|
|
32
|
-
MatchCondition1,
|
|
33
|
-
ManagedRuleSets,
|
|
34
|
-
ManagedRuleSet,
|
|
35
|
-
AzureManagedRuleSet,
|
|
36
|
-
AzureManagedOverrideRuleGroup,
|
|
37
|
-
FrontDoor
|
|
38
|
-
} from "../models/mappers";
|
|
39
|
-
|
|
@@ -1,332 +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/backendPoolsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { FrontDoorManagementClientContext } from "../frontDoorManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a BackendPools. */
|
|
19
|
-
export class BackendPools {
|
|
20
|
-
private readonly client: FrontDoorManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a BackendPools.
|
|
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 Backend Pools within a Front Door.
|
|
32
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
33
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.BackendPoolsListByFrontDoorResponse>
|
|
36
|
-
*/
|
|
37
|
-
listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase): Promise<Models.BackendPoolsListByFrontDoorResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
40
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
listByFrontDoor(resourceGroupName: string, frontDoorName: string, callback: msRest.ServiceCallback<Models.BackendPoolListResult>): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
46
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
47
|
-
* @param options The optional parameters
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
listByFrontDoor(resourceGroupName: string, frontDoorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BackendPoolListResult>): void;
|
|
51
|
-
listByFrontDoor(resourceGroupName: string, frontDoorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BackendPoolListResult>, callback?: msRest.ServiceCallback<Models.BackendPoolListResult>): Promise<Models.BackendPoolsListByFrontDoorResponse> {
|
|
52
|
-
return this.client.sendOperationRequest(
|
|
53
|
-
{
|
|
54
|
-
resourceGroupName,
|
|
55
|
-
frontDoorName,
|
|
56
|
-
options
|
|
57
|
-
},
|
|
58
|
-
listByFrontDoorOperationSpec,
|
|
59
|
-
callback) as Promise<Models.BackendPoolsListByFrontDoorResponse>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Gets a Backend Pool with the specified Pool name within the specified Front Door.
|
|
64
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
65
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
66
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<Models.BackendPoolsGetResponse>
|
|
69
|
-
*/
|
|
70
|
-
get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase): Promise<Models.BackendPoolsGetResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
73
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
74
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, callback: msRest.ServiceCallback<Models.BackendPool>): void;
|
|
78
|
-
/**
|
|
79
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
80
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
81
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
82
|
-
* @param options The optional parameters
|
|
83
|
-
* @param callback The callback
|
|
84
|
-
*/
|
|
85
|
-
get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BackendPool>): void;
|
|
86
|
-
get(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BackendPool>, callback?: msRest.ServiceCallback<Models.BackendPool>): Promise<Models.BackendPoolsGetResponse> {
|
|
87
|
-
return this.client.sendOperationRequest(
|
|
88
|
-
{
|
|
89
|
-
resourceGroupName,
|
|
90
|
-
frontDoorName,
|
|
91
|
-
backendPoolName,
|
|
92
|
-
options
|
|
93
|
-
},
|
|
94
|
-
getOperationSpec,
|
|
95
|
-
callback) as Promise<Models.BackendPoolsGetResponse>;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Creates a new Backend Pool with the specified Pool name within the specified Front Door.
|
|
100
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
101
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
102
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
103
|
-
* @param backendPoolParameters Backend Pool properties needed to create a new Pool.
|
|
104
|
-
* @param [options] The optional parameters
|
|
105
|
-
* @returns Promise<Models.BackendPoolsCreateOrUpdateResponse>
|
|
106
|
-
*/
|
|
107
|
-
createOrUpdate(resourceGroupName: string, frontDoorName: string, backendPoolName: string, backendPoolParameters: Models.BackendPool, options?: msRest.RequestOptionsBase): Promise<Models.BackendPoolsCreateOrUpdateResponse> {
|
|
108
|
-
return this.beginCreateOrUpdate(resourceGroupName,frontDoorName,backendPoolName,backendPoolParameters,options)
|
|
109
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.BackendPoolsCreateOrUpdateResponse>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Deletes an existing Backend Pool with the specified parameters.
|
|
114
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
115
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
116
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
117
|
-
* @param [options] The optional parameters
|
|
118
|
-
* @returns Promise<msRest.RestResponse>
|
|
119
|
-
*/
|
|
120
|
-
deleteMethod(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
121
|
-
return this.beginDeleteMethod(resourceGroupName,frontDoorName,backendPoolName,options)
|
|
122
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Creates a new Backend Pool with the specified Pool name within the specified Front Door.
|
|
127
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
128
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
129
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
130
|
-
* @param backendPoolParameters Backend Pool properties needed to create a new Pool.
|
|
131
|
-
* @param [options] The optional parameters
|
|
132
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
133
|
-
*/
|
|
134
|
-
beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, backendPoolName: string, backendPoolParameters: Models.BackendPool, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
135
|
-
return this.client.sendLRORequest(
|
|
136
|
-
{
|
|
137
|
-
resourceGroupName,
|
|
138
|
-
frontDoorName,
|
|
139
|
-
backendPoolName,
|
|
140
|
-
backendPoolParameters,
|
|
141
|
-
options
|
|
142
|
-
},
|
|
143
|
-
beginCreateOrUpdateOperationSpec,
|
|
144
|
-
options);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Deletes an existing Backend Pool with the specified parameters.
|
|
149
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
150
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
151
|
-
* @param backendPoolName Name of the Backend Pool which is unique within the Front Door.
|
|
152
|
-
* @param [options] The optional parameters
|
|
153
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
154
|
-
*/
|
|
155
|
-
beginDeleteMethod(resourceGroupName: string, frontDoorName: string, backendPoolName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
156
|
-
return this.client.sendLRORequest(
|
|
157
|
-
{
|
|
158
|
-
resourceGroupName,
|
|
159
|
-
frontDoorName,
|
|
160
|
-
backendPoolName,
|
|
161
|
-
options
|
|
162
|
-
},
|
|
163
|
-
beginDeleteMethodOperationSpec,
|
|
164
|
-
options);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Lists all of the Backend Pools within a Front Door.
|
|
169
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
170
|
-
* @param [options] The optional parameters
|
|
171
|
-
* @returns Promise<Models.BackendPoolsListByFrontDoorNextResponse>
|
|
172
|
-
*/
|
|
173
|
-
listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BackendPoolsListByFrontDoorNextResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
176
|
-
* @param callback The callback
|
|
177
|
-
*/
|
|
178
|
-
listByFrontDoorNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BackendPoolListResult>): void;
|
|
179
|
-
/**
|
|
180
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
181
|
-
* @param options The optional parameters
|
|
182
|
-
* @param callback The callback
|
|
183
|
-
*/
|
|
184
|
-
listByFrontDoorNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BackendPoolListResult>): void;
|
|
185
|
-
listByFrontDoorNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BackendPoolListResult>, callback?: msRest.ServiceCallback<Models.BackendPoolListResult>): Promise<Models.BackendPoolsListByFrontDoorNextResponse> {
|
|
186
|
-
return this.client.sendOperationRequest(
|
|
187
|
-
{
|
|
188
|
-
nextPageLink,
|
|
189
|
-
options
|
|
190
|
-
},
|
|
191
|
-
listByFrontDoorNextOperationSpec,
|
|
192
|
-
callback) as Promise<Models.BackendPoolsListByFrontDoorNextResponse>;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// Operation Specifications
|
|
197
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
198
|
-
const listByFrontDoorOperationSpec: msRest.OperationSpec = {
|
|
199
|
-
httpMethod: "GET",
|
|
200
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools",
|
|
201
|
-
urlParameters: [
|
|
202
|
-
Parameters.subscriptionId,
|
|
203
|
-
Parameters.resourceGroupName0,
|
|
204
|
-
Parameters.frontDoorName
|
|
205
|
-
],
|
|
206
|
-
queryParameters: [
|
|
207
|
-
Parameters.apiVersion
|
|
208
|
-
],
|
|
209
|
-
headerParameters: [
|
|
210
|
-
Parameters.acceptLanguage
|
|
211
|
-
],
|
|
212
|
-
responses: {
|
|
213
|
-
200: {
|
|
214
|
-
bodyMapper: Mappers.BackendPoolListResult
|
|
215
|
-
},
|
|
216
|
-
default: {
|
|
217
|
-
bodyMapper: Mappers.ErrorResponse
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
serializer
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
224
|
-
httpMethod: "GET",
|
|
225
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools/{backendPoolName}",
|
|
226
|
-
urlParameters: [
|
|
227
|
-
Parameters.subscriptionId,
|
|
228
|
-
Parameters.resourceGroupName0,
|
|
229
|
-
Parameters.frontDoorName,
|
|
230
|
-
Parameters.backendPoolName
|
|
231
|
-
],
|
|
232
|
-
queryParameters: [
|
|
233
|
-
Parameters.apiVersion
|
|
234
|
-
],
|
|
235
|
-
headerParameters: [
|
|
236
|
-
Parameters.acceptLanguage
|
|
237
|
-
],
|
|
238
|
-
responses: {
|
|
239
|
-
200: {
|
|
240
|
-
bodyMapper: Mappers.BackendPool
|
|
241
|
-
},
|
|
242
|
-
default: {
|
|
243
|
-
bodyMapper: Mappers.ErrorResponse
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
serializer
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
250
|
-
httpMethod: "PUT",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools/{backendPoolName}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.subscriptionId,
|
|
254
|
-
Parameters.resourceGroupName0,
|
|
255
|
-
Parameters.frontDoorName,
|
|
256
|
-
Parameters.backendPoolName
|
|
257
|
-
],
|
|
258
|
-
queryParameters: [
|
|
259
|
-
Parameters.apiVersion
|
|
260
|
-
],
|
|
261
|
-
headerParameters: [
|
|
262
|
-
Parameters.acceptLanguage
|
|
263
|
-
],
|
|
264
|
-
requestBody: {
|
|
265
|
-
parameterPath: "backendPoolParameters",
|
|
266
|
-
mapper: {
|
|
267
|
-
...Mappers.BackendPool,
|
|
268
|
-
required: true
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
responses: {
|
|
272
|
-
200: {
|
|
273
|
-
bodyMapper: Mappers.BackendPool
|
|
274
|
-
},
|
|
275
|
-
201: {
|
|
276
|
-
bodyMapper: Mappers.BackendPool
|
|
277
|
-
},
|
|
278
|
-
202: {
|
|
279
|
-
bodyMapper: Mappers.BackendPool
|
|
280
|
-
},
|
|
281
|
-
default: {
|
|
282
|
-
bodyMapper: Mappers.ErrorResponse
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
serializer
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
289
|
-
httpMethod: "DELETE",
|
|
290
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools/{backendPoolName}",
|
|
291
|
-
urlParameters: [
|
|
292
|
-
Parameters.subscriptionId,
|
|
293
|
-
Parameters.resourceGroupName0,
|
|
294
|
-
Parameters.frontDoorName,
|
|
295
|
-
Parameters.backendPoolName
|
|
296
|
-
],
|
|
297
|
-
queryParameters: [
|
|
298
|
-
Parameters.apiVersion
|
|
299
|
-
],
|
|
300
|
-
headerParameters: [
|
|
301
|
-
Parameters.acceptLanguage
|
|
302
|
-
],
|
|
303
|
-
responses: {
|
|
304
|
-
202: {},
|
|
305
|
-
204: {},
|
|
306
|
-
default: {
|
|
307
|
-
bodyMapper: Mappers.ErrorResponse
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
serializer
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
const listByFrontDoorNextOperationSpec: msRest.OperationSpec = {
|
|
314
|
-
httpMethod: "GET",
|
|
315
|
-
baseUrl: "https://management.azure.com",
|
|
316
|
-
path: "{nextLink}",
|
|
317
|
-
urlParameters: [
|
|
318
|
-
Parameters.nextPageLink
|
|
319
|
-
],
|
|
320
|
-
headerParameters: [
|
|
321
|
-
Parameters.acceptLanguage
|
|
322
|
-
],
|
|
323
|
-
responses: {
|
|
324
|
-
200: {
|
|
325
|
-
bodyMapper: Mappers.BackendPoolListResult
|
|
326
|
-
},
|
|
327
|
-
default: {
|
|
328
|
-
bodyMapper: Mappers.ErrorResponse
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
serializer
|
|
332
|
-
};
|
|
@@ -1,99 +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/endpointsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { FrontDoorManagementClientContext } from "../frontDoorManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a Endpoints. */
|
|
19
|
-
export class Endpoints {
|
|
20
|
-
private readonly client: FrontDoorManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a Endpoints.
|
|
24
|
-
* @param {FrontDoorManagementClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: FrontDoorManagementClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Removes a content from Front Door.
|
|
32
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
33
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
34
|
-
* @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.
|
|
35
|
-
* '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g.
|
|
36
|
-
* '/pictures/*' which removes all folders and files in the directory.
|
|
37
|
-
* @param [options] The optional parameters
|
|
38
|
-
* @returns Promise<msRest.RestResponse>
|
|
39
|
-
*/
|
|
40
|
-
purgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: Models.PurgeParameters, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
41
|
-
return this.beginPurgeContent(resourceGroupName,frontDoorName,contentFilePaths,options)
|
|
42
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Removes a content from Front Door.
|
|
47
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
48
|
-
* @param frontDoorName Name of the Front Door which is globally unique.
|
|
49
|
-
* @param contentFilePaths The path to the content to be purged. Path can be a full URL, e.g.
|
|
50
|
-
* '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g.
|
|
51
|
-
* '/pictures/*' which removes all folders and files in the directory.
|
|
52
|
-
* @param [options] The optional parameters
|
|
53
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
54
|
-
*/
|
|
55
|
-
beginPurgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: Models.PurgeParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
56
|
-
return this.client.sendLRORequest(
|
|
57
|
-
{
|
|
58
|
-
resourceGroupName,
|
|
59
|
-
frontDoorName,
|
|
60
|
-
contentFilePaths,
|
|
61
|
-
options
|
|
62
|
-
},
|
|
63
|
-
beginPurgeContentOperationSpec,
|
|
64
|
-
options);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Operation Specifications
|
|
69
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
70
|
-
const beginPurgeContentOperationSpec: msRest.OperationSpec = {
|
|
71
|
-
httpMethod: "POST",
|
|
72
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/purge",
|
|
73
|
-
urlParameters: [
|
|
74
|
-
Parameters.subscriptionId,
|
|
75
|
-
Parameters.resourceGroupName0,
|
|
76
|
-
Parameters.frontDoorName
|
|
77
|
-
],
|
|
78
|
-
queryParameters: [
|
|
79
|
-
Parameters.apiVersion
|
|
80
|
-
],
|
|
81
|
-
headerParameters: [
|
|
82
|
-
Parameters.acceptLanguage
|
|
83
|
-
],
|
|
84
|
-
requestBody: {
|
|
85
|
-
parameterPath: "contentFilePaths",
|
|
86
|
-
mapper: {
|
|
87
|
-
...Mappers.PurgeParameters,
|
|
88
|
-
required: true
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
responses: {
|
|
92
|
-
200: {},
|
|
93
|
-
202: {},
|
|
94
|
-
default: {
|
|
95
|
-
bodyMapper: Mappers.ErrorResponse
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
serializer
|
|
99
|
-
};
|