@azure/arm-frontdoor 5.2.1-alpha.20240412.1 → 5.3.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 +24 -10
- package/LICENSE +1 -1
- package/dist/index.js +1619 -1476
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/endpointsPurgeContentSample.js +2 -2
- package/dist-esm/samples-dev/endpointsPurgeContentSample.js.map +1 -1
- package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/experimentsListByProfileSample.js +1 -1
- package/dist-esm/samples-dev/experimentsListByProfileSample.js.map +1 -1
- package/dist-esm/samples-dev/experimentsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/experimentsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorNameAvailabilityCheckSample.js +3 -5
- package/dist-esm/samples-dev/frontDoorNameAvailabilityCheckSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorNameAvailabilityWithSubscriptionCheckSample.js +2 -2
- package/dist-esm/samples-dev/frontDoorNameAvailabilityWithSubscriptionCheckSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorsCreateOrUpdateSample.js +26 -26
- package/dist-esm/samples-dev/frontDoorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/frontDoorsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorsListSample.js +1 -1
- package/dist-esm/samples-dev/frontDoorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/frontDoorsValidateCustomDomainSample.js +2 -2
- package/dist-esm/samples-dev/frontDoorsValidateCustomDomainSample.js.map +1 -1
- package/dist-esm/samples-dev/frontendEndpointsEnableHttpsSample.js +3 -3
- package/dist-esm/samples-dev/frontendEndpointsEnableHttpsSample.js.map +1 -1
- package/dist-esm/samples-dev/frontendEndpointsListByFrontDoorSample.js +1 -1
- package/dist-esm/samples-dev/frontendEndpointsListByFrontDoorSample.js.map +1 -1
- package/dist-esm/samples-dev/managedRuleSetsListSample.js +2 -2
- package/dist-esm/samples-dev/managedRuleSetsListSample.js.map +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesListSample.js +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesListSample.js.map +1 -1
- package/dist-esm/samples-dev/networkExperimentProfilesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/networkExperimentProfilesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/policiesCreateOrUpdateSample.js +37 -27
- package/dist-esm/samples-dev/policiesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/policiesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/policiesGetSample.js +1 -1
- package/dist-esm/samples-dev/policiesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/policiesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/policiesListSample.js +2 -2
- package/dist-esm/samples-dev/policiesListSample.js.map +1 -1
- package/dist-esm/samples-dev/policiesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/preconfiguredEndpointsListSample.js +1 -1
- package/dist-esm/samples-dev/preconfiguredEndpointsListSample.js.map +1 -1
- package/dist-esm/samples-dev/rulesEnginesCreateOrUpdateSample.js +20 -20
- package/dist-esm/samples-dev/rulesEnginesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/rulesEnginesListByFrontDoorSample.js +1 -1
- package/dist-esm/samples-dev/rulesEnginesListByFrontDoorSample.js.map +1 -1
- package/dist-esm/src/frontDoorManagementClient.d.ts +2 -1
- package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -1
- package/dist-esm/src/frontDoorManagementClient.js +16 -18
- package/dist-esm/src/frontDoorManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +127 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +54 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1117 -1028
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +90 -90
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/endpoints.js +9 -9
- package/dist-esm/src/operations/endpoints.js.map +1 -1
- package/dist-esm/src/operations/experiments.d.ts.map +1 -1
- package/dist-esm/src/operations/experiments.js +51 -51
- package/dist-esm/src/operations/experiments.js.map +1 -1
- package/dist-esm/src/operations/frontDoorNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operations/frontDoorNameAvailability.js +4 -4
- package/dist-esm/src/operations/frontDoorNameAvailability.js.map +1 -1
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.d.ts.map +1 -1
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js +4 -4
- package/dist-esm/src/operations/frontDoorNameAvailabilityWithSubscription.js.map +1 -1
- package/dist-esm/src/operations/frontDoors.d.ts.map +1 -1
- package/dist-esm/src/operations/frontDoors.js +52 -52
- package/dist-esm/src/operations/frontDoors.js.map +1 -1
- package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/frontendEndpoints.js +34 -34
- package/dist-esm/src/operations/frontendEndpoints.js.map +1 -1
- package/dist-esm/src/operations/managedRuleSets.js +10 -10
- package/dist-esm/src/operations/managedRuleSets.js.map +1 -1
- package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -1
- package/dist-esm/src/operations/networkExperimentProfiles.js +59 -59
- package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -1
- package/dist-esm/src/operations/policies.d.ts.map +1 -1
- package/dist-esm/src/operations/policies.js +57 -57
- package/dist-esm/src/operations/policies.js.map +1 -1
- package/dist-esm/src/operations/preconfiguredEndpoints.js +11 -11
- package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -1
- package/dist-esm/src/operations/reports.js +14 -14
- package/dist-esm/src/operations/reports.js.map +1 -1
- package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -1
- package/dist-esm/src/operations/rulesEngines.js +38 -38
- package/dist-esm/src/operations/rulesEngines.js.map +1 -1
- package/dist-esm/test/frontdoor_operations_test.spec.js +1 -1
- package/dist-esm/test/frontdoor_operations_test.spec.js.map +1 -1
- package/package.json +10 -10
- package/review/arm-frontdoor.api.md +71 -1
- package/src/frontDoorManagementClient.ts +33 -19
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +202 -58
- package/src/models/mappers.ts +1201 -1103
- package/src/models/parameters.ts +91 -91
- package/src/operations/endpoints.ts +21 -23
- package/src/operations/experiments.ts +101 -109
- package/src/operations/frontDoorNameAvailability.ts +9 -8
- package/src/operations/frontDoorNameAvailabilityWithSubscription.ts +10 -10
- package/src/operations/frontDoors.ts +99 -107
- package/src/operations/frontendEndpoints.ts +73 -79
- package/src/operations/managedRuleSets.ts +18 -19
- package/src/operations/networkExperimentProfiles.ts +116 -124
- package/src/operations/policies.ts +111 -120
- package/src/operations/preconfiguredEndpoints.ts +23 -24
- package/src/operations/reports.ts +21 -23
- package/src/operations/rulesEngines.ts +77 -83
- package/src/operationsInterfaces/endpoints.ts +3 -3
- package/src/operationsInterfaces/experiments.ts +9 -9
- package/src/operationsInterfaces/frontDoorNameAvailability.ts +2 -2
- package/src/operationsInterfaces/frontDoorNameAvailabilityWithSubscription.ts +2 -2
- package/src/operationsInterfaces/frontDoors.ts +9 -9
- package/src/operationsInterfaces/frontendEndpoints.ts +7 -7
- package/src/operationsInterfaces/managedRuleSets.ts +2 -2
- package/src/operationsInterfaces/networkExperimentProfiles.ts +10 -10
- package/src/operationsInterfaces/policies.ts +10 -10
- package/src/operationsInterfaces/preconfiguredEndpoints.ts +2 -2
- package/src/operationsInterfaces/reports.ts +3 -3
- package/src/operationsInterfaces/rulesEngines.ts +7 -7
- package/src/pagingHelper.ts +1 -1
- package/types/arm-frontdoor.d.ts +141 -3
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
FrontendEndpointsGetResponse,
|
|
16
16
|
CustomHttpsConfiguration,
|
|
17
17
|
FrontendEndpointsEnableHttpsOptionalParams,
|
|
18
|
-
FrontendEndpointsDisableHttpsOptionalParams
|
|
18
|
+
FrontendEndpointsDisableHttpsOptionalParams,
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -30,7 +30,7 @@ export interface FrontendEndpoints {
|
|
|
30
30
|
listByFrontDoor(
|
|
31
31
|
resourceGroupName: string,
|
|
32
32
|
frontDoorName: string,
|
|
33
|
-
options?: FrontendEndpointsListByFrontDoorOptionalParams
|
|
33
|
+
options?: FrontendEndpointsListByFrontDoorOptionalParams,
|
|
34
34
|
): PagedAsyncIterableIterator<FrontendEndpoint>;
|
|
35
35
|
/**
|
|
36
36
|
* Gets a Frontend endpoint with the specified name within the specified Front Door.
|
|
@@ -43,7 +43,7 @@ export interface FrontendEndpoints {
|
|
|
43
43
|
resourceGroupName: string,
|
|
44
44
|
frontDoorName: string,
|
|
45
45
|
frontendEndpointName: string,
|
|
46
|
-
options?: FrontendEndpointsGetOptionalParams
|
|
46
|
+
options?: FrontendEndpointsGetOptionalParams,
|
|
47
47
|
): Promise<FrontendEndpointsGetResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* Enables a frontendEndpoint for HTTPS traffic
|
|
@@ -58,7 +58,7 @@ export interface FrontendEndpoints {
|
|
|
58
58
|
frontDoorName: string,
|
|
59
59
|
frontendEndpointName: string,
|
|
60
60
|
customHttpsConfiguration: CustomHttpsConfiguration,
|
|
61
|
-
options?: FrontendEndpointsEnableHttpsOptionalParams
|
|
61
|
+
options?: FrontendEndpointsEnableHttpsOptionalParams,
|
|
62
62
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
63
63
|
/**
|
|
64
64
|
* Enables a frontendEndpoint for HTTPS traffic
|
|
@@ -73,7 +73,7 @@ export interface FrontendEndpoints {
|
|
|
73
73
|
frontDoorName: string,
|
|
74
74
|
frontendEndpointName: string,
|
|
75
75
|
customHttpsConfiguration: CustomHttpsConfiguration,
|
|
76
|
-
options?: FrontendEndpointsEnableHttpsOptionalParams
|
|
76
|
+
options?: FrontendEndpointsEnableHttpsOptionalParams,
|
|
77
77
|
): Promise<void>;
|
|
78
78
|
/**
|
|
79
79
|
* Disables a frontendEndpoint for HTTPS traffic
|
|
@@ -86,7 +86,7 @@ export interface FrontendEndpoints {
|
|
|
86
86
|
resourceGroupName: string,
|
|
87
87
|
frontDoorName: string,
|
|
88
88
|
frontendEndpointName: string,
|
|
89
|
-
options?: FrontendEndpointsDisableHttpsOptionalParams
|
|
89
|
+
options?: FrontendEndpointsDisableHttpsOptionalParams,
|
|
90
90
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
91
91
|
/**
|
|
92
92
|
* Disables a frontendEndpoint for HTTPS traffic
|
|
@@ -99,6 +99,6 @@ export interface FrontendEndpoints {
|
|
|
99
99
|
resourceGroupName: string,
|
|
100
100
|
frontDoorName: string,
|
|
101
101
|
frontendEndpointName: string,
|
|
102
|
-
options?: FrontendEndpointsDisableHttpsOptionalParams
|
|
102
|
+
options?: FrontendEndpointsDisableHttpsOptionalParams,
|
|
103
103
|
): Promise<void>;
|
|
104
104
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
ManagedRuleSetDefinition,
|
|
12
|
-
ManagedRuleSetsListOptionalParams
|
|
12
|
+
ManagedRuleSetsListOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -20,6 +20,6 @@ export interface ManagedRuleSets {
|
|
|
20
20
|
* @param options The options parameters.
|
|
21
21
|
*/
|
|
22
22
|
list(
|
|
23
|
-
options?: ManagedRuleSetsListOptionalParams
|
|
23
|
+
options?: ManagedRuleSetsListOptionalParams,
|
|
24
24
|
): PagedAsyncIterableIterator<ManagedRuleSetDefinition>;
|
|
25
25
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
ProfileUpdateModel,
|
|
20
20
|
NetworkExperimentProfilesUpdateOptionalParams,
|
|
21
21
|
NetworkExperimentProfilesUpdateResponse,
|
|
22
|
-
NetworkExperimentProfilesDeleteOptionalParams
|
|
22
|
+
NetworkExperimentProfilesDeleteOptionalParams,
|
|
23
23
|
} from "../models";
|
|
24
24
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -30,7 +30,7 @@ export interface NetworkExperimentProfiles {
|
|
|
30
30
|
* @param options The options parameters.
|
|
31
31
|
*/
|
|
32
32
|
list(
|
|
33
|
-
options?: NetworkExperimentProfilesListOptionalParams
|
|
33
|
+
options?: NetworkExperimentProfilesListOptionalParams,
|
|
34
34
|
): PagedAsyncIterableIterator<Profile>;
|
|
35
35
|
/**
|
|
36
36
|
* Gets a list of Network Experiment Profiles within a resource group under a subscription
|
|
@@ -39,7 +39,7 @@ export interface NetworkExperimentProfiles {
|
|
|
39
39
|
*/
|
|
40
40
|
listByResourceGroup(
|
|
41
41
|
resourceGroupName: string,
|
|
42
|
-
options?: NetworkExperimentProfilesListByResourceGroupOptionalParams
|
|
42
|
+
options?: NetworkExperimentProfilesListByResourceGroupOptionalParams,
|
|
43
43
|
): PagedAsyncIterableIterator<Profile>;
|
|
44
44
|
/**
|
|
45
45
|
* Gets an NetworkExperiment Profile by ProfileName
|
|
@@ -50,7 +50,7 @@ export interface NetworkExperimentProfiles {
|
|
|
50
50
|
get(
|
|
51
51
|
resourceGroupName: string,
|
|
52
52
|
profileName: string,
|
|
53
|
-
options?: NetworkExperimentProfilesGetOptionalParams
|
|
53
|
+
options?: NetworkExperimentProfilesGetOptionalParams,
|
|
54
54
|
): Promise<NetworkExperimentProfilesGetResponse>;
|
|
55
55
|
/**
|
|
56
56
|
* Creates an NetworkExperiment Profile
|
|
@@ -63,7 +63,7 @@ export interface NetworkExperimentProfiles {
|
|
|
63
63
|
profileName: string,
|
|
64
64
|
resourceGroupName: string,
|
|
65
65
|
parameters: Profile,
|
|
66
|
-
options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams
|
|
66
|
+
options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams,
|
|
67
67
|
): Promise<
|
|
68
68
|
SimplePollerLike<
|
|
69
69
|
OperationState<NetworkExperimentProfilesCreateOrUpdateResponse>,
|
|
@@ -81,7 +81,7 @@ export interface NetworkExperimentProfiles {
|
|
|
81
81
|
profileName: string,
|
|
82
82
|
resourceGroupName: string,
|
|
83
83
|
parameters: Profile,
|
|
84
|
-
options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams
|
|
84
|
+
options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams,
|
|
85
85
|
): Promise<NetworkExperimentProfilesCreateOrUpdateResponse>;
|
|
86
86
|
/**
|
|
87
87
|
* Updates an NetworkExperimentProfiles
|
|
@@ -94,7 +94,7 @@ export interface NetworkExperimentProfiles {
|
|
|
94
94
|
resourceGroupName: string,
|
|
95
95
|
profileName: string,
|
|
96
96
|
parameters: ProfileUpdateModel,
|
|
97
|
-
options?: NetworkExperimentProfilesUpdateOptionalParams
|
|
97
|
+
options?: NetworkExperimentProfilesUpdateOptionalParams,
|
|
98
98
|
): Promise<
|
|
99
99
|
SimplePollerLike<
|
|
100
100
|
OperationState<NetworkExperimentProfilesUpdateResponse>,
|
|
@@ -112,7 +112,7 @@ export interface NetworkExperimentProfiles {
|
|
|
112
112
|
resourceGroupName: string,
|
|
113
113
|
profileName: string,
|
|
114
114
|
parameters: ProfileUpdateModel,
|
|
115
|
-
options?: NetworkExperimentProfilesUpdateOptionalParams
|
|
115
|
+
options?: NetworkExperimentProfilesUpdateOptionalParams,
|
|
116
116
|
): Promise<NetworkExperimentProfilesUpdateResponse>;
|
|
117
117
|
/**
|
|
118
118
|
* Deletes an NetworkExperiment Profile by ProfileName
|
|
@@ -123,7 +123,7 @@ export interface NetworkExperimentProfiles {
|
|
|
123
123
|
beginDelete(
|
|
124
124
|
resourceGroupName: string,
|
|
125
125
|
profileName: string,
|
|
126
|
-
options?: NetworkExperimentProfilesDeleteOptionalParams
|
|
126
|
+
options?: NetworkExperimentProfilesDeleteOptionalParams,
|
|
127
127
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
128
128
|
/**
|
|
129
129
|
* Deletes an NetworkExperiment Profile by ProfileName
|
|
@@ -134,6 +134,6 @@ export interface NetworkExperimentProfiles {
|
|
|
134
134
|
beginDeleteAndWait(
|
|
135
135
|
resourceGroupName: string,
|
|
136
136
|
profileName: string,
|
|
137
|
-
options?: NetworkExperimentProfilesDeleteOptionalParams
|
|
137
|
+
options?: NetworkExperimentProfilesDeleteOptionalParams,
|
|
138
138
|
): Promise<void>;
|
|
139
139
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TagsObject,
|
|
20
20
|
PoliciesUpdateOptionalParams,
|
|
21
21
|
PoliciesUpdateResponse,
|
|
22
|
-
PoliciesDeleteOptionalParams
|
|
22
|
+
PoliciesDeleteOptionalParams,
|
|
23
23
|
} from "../models";
|
|
24
24
|
|
|
25
25
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -32,14 +32,14 @@ export interface Policies {
|
|
|
32
32
|
*/
|
|
33
33
|
list(
|
|
34
34
|
resourceGroupName: string,
|
|
35
|
-
options?: PoliciesListOptionalParams
|
|
35
|
+
options?: PoliciesListOptionalParams,
|
|
36
36
|
): PagedAsyncIterableIterator<WebApplicationFirewallPolicy>;
|
|
37
37
|
/**
|
|
38
38
|
* Lists all of the protection policies within a subscription.
|
|
39
39
|
* @param options The options parameters.
|
|
40
40
|
*/
|
|
41
41
|
listBySubscription(
|
|
42
|
-
options?: PoliciesListBySubscriptionOptionalParams
|
|
42
|
+
options?: PoliciesListBySubscriptionOptionalParams,
|
|
43
43
|
): PagedAsyncIterableIterator<WebApplicationFirewallPolicy>;
|
|
44
44
|
/**
|
|
45
45
|
* Retrieve protection policy with specified name within a resource group.
|
|
@@ -50,7 +50,7 @@ export interface Policies {
|
|
|
50
50
|
get(
|
|
51
51
|
resourceGroupName: string,
|
|
52
52
|
policyName: string,
|
|
53
|
-
options?: PoliciesGetOptionalParams
|
|
53
|
+
options?: PoliciesGetOptionalParams,
|
|
54
54
|
): Promise<PoliciesGetResponse>;
|
|
55
55
|
/**
|
|
56
56
|
* Create or update policy with specified rule set name within a resource group.
|
|
@@ -63,7 +63,7 @@ export interface Policies {
|
|
|
63
63
|
resourceGroupName: string,
|
|
64
64
|
policyName: string,
|
|
65
65
|
parameters: WebApplicationFirewallPolicy,
|
|
66
|
-
options?: PoliciesCreateOrUpdateOptionalParams
|
|
66
|
+
options?: PoliciesCreateOrUpdateOptionalParams,
|
|
67
67
|
): Promise<
|
|
68
68
|
SimplePollerLike<
|
|
69
69
|
OperationState<PoliciesCreateOrUpdateResponse>,
|
|
@@ -81,7 +81,7 @@ export interface Policies {
|
|
|
81
81
|
resourceGroupName: string,
|
|
82
82
|
policyName: string,
|
|
83
83
|
parameters: WebApplicationFirewallPolicy,
|
|
84
|
-
options?: PoliciesCreateOrUpdateOptionalParams
|
|
84
|
+
options?: PoliciesCreateOrUpdateOptionalParams,
|
|
85
85
|
): Promise<PoliciesCreateOrUpdateResponse>;
|
|
86
86
|
/**
|
|
87
87
|
* Patch a specific frontdoor webApplicationFirewall policy for tags update under the specified
|
|
@@ -95,7 +95,7 @@ export interface Policies {
|
|
|
95
95
|
resourceGroupName: string,
|
|
96
96
|
policyName: string,
|
|
97
97
|
parameters: TagsObject,
|
|
98
|
-
options?: PoliciesUpdateOptionalParams
|
|
98
|
+
options?: PoliciesUpdateOptionalParams,
|
|
99
99
|
): Promise<
|
|
100
100
|
SimplePollerLike<
|
|
101
101
|
OperationState<PoliciesUpdateResponse>,
|
|
@@ -114,7 +114,7 @@ export interface Policies {
|
|
|
114
114
|
resourceGroupName: string,
|
|
115
115
|
policyName: string,
|
|
116
116
|
parameters: TagsObject,
|
|
117
|
-
options?: PoliciesUpdateOptionalParams
|
|
117
|
+
options?: PoliciesUpdateOptionalParams,
|
|
118
118
|
): Promise<PoliciesUpdateResponse>;
|
|
119
119
|
/**
|
|
120
120
|
* Deletes Policy
|
|
@@ -125,7 +125,7 @@ export interface Policies {
|
|
|
125
125
|
beginDelete(
|
|
126
126
|
resourceGroupName: string,
|
|
127
127
|
policyName: string,
|
|
128
|
-
options?: PoliciesDeleteOptionalParams
|
|
128
|
+
options?: PoliciesDeleteOptionalParams,
|
|
129
129
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
130
130
|
/**
|
|
131
131
|
* Deletes Policy
|
|
@@ -136,6 +136,6 @@ export interface Policies {
|
|
|
136
136
|
beginDeleteAndWait(
|
|
137
137
|
resourceGroupName: string,
|
|
138
138
|
policyName: string,
|
|
139
|
-
options?: PoliciesDeleteOptionalParams
|
|
139
|
+
options?: PoliciesDeleteOptionalParams,
|
|
140
140
|
): Promise<void>;
|
|
141
141
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
PreconfiguredEndpoint,
|
|
12
|
-
PreconfiguredEndpointsListOptionalParams
|
|
12
|
+
PreconfiguredEndpointsListOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -24,6 +24,6 @@ export interface PreconfiguredEndpoints {
|
|
|
24
24
|
list(
|
|
25
25
|
resourceGroupName: string,
|
|
26
26
|
profileName: string,
|
|
27
|
-
options?: PreconfiguredEndpointsListOptionalParams
|
|
27
|
+
options?: PreconfiguredEndpointsListOptionalParams,
|
|
28
28
|
): PagedAsyncIterableIterator<PreconfiguredEndpoint>;
|
|
29
29
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
TimeseriesAggregationInterval,
|
|
14
14
|
TimeseriesType,
|
|
15
15
|
ReportsGetTimeseriesOptionalParams,
|
|
16
|
-
ReportsGetTimeseriesResponse
|
|
16
|
+
ReportsGetTimeseriesResponse,
|
|
17
17
|
} from "../models";
|
|
18
18
|
|
|
19
19
|
/** Interface representing a Reports. */
|
|
@@ -31,7 +31,7 @@ export interface Reports {
|
|
|
31
31
|
profileName: string,
|
|
32
32
|
experimentName: string,
|
|
33
33
|
aggregationInterval: LatencyScorecardAggregationInterval,
|
|
34
|
-
options?: ReportsGetLatencyScorecardsOptionalParams
|
|
34
|
+
options?: ReportsGetLatencyScorecardsOptionalParams,
|
|
35
35
|
): Promise<ReportsGetLatencyScorecardsResponse>;
|
|
36
36
|
/**
|
|
37
37
|
* Gets a Timeseries for a given Experiment
|
|
@@ -52,6 +52,6 @@ export interface Reports {
|
|
|
52
52
|
endDateTimeUTC: Date,
|
|
53
53
|
aggregationInterval: TimeseriesAggregationInterval,
|
|
54
54
|
timeseriesType: TimeseriesType,
|
|
55
|
-
options?: ReportsGetTimeseriesOptionalParams
|
|
55
|
+
options?: ReportsGetTimeseriesOptionalParams,
|
|
56
56
|
): Promise<ReportsGetTimeseriesResponse>;
|
|
57
57
|
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
RulesEnginesGetResponse,
|
|
16
16
|
RulesEnginesCreateOrUpdateOptionalParams,
|
|
17
17
|
RulesEnginesCreateOrUpdateResponse,
|
|
18
|
-
RulesEnginesDeleteOptionalParams
|
|
18
|
+
RulesEnginesDeleteOptionalParams,
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
21
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -30,7 +30,7 @@ export interface RulesEngines {
|
|
|
30
30
|
listByFrontDoor(
|
|
31
31
|
resourceGroupName: string,
|
|
32
32
|
frontDoorName: string,
|
|
33
|
-
options?: RulesEnginesListByFrontDoorOptionalParams
|
|
33
|
+
options?: RulesEnginesListByFrontDoorOptionalParams,
|
|
34
34
|
): PagedAsyncIterableIterator<RulesEngine>;
|
|
35
35
|
/**
|
|
36
36
|
* Gets a Rules Engine Configuration with the specified name within the specified Front Door.
|
|
@@ -43,7 +43,7 @@ export interface RulesEngines {
|
|
|
43
43
|
resourceGroupName: string,
|
|
44
44
|
frontDoorName: string,
|
|
45
45
|
rulesEngineName: string,
|
|
46
|
-
options?: RulesEnginesGetOptionalParams
|
|
46
|
+
options?: RulesEnginesGetOptionalParams,
|
|
47
47
|
): Promise<RulesEnginesGetResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
|
|
@@ -59,7 +59,7 @@ export interface RulesEngines {
|
|
|
59
59
|
frontDoorName: string,
|
|
60
60
|
rulesEngineName: string,
|
|
61
61
|
rulesEngineParameters: RulesEngine,
|
|
62
|
-
options?: RulesEnginesCreateOrUpdateOptionalParams
|
|
62
|
+
options?: RulesEnginesCreateOrUpdateOptionalParams,
|
|
63
63
|
): Promise<
|
|
64
64
|
SimplePollerLike<
|
|
65
65
|
OperationState<RulesEnginesCreateOrUpdateResponse>,
|
|
@@ -80,7 +80,7 @@ export interface RulesEngines {
|
|
|
80
80
|
frontDoorName: string,
|
|
81
81
|
rulesEngineName: string,
|
|
82
82
|
rulesEngineParameters: RulesEngine,
|
|
83
|
-
options?: RulesEnginesCreateOrUpdateOptionalParams
|
|
83
|
+
options?: RulesEnginesCreateOrUpdateOptionalParams,
|
|
84
84
|
): Promise<RulesEnginesCreateOrUpdateResponse>;
|
|
85
85
|
/**
|
|
86
86
|
* Deletes an existing Rules Engine Configuration with the specified parameters.
|
|
@@ -93,7 +93,7 @@ export interface RulesEngines {
|
|
|
93
93
|
resourceGroupName: string,
|
|
94
94
|
frontDoorName: string,
|
|
95
95
|
rulesEngineName: string,
|
|
96
|
-
options?: RulesEnginesDeleteOptionalParams
|
|
96
|
+
options?: RulesEnginesDeleteOptionalParams,
|
|
97
97
|
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
98
98
|
/**
|
|
99
99
|
* Deletes an existing Rules Engine Configuration with the specified parameters.
|
|
@@ -106,6 +106,6 @@ export interface RulesEngines {
|
|
|
106
106
|
resourceGroupName: string,
|
|
107
107
|
frontDoorName: string,
|
|
108
108
|
rulesEngineName: string,
|
|
109
|
-
options?: RulesEnginesDeleteOptionalParams
|
|
109
|
+
options?: RulesEnginesDeleteOptionalParams,
|
|
110
110
|
): Promise<void>;
|
|
111
111
|
}
|
package/src/pagingHelper.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
|
|
|
28
28
|
|
|
29
29
|
export function setContinuationToken(
|
|
30
30
|
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
31
|
+
continuationToken: string | undefined,
|
|
32
32
|
): void {
|
|
33
33
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
34
|
return;
|
package/types/arm-frontdoor.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ import { SimplePollerLike } from '@azure/core-lro';
|
|
|
13
13
|
* **Block** \
|
|
14
14
|
* **Log** \
|
|
15
15
|
* **Redirect** \
|
|
16
|
-
* **AnomalyScoring**
|
|
16
|
+
* **AnomalyScoring** \
|
|
17
|
+
* **JSChallenge**
|
|
17
18
|
*/
|
|
18
19
|
export declare type ActionType = string;
|
|
19
20
|
|
|
@@ -247,6 +248,8 @@ export declare interface CustomRule {
|
|
|
247
248
|
rateLimitDurationInMinutes?: number;
|
|
248
249
|
/** Number of allowed requests per client within the time window. */
|
|
249
250
|
rateLimitThreshold?: number;
|
|
251
|
+
/** Describes the list of variables to group the rate limit requests */
|
|
252
|
+
groupBy?: GroupByVariable[];
|
|
250
253
|
/** List of match conditions. */
|
|
251
254
|
matchConditions: MatchCondition[];
|
|
252
255
|
/** Describes what action to be applied when rule matches. */
|
|
@@ -690,7 +693,7 @@ export declare interface FrontDoorListResult {
|
|
|
690
693
|
|
|
691
694
|
export declare class FrontDoorManagementClient extends coreClient.ServiceClient {
|
|
692
695
|
$host: string;
|
|
693
|
-
subscriptionId
|
|
696
|
+
subscriptionId?: string;
|
|
694
697
|
/**
|
|
695
698
|
* Initializes a new instance of the FrontDoorManagementClient class.
|
|
696
699
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -699,6 +702,7 @@ export declare class FrontDoorManagementClient extends coreClient.ServiceClient
|
|
|
699
702
|
* @param options The parameter options
|
|
700
703
|
*/
|
|
701
704
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: FrontDoorManagementClientOptionalParams);
|
|
705
|
+
constructor(credentials: coreAuth.TokenCredential, options?: FrontDoorManagementClientOptionalParams);
|
|
702
706
|
policies: Policies;
|
|
703
707
|
managedRuleSets: ManagedRuleSets;
|
|
704
708
|
frontDoorNameAvailability: FrontDoorNameAvailability;
|
|
@@ -1200,6 +1204,12 @@ export declare interface FrontendEndpointUpdateParametersWebApplicationFirewallP
|
|
|
1200
1204
|
*/
|
|
1201
1205
|
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
1202
1206
|
|
|
1207
|
+
/** Describes the variables available to group the rate limit requests */
|
|
1208
|
+
export declare interface GroupByVariable {
|
|
1209
|
+
/** Describes the supported variable for group by */
|
|
1210
|
+
variableName: VariableName;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1203
1213
|
/** An action that can manipulate an http header. */
|
|
1204
1214
|
export declare interface HeaderAction {
|
|
1205
1215
|
/** Which type of manipulation to apply to the header. */
|
|
@@ -1308,7 +1318,9 @@ export declare enum KnownActionType {
|
|
|
1308
1318
|
/** Redirect */
|
|
1309
1319
|
Redirect = "Redirect",
|
|
1310
1320
|
/** AnomalyScoring */
|
|
1311
|
-
AnomalyScoring = "AnomalyScoring"
|
|
1321
|
+
AnomalyScoring = "AnomalyScoring",
|
|
1322
|
+
/** JSChallenge */
|
|
1323
|
+
JSChallenge = "JSChallenge"
|
|
1312
1324
|
}
|
|
1313
1325
|
|
|
1314
1326
|
/** Known values of {@link AggregationInterval} that the service accepts. */
|
|
@@ -1807,6 +1819,40 @@ export declare enum KnownRuleType {
|
|
|
1807
1819
|
RateLimitRule = "RateLimitRule"
|
|
1808
1820
|
}
|
|
1809
1821
|
|
|
1822
|
+
/** Known values of {@link ScrubbingRuleEntryMatchOperator} that the service accepts. */
|
|
1823
|
+
export declare enum KnownScrubbingRuleEntryMatchOperator {
|
|
1824
|
+
/** EqualsAny */
|
|
1825
|
+
EqualsAny = "EqualsAny",
|
|
1826
|
+
/** Equals */
|
|
1827
|
+
Equals = "Equals"
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
/** Known values of {@link ScrubbingRuleEntryMatchVariable} that the service accepts. */
|
|
1831
|
+
export declare enum KnownScrubbingRuleEntryMatchVariable {
|
|
1832
|
+
/** RequestIPAddress */
|
|
1833
|
+
RequestIPAddress = "RequestIPAddress",
|
|
1834
|
+
/** RequestUri */
|
|
1835
|
+
RequestUri = "RequestUri",
|
|
1836
|
+
/** QueryStringArgNames */
|
|
1837
|
+
QueryStringArgNames = "QueryStringArgNames",
|
|
1838
|
+
/** RequestHeaderNames */
|
|
1839
|
+
RequestHeaderNames = "RequestHeaderNames",
|
|
1840
|
+
/** RequestCookieNames */
|
|
1841
|
+
RequestCookieNames = "RequestCookieNames",
|
|
1842
|
+
/** RequestBodyPostArgNames */
|
|
1843
|
+
RequestBodyPostArgNames = "RequestBodyPostArgNames",
|
|
1844
|
+
/** RequestBodyJsonArgNames */
|
|
1845
|
+
RequestBodyJsonArgNames = "RequestBodyJsonArgNames"
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
/** Known values of {@link ScrubbingRuleEntryState} that the service accepts. */
|
|
1849
|
+
export declare enum KnownScrubbingRuleEntryState {
|
|
1850
|
+
/** Enabled */
|
|
1851
|
+
Enabled = "Enabled",
|
|
1852
|
+
/** Disabled */
|
|
1853
|
+
Disabled = "Disabled"
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1810
1856
|
/** Known values of {@link SessionAffinityEnabledState} that the service accepts. */
|
|
1811
1857
|
export declare enum KnownSessionAffinityEnabledState {
|
|
1812
1858
|
/** Enabled */
|
|
@@ -1885,6 +1931,24 @@ export declare enum KnownTransformType {
|
|
|
1885
1931
|
RemoveNulls = "RemoveNulls"
|
|
1886
1932
|
}
|
|
1887
1933
|
|
|
1934
|
+
/** Known values of {@link VariableName} that the service accepts. */
|
|
1935
|
+
export declare enum KnownVariableName {
|
|
1936
|
+
/** SocketAddr */
|
|
1937
|
+
SocketAddr = "SocketAddr",
|
|
1938
|
+
/** GeoLocation */
|
|
1939
|
+
GeoLocation = "GeoLocation",
|
|
1940
|
+
/** None */
|
|
1941
|
+
None = "None"
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
/** Known values of {@link WebApplicationFirewallScrubbingState} that the service accepts. */
|
|
1945
|
+
export declare enum KnownWebApplicationFirewallScrubbingState {
|
|
1946
|
+
/** Enabled */
|
|
1947
|
+
Enabled = "Enabled",
|
|
1948
|
+
/** Disabled */
|
|
1949
|
+
Disabled = "Disabled"
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1888
1952
|
/** Defines the properties of a latency metric used in the latency scorecard */
|
|
1889
1953
|
export declare interface LatencyMetric {
|
|
1890
1954
|
/**
|
|
@@ -2677,6 +2741,12 @@ export declare interface PolicySettings {
|
|
|
2677
2741
|
customBlockResponseBody?: string;
|
|
2678
2742
|
/** Describes if policy managed rules will inspect the request body content. */
|
|
2679
2743
|
requestBodyCheck?: PolicyRequestBodyCheck;
|
|
2744
|
+
/** Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30. */
|
|
2745
|
+
javascriptChallengeExpirationInMinutes?: number;
|
|
2746
|
+
/** State of the log scrubbing config. Default value is Enabled. */
|
|
2747
|
+
state?: WebApplicationFirewallScrubbingState;
|
|
2748
|
+
/** List of log scrubbing rules applied to the Web Application Firewall logs. */
|
|
2749
|
+
scrubbingRules?: WebApplicationFirewallScrubbingRules[];
|
|
2680
2750
|
}
|
|
2681
2751
|
|
|
2682
2752
|
/** Defines the properties of a preconfigured endpoint */
|
|
@@ -3207,6 +3277,41 @@ export declare interface RulesEngineUpdateParameters {
|
|
|
3207
3277
|
*/
|
|
3208
3278
|
export declare type RuleType = string;
|
|
3209
3279
|
|
|
3280
|
+
/**
|
|
3281
|
+
* Defines values for ScrubbingRuleEntryMatchOperator. \
|
|
3282
|
+
* {@link KnownScrubbingRuleEntryMatchOperator} can be used interchangeably with ScrubbingRuleEntryMatchOperator,
|
|
3283
|
+
* this enum contains the known values that the service supports.
|
|
3284
|
+
* ### Known values supported by the service
|
|
3285
|
+
* **EqualsAny** \
|
|
3286
|
+
* **Equals**
|
|
3287
|
+
*/
|
|
3288
|
+
export declare type ScrubbingRuleEntryMatchOperator = string;
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* Defines values for ScrubbingRuleEntryMatchVariable. \
|
|
3292
|
+
* {@link KnownScrubbingRuleEntryMatchVariable} can be used interchangeably with ScrubbingRuleEntryMatchVariable,
|
|
3293
|
+
* this enum contains the known values that the service supports.
|
|
3294
|
+
* ### Known values supported by the service
|
|
3295
|
+
* **RequestIPAddress** \
|
|
3296
|
+
* **RequestUri** \
|
|
3297
|
+
* **QueryStringArgNames** \
|
|
3298
|
+
* **RequestHeaderNames** \
|
|
3299
|
+
* **RequestCookieNames** \
|
|
3300
|
+
* **RequestBodyPostArgNames** \
|
|
3301
|
+
* **RequestBodyJsonArgNames**
|
|
3302
|
+
*/
|
|
3303
|
+
export declare type ScrubbingRuleEntryMatchVariable = string;
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* Defines values for ScrubbingRuleEntryState. \
|
|
3307
|
+
* {@link KnownScrubbingRuleEntryState} can be used interchangeably with ScrubbingRuleEntryState,
|
|
3308
|
+
* this enum contains the known values that the service supports.
|
|
3309
|
+
* ### Known values supported by the service
|
|
3310
|
+
* **Enabled** \
|
|
3311
|
+
* **Disabled**
|
|
3312
|
+
*/
|
|
3313
|
+
export declare type ScrubbingRuleEntryState = string;
|
|
3314
|
+
|
|
3210
3315
|
/** Defines the Resource ID for a Security Policy. */
|
|
3211
3316
|
export declare interface SecurityPolicyLink {
|
|
3212
3317
|
/** Resource ID. */
|
|
@@ -3365,6 +3470,17 @@ export declare interface ValidateCustomDomainOutput {
|
|
|
3365
3470
|
readonly message?: string;
|
|
3366
3471
|
}
|
|
3367
3472
|
|
|
3473
|
+
/**
|
|
3474
|
+
* Defines values for VariableName. \
|
|
3475
|
+
* {@link KnownVariableName} can be used interchangeably with VariableName,
|
|
3476
|
+
* this enum contains the known values that the service supports.
|
|
3477
|
+
* ### Known values supported by the service
|
|
3478
|
+
* **SocketAddr** \
|
|
3479
|
+
* **GeoLocation** \
|
|
3480
|
+
* **None**
|
|
3481
|
+
*/
|
|
3482
|
+
export declare type VariableName = string;
|
|
3483
|
+
|
|
3368
3484
|
/** Defines web application firewall policy. */
|
|
3369
3485
|
export declare interface WebApplicationFirewallPolicy extends Resource {
|
|
3370
3486
|
/** Gets a unique read-only string that changes whenever the resource is updated. */
|
|
@@ -3415,4 +3531,26 @@ export declare interface WebApplicationFirewallPolicyList {
|
|
|
3415
3531
|
nextLink?: string;
|
|
3416
3532
|
}
|
|
3417
3533
|
|
|
3534
|
+
/** Defines the contents of the log scrubbing rules. */
|
|
3535
|
+
export declare interface WebApplicationFirewallScrubbingRules {
|
|
3536
|
+
/** The variable to be scrubbed from the logs. */
|
|
3537
|
+
matchVariable: ScrubbingRuleEntryMatchVariable;
|
|
3538
|
+
/** When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to. */
|
|
3539
|
+
selectorMatchOperator: ScrubbingRuleEntryMatchOperator;
|
|
3540
|
+
/** When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to. */
|
|
3541
|
+
selector?: string;
|
|
3542
|
+
/** Defines the state of a log scrubbing rule. Default value is enabled. */
|
|
3543
|
+
state?: ScrubbingRuleEntryState;
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* Defines values for WebApplicationFirewallScrubbingState. \
|
|
3548
|
+
* {@link KnownWebApplicationFirewallScrubbingState} can be used interchangeably with WebApplicationFirewallScrubbingState,
|
|
3549
|
+
* this enum contains the known values that the service supports.
|
|
3550
|
+
* ### Known values supported by the service
|
|
3551
|
+
* **Enabled** \
|
|
3552
|
+
* **Disabled**
|
|
3553
|
+
*/
|
|
3554
|
+
export declare type WebApplicationFirewallScrubbingState = string;
|
|
3555
|
+
|
|
3418
3556
|
export { }
|