@azure/arm-frontdoor 5.1.1-alpha.20230511.1 → 5.2.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.
Files changed (200) hide show
  1. package/CHANGELOG.md +22 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +3269 -2945
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/endpointsPurgeContentSample.js +11 -4
  8. package/dist-esm/samples-dev/endpointsPurgeContentSample.js.map +1 -1
  9. package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js +10 -3
  10. package/dist-esm/samples-dev/experimentsCreateOrUpdateSample.js.map +1 -1
  11. package/dist-esm/samples-dev/experimentsDeleteSample.js +10 -3
  12. package/dist-esm/samples-dev/experimentsDeleteSample.js.map +1 -1
  13. package/dist-esm/samples-dev/experimentsGetSample.js +10 -3
  14. package/dist-esm/samples-dev/experimentsGetSample.js.map +1 -1
  15. package/dist-esm/samples-dev/experimentsListByProfileSample.js +10 -3
  16. package/dist-esm/samples-dev/experimentsListByProfileSample.js.map +1 -1
  17. package/dist-esm/samples-dev/experimentsUpdateSample.js +10 -3
  18. package/dist-esm/samples-dev/experimentsUpdateSample.js.map +1 -1
  19. package/dist-esm/samples-dev/frontDoorNameAvailabilityCheckSample.js +11 -3
  20. package/dist-esm/samples-dev/frontDoorNameAvailabilityCheckSample.js.map +1 -1
  21. package/dist-esm/samples-dev/frontDoorNameAvailabilityWithSubscriptionCheckSample.js +10 -3
  22. package/dist-esm/samples-dev/frontDoorNameAvailabilityWithSubscriptionCheckSample.js.map +1 -1
  23. package/dist-esm/samples-dev/frontDoorsCreateOrUpdateSample.js +11 -4
  24. package/dist-esm/samples-dev/frontDoorsCreateOrUpdateSample.js.map +1 -1
  25. package/dist-esm/samples-dev/frontDoorsDeleteSample.js +11 -4
  26. package/dist-esm/samples-dev/frontDoorsDeleteSample.js.map +1 -1
  27. package/dist-esm/samples-dev/frontDoorsGetSample.js +11 -4
  28. package/dist-esm/samples-dev/frontDoorsGetSample.js.map +1 -1
  29. package/dist-esm/samples-dev/frontDoorsListByResourceGroupSample.js +11 -4
  30. package/dist-esm/samples-dev/frontDoorsListByResourceGroupSample.js.map +1 -1
  31. package/dist-esm/samples-dev/frontDoorsListSample.js +10 -3
  32. package/dist-esm/samples-dev/frontDoorsListSample.js.map +1 -1
  33. package/dist-esm/samples-dev/frontDoorsValidateCustomDomainSample.js +11 -4
  34. package/dist-esm/samples-dev/frontDoorsValidateCustomDomainSample.js.map +1 -1
  35. package/dist-esm/samples-dev/frontendEndpointsDisableHttpsSample.js +11 -4
  36. package/dist-esm/samples-dev/frontendEndpointsDisableHttpsSample.js.map +1 -1
  37. package/dist-esm/samples-dev/frontendEndpointsEnableHttpsSample.js +11 -4
  38. package/dist-esm/samples-dev/frontendEndpointsEnableHttpsSample.js.map +1 -1
  39. package/dist-esm/samples-dev/frontendEndpointsGetSample.js +11 -4
  40. package/dist-esm/samples-dev/frontendEndpointsGetSample.js.map +1 -1
  41. package/dist-esm/samples-dev/frontendEndpointsListByFrontDoorSample.js +11 -4
  42. package/dist-esm/samples-dev/frontendEndpointsListByFrontDoorSample.js.map +1 -1
  43. package/dist-esm/samples-dev/managedRuleSetsListSample.js +11 -4
  44. package/dist-esm/samples-dev/managedRuleSetsListSample.js.map +1 -1
  45. package/dist-esm/samples-dev/networkExperimentProfilesCreateOrUpdateSample.js +10 -3
  46. package/dist-esm/samples-dev/networkExperimentProfilesCreateOrUpdateSample.js.map +1 -1
  47. package/dist-esm/samples-dev/networkExperimentProfilesDeleteSample.js +10 -3
  48. package/dist-esm/samples-dev/networkExperimentProfilesDeleteSample.js.map +1 -1
  49. package/dist-esm/samples-dev/networkExperimentProfilesGetSample.js +10 -3
  50. package/dist-esm/samples-dev/networkExperimentProfilesGetSample.js.map +1 -1
  51. package/dist-esm/samples-dev/networkExperimentProfilesListByResourceGroupSample.js +10 -3
  52. package/dist-esm/samples-dev/networkExperimentProfilesListByResourceGroupSample.js.map +1 -1
  53. package/dist-esm/samples-dev/networkExperimentProfilesListSample.js +9 -2
  54. package/dist-esm/samples-dev/networkExperimentProfilesListSample.js.map +1 -1
  55. package/dist-esm/samples-dev/networkExperimentProfilesUpdateSample.js +10 -3
  56. package/dist-esm/samples-dev/networkExperimentProfilesUpdateSample.js.map +1 -1
  57. package/dist-esm/samples-dev/policiesCreateOrUpdateSample.js +11 -4
  58. package/dist-esm/samples-dev/policiesCreateOrUpdateSample.js.map +1 -1
  59. package/dist-esm/samples-dev/policiesDeleteSample.js +11 -4
  60. package/dist-esm/samples-dev/policiesDeleteSample.js.map +1 -1
  61. package/dist-esm/samples-dev/policiesGetSample.js +11 -4
  62. package/dist-esm/samples-dev/policiesGetSample.js.map +1 -1
  63. package/dist-esm/samples-dev/policiesListBySubscriptionSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/policiesListBySubscriptionSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/policiesListBySubscriptionSample.js +57 -0
  66. package/dist-esm/samples-dev/policiesListBySubscriptionSample.js.map +1 -0
  67. package/dist-esm/samples-dev/policiesListSample.js +12 -5
  68. package/dist-esm/samples-dev/policiesListSample.js.map +1 -1
  69. package/dist-esm/samples-dev/policiesUpdateSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/policiesUpdateSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/policiesUpdateSample.js +39 -0
  72. package/dist-esm/samples-dev/policiesUpdateSample.js.map +1 -0
  73. package/dist-esm/samples-dev/preconfiguredEndpointsListSample.js +10 -3
  74. package/dist-esm/samples-dev/preconfiguredEndpointsListSample.js.map +1 -1
  75. package/dist-esm/samples-dev/reportsGetLatencyScorecardsSample.js +10 -3
  76. package/dist-esm/samples-dev/reportsGetLatencyScorecardsSample.js.map +1 -1
  77. package/dist-esm/samples-dev/reportsGetTimeseriesSample.js +10 -3
  78. package/dist-esm/samples-dev/reportsGetTimeseriesSample.js.map +1 -1
  79. package/dist-esm/samples-dev/rulesEnginesCreateOrUpdateSample.js +11 -4
  80. package/dist-esm/samples-dev/rulesEnginesCreateOrUpdateSample.js.map +1 -1
  81. package/dist-esm/samples-dev/rulesEnginesDeleteSample.js +11 -4
  82. package/dist-esm/samples-dev/rulesEnginesDeleteSample.js.map +1 -1
  83. package/dist-esm/samples-dev/rulesEnginesGetSample.js +11 -4
  84. package/dist-esm/samples-dev/rulesEnginesGetSample.js.map +1 -1
  85. package/dist-esm/samples-dev/rulesEnginesListByFrontDoorSample.js +11 -4
  86. package/dist-esm/samples-dev/rulesEnginesListByFrontDoorSample.js.map +1 -1
  87. package/dist-esm/src/frontDoorManagementClient.d.ts +7 -7
  88. package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -1
  89. package/dist-esm/src/frontDoorManagementClient.js +8 -8
  90. package/dist-esm/src/frontDoorManagementClient.js.map +1 -1
  91. package/dist-esm/src/lroImpl.d.ts +6 -11
  92. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  93. package/dist-esm/src/lroImpl.js +12 -20
  94. package/dist-esm/src/lroImpl.js.map +1 -1
  95. package/dist-esm/src/models/index.d.ts +1138 -1078
  96. package/dist-esm/src/models/index.d.ts.map +1 -1
  97. package/dist-esm/src/models/index.js +258 -252
  98. package/dist-esm/src/models/index.js.map +1 -1
  99. package/dist-esm/src/models/mappers.d.ts +31 -29
  100. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  101. package/dist-esm/src/models/mappers.js +1279 -1228
  102. package/dist-esm/src/models/mappers.js.map +1 -1
  103. package/dist-esm/src/models/parameters.d.ts +15 -14
  104. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  105. package/dist-esm/src/models/parameters.js +132 -128
  106. package/dist-esm/src/models/parameters.js.map +1 -1
  107. package/dist-esm/src/operations/endpoints.d.ts +2 -2
  108. package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
  109. package/dist-esm/src/operations/endpoints.js +12 -8
  110. package/dist-esm/src/operations/endpoints.js.map +1 -1
  111. package/dist-esm/src/operations/experiments.d.ts +4 -4
  112. package/dist-esm/src/operations/experiments.d.ts.map +1 -1
  113. package/dist-esm/src/operations/experiments.js +53 -30
  114. package/dist-esm/src/operations/experiments.js.map +1 -1
  115. package/dist-esm/src/operations/frontDoors.d.ts +3 -3
  116. package/dist-esm/src/operations/frontDoors.d.ts.map +1 -1
  117. package/dist-esm/src/operations/frontDoors.js +27 -21
  118. package/dist-esm/src/operations/frontDoors.js.map +1 -1
  119. package/dist-esm/src/operations/frontendEndpoints.d.ts +3 -3
  120. package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -1
  121. package/dist-esm/src/operations/frontendEndpoints.js +31 -24
  122. package/dist-esm/src/operations/frontendEndpoints.js.map +1 -1
  123. package/dist-esm/src/operations/index.d.ts +6 -6
  124. package/dist-esm/src/operations/index.d.ts.map +1 -1
  125. package/dist-esm/src/operations/index.js +6 -6
  126. package/dist-esm/src/operations/index.js.map +1 -1
  127. package/dist-esm/src/operations/managedRuleSets.js +1 -2
  128. package/dist-esm/src/operations/managedRuleSets.js.map +1 -1
  129. package/dist-esm/src/operations/networkExperimentProfiles.d.ts +4 -4
  130. package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -1
  131. package/dist-esm/src/operations/networkExperimentProfiles.js +41 -31
  132. package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -1
  133. package/dist-esm/src/operations/policies.d.ts +40 -4
  134. package/dist-esm/src/operations/policies.d.ts.map +1 -1
  135. package/dist-esm/src/operations/policies.js +235 -21
  136. package/dist-esm/src/operations/policies.js.map +1 -1
  137. package/dist-esm/src/operations/preconfiguredEndpoints.js +5 -6
  138. package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -1
  139. package/dist-esm/src/operations/reports.js +4 -4
  140. package/dist-esm/src/operations/reports.js.map +1 -1
  141. package/dist-esm/src/operations/rulesEngines.d.ts +3 -3
  142. package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -1
  143. package/dist-esm/src/operations/rulesEngines.js +31 -24
  144. package/dist-esm/src/operations/rulesEngines.js.map +1 -1
  145. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +2 -2
  146. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -1
  147. package/dist-esm/src/operationsInterfaces/experiments.d.ts +4 -4
  148. package/dist-esm/src/operationsInterfaces/experiments.d.ts.map +1 -1
  149. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts +3 -3
  150. package/dist-esm/src/operationsInterfaces/frontDoors.d.ts.map +1 -1
  151. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts +3 -3
  152. package/dist-esm/src/operationsInterfaces/frontendEndpoints.d.ts.map +1 -1
  153. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -6
  154. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  155. package/dist-esm/src/operationsInterfaces/index.js +6 -6
  156. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  157. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts +4 -4
  158. package/dist-esm/src/operationsInterfaces/networkExperimentProfiles.d.ts.map +1 -1
  159. package/dist-esm/src/operationsInterfaces/policies.d.ts +27 -4
  160. package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -1
  161. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts +3 -3
  162. package/dist-esm/src/operationsInterfaces/rulesEngines.d.ts.map +1 -1
  163. package/dist-esm/src/pagingHelper.d.ts +4 -4
  164. package/dist-esm/src/pagingHelper.js +4 -4
  165. package/dist-esm/test/frontdoor_operations_test.spec.d.ts +4 -0
  166. package/dist-esm/test/frontdoor_operations_test.spec.d.ts.map +1 -0
  167. package/dist-esm/test/frontdoor_operations_test.spec.js +58 -0
  168. package/dist-esm/test/frontdoor_operations_test.spec.js.map +1 -0
  169. package/package.json +8 -7
  170. package/review/arm-frontdoor.api.md +64 -18
  171. package/src/frontDoorManagementClient.ts +25 -25
  172. package/src/lroImpl.ts +31 -23
  173. package/src/models/index.ts +1195 -1130
  174. package/src/models/mappers.ts +1307 -1252
  175. package/src/models/parameters.ts +150 -144
  176. package/src/operations/endpoints.ts +17 -13
  177. package/src/operations/experiments.ts +68 -47
  178. package/src/operations/frontDoors.ts +37 -32
  179. package/src/operations/frontendEndpoints.ts +31 -28
  180. package/src/operations/index.ts +6 -6
  181. package/src/operations/managedRuleSets.ts +1 -2
  182. package/src/operations/networkExperimentProfiles.ts +56 -48
  183. package/src/operations/policies.ts +294 -33
  184. package/src/operations/preconfiguredEndpoints.ts +5 -6
  185. package/src/operations/reports.ts +4 -4
  186. package/src/operations/rulesEngines.ts +35 -29
  187. package/src/operationsInterfaces/endpoints.ts +2 -2
  188. package/src/operationsInterfaces/experiments.ts +6 -6
  189. package/src/operationsInterfaces/frontDoors.ts +4 -4
  190. package/src/operationsInterfaces/frontendEndpoints.ts +3 -3
  191. package/src/operationsInterfaces/index.ts +6 -6
  192. package/src/operationsInterfaces/networkExperimentProfiles.ts +6 -6
  193. package/src/operationsInterfaces/policies.ts +48 -4
  194. package/src/operationsInterfaces/rulesEngines.ts +4 -4
  195. package/src/pagingHelper.ts +4 -4
  196. package/types/arm-frontdoor.d.ts +124 -33
  197. package/dist-esm/test/sampleTest.d.ts +0 -2
  198. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  199. package/dist-esm/test/sampleTest.js +0 -38
  200. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,15 +1,136 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  export type RouteConfigurationUnion = RouteConfiguration | ForwardingConfiguration | RedirectConfiguration;
3
- /** Defines a list of Profiles. It contains a list of Profile objects and a URL link to get the next set of results. */
4
- export interface ProfileList {
3
+ /** Defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. */
4
+ export interface WebApplicationFirewallPolicyList {
5
5
  /**
6
- * List of Profiles within a resource group.
6
+ * List of WebApplicationFirewallPolicies within a resource group.
7
7
  * NOTE: This property will not be serialized. It can only be populated by the server.
8
8
  */
9
- readonly value?: Profile[];
10
- /** URL to get the next set of Profile objects if there are any. */
9
+ readonly value?: WebApplicationFirewallPolicy[];
10
+ /** URL to get the next set of WebApplicationFirewallPolicy objects if there are any. */
11
11
  nextLink?: string;
12
12
  }
13
+ /** Defines top-level WebApplicationFirewallPolicy configuration settings. */
14
+ export interface PolicySettings {
15
+ /** Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified. */
16
+ enabledState?: PolicyEnabledState;
17
+ /** Describes if it is in detection mode or prevention mode at policy level. */
18
+ mode?: PolicyMode;
19
+ /** If action type is redirect, this field represents redirect URL for the client. */
20
+ redirectUrl?: string;
21
+ /** If the action type is block, customer can override the response status code. */
22
+ customBlockResponseStatusCode?: number;
23
+ /** If the action type is block, customer can override the response body. The body must be specified in base64 encoding. */
24
+ customBlockResponseBody?: string;
25
+ /** Describes if policy managed rules will inspect the request body content. */
26
+ requestBodyCheck?: PolicyRequestBodyCheck;
27
+ }
28
+ /** Defines contents of custom rules */
29
+ export interface CustomRuleList {
30
+ /** List of rules */
31
+ rules?: CustomRule[];
32
+ }
33
+ /** Defines contents of a web application rule */
34
+ export interface CustomRule {
35
+ /** Describes the name of the rule. */
36
+ name?: string;
37
+ /** Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. */
38
+ priority: number;
39
+ /** Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. */
40
+ enabledState?: CustomRuleEnabledState;
41
+ /** Describes type of rule. */
42
+ ruleType: RuleType;
43
+ /** Time window for resetting the rate limit count. Default is 1 minute. */
44
+ rateLimitDurationInMinutes?: number;
45
+ /** Number of allowed requests per client within the time window. */
46
+ rateLimitThreshold?: number;
47
+ /** List of match conditions. */
48
+ matchConditions: MatchCondition[];
49
+ /** Describes what action to be applied when rule matches. */
50
+ action: ActionType;
51
+ }
52
+ /** Define a match condition. */
53
+ export interface MatchCondition {
54
+ /** Request variable to compare with. */
55
+ matchVariable: MatchVariable;
56
+ /** Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null. */
57
+ selector?: string;
58
+ /** Comparison type to use for matching with the variable value. */
59
+ operator: Operator;
60
+ /** Describes if the result of this condition should be negated. */
61
+ negateCondition?: boolean;
62
+ /** List of possible match values. */
63
+ matchValue: string[];
64
+ /** List of transforms. */
65
+ transforms?: TransformType[];
66
+ }
67
+ /** Defines the list of managed rule sets for the policy. */
68
+ export interface ManagedRuleSetList {
69
+ /** List of rule sets. */
70
+ managedRuleSets?: ManagedRuleSet[];
71
+ }
72
+ /** Defines a managed rule set. */
73
+ export interface ManagedRuleSet {
74
+ /** Defines the rule set type to use. */
75
+ ruleSetType: string;
76
+ /** Defines the version of the rule set to use. */
77
+ ruleSetVersion: string;
78
+ /** Defines the rule set action. */
79
+ ruleSetAction?: ManagedRuleSetActionType;
80
+ /** Describes the exclusions that are applied to all rules in the set. */
81
+ exclusions?: ManagedRuleExclusion[];
82
+ /** Defines the rule group overrides to apply to the rule set. */
83
+ ruleGroupOverrides?: ManagedRuleGroupOverride[];
84
+ }
85
+ /** Exclude variables from managed rule evaluation. */
86
+ export interface ManagedRuleExclusion {
87
+ /** The variable type to be excluded. */
88
+ matchVariable: ManagedRuleExclusionMatchVariable;
89
+ /** Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. */
90
+ selectorMatchOperator: ManagedRuleExclusionSelectorMatchOperator;
91
+ /** Selector value for which elements in the collection this exclusion applies to. */
92
+ selector: string;
93
+ }
94
+ /** Defines a managed rule group override setting. */
95
+ export interface ManagedRuleGroupOverride {
96
+ /** Describes the managed rule group to override. */
97
+ ruleGroupName: string;
98
+ /** Describes the exclusions that are applied to all rules in the group. */
99
+ exclusions?: ManagedRuleExclusion[];
100
+ /** List of rules that will be disabled. If none specified, all rules in the group will be disabled. */
101
+ rules?: ManagedRuleOverride[];
102
+ }
103
+ /** Defines a managed rule group override setting. */
104
+ export interface ManagedRuleOverride {
105
+ /** Identifier for the managed rule. */
106
+ ruleId: string;
107
+ /** Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. */
108
+ enabledState?: ManagedRuleEnabledState;
109
+ /** Describes the override action to be applied when rule matches. */
110
+ action?: ActionType;
111
+ /** Describes the exclusions that are applied to this specific rule. */
112
+ exclusions?: ManagedRuleExclusion[];
113
+ }
114
+ /** Defines the Resource ID for a Frontend Endpoint. */
115
+ export interface FrontendEndpointLink {
116
+ /** Resource ID. */
117
+ id?: string;
118
+ }
119
+ /** Defines the Resource ID for a Routing Rule. */
120
+ export interface RoutingRuleLink {
121
+ /** Resource ID. */
122
+ id?: string;
123
+ }
124
+ /** Defines the Resource ID for a Security Policy. */
125
+ export interface SecurityPolicyLink {
126
+ /** Resource ID. */
127
+ id?: string;
128
+ }
129
+ /** The pricing tier of the web application firewall policy. */
130
+ export interface Sku {
131
+ /** Name of the pricing tier. */
132
+ name?: SkuName;
133
+ }
13
134
  /** Common resource representation. */
14
135
  export interface Resource {
15
136
  /**
@@ -47,112 +168,81 @@ export interface ErrorResponse {
47
168
  */
48
169
  readonly message?: string;
49
170
  }
50
- /** Defines modifiable attributes of a Profile */
51
- export interface ProfileUpdateModel {
52
- /** Resource tags. */
53
- tags?: {
54
- [propertyName: string]: string;
55
- };
56
- /** The enabled state of the Profile */
57
- enabledState?: State;
171
+ /** Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message. */
172
+ export interface DefaultErrorResponse {
173
+ /** Error model. */
174
+ error?: DefaultErrorResponseError;
58
175
  }
59
- /** Defines a list of preconfigured endpoints. */
60
- export interface PreconfiguredEndpointList {
176
+ /** Error model. */
177
+ export interface DefaultErrorResponseError {
61
178
  /**
62
- * List of PreconfiguredEndpoints supported by NetworkExperiment.
179
+ * Error code.
63
180
  * NOTE: This property will not be serialized. It can only be populated by the server.
64
181
  */
65
- readonly value?: PreconfiguredEndpoint[];
66
- /** URL to get the next set of PreconfiguredEndpoints if there are any. */
67
- nextLink?: string;
68
- }
69
- /** Defines a list of Experiments. It contains a list of Experiment objects and a URL link to get the next set of results. */
70
- export interface ExperimentList {
182
+ readonly code?: string;
71
183
  /**
72
- * List of Experiments within a resource group.
184
+ * Error message indicating why the operation failed.
73
185
  * NOTE: This property will not be serialized. It can only be populated by the server.
74
186
  */
75
- readonly value?: Experiment[];
76
- /** URL to get the next set of Experiment objects if there are any. */
77
- nextLink?: string;
78
- }
79
- /** Defines the endpoint properties */
80
- export interface Endpoint {
81
- /** The name of the endpoint */
82
- name?: string;
83
- /** The endpoint URL */
84
- endpoint?: string;
187
+ readonly message?: string;
85
188
  }
86
- /** Defines modifiable attributes of an Experiment */
87
- export interface ExperimentUpdateModel {
189
+ /** Tags object for patch operations. */
190
+ export interface TagsObject {
88
191
  /** Resource tags. */
89
192
  tags?: {
90
193
  [propertyName: string]: string;
91
194
  };
92
- /** The description of the intent or details of the Experiment */
93
- description?: string;
94
- /** The state of the Experiment */
95
- enabledState?: State;
96
195
  }
97
- /** Defines the properties of a latency metric used in the latency scorecard */
98
- export interface LatencyMetric {
99
- /**
100
- * The name of the Latency Metric
101
- * NOTE: This property will not be serialized. It can only be populated by the server.
102
- */
103
- readonly name?: string;
104
- /**
105
- * The end time of the Latency Scorecard in UTC
106
- * NOTE: This property will not be serialized. It can only be populated by the server.
107
- */
108
- readonly endDateTimeUTC?: string;
196
+ /** List of managed rule set definitions available for use in a policy. */
197
+ export interface ManagedRuleSetDefinitionList {
109
198
  /**
110
- * The metric value of the A endpoint
199
+ * List of managed rule set definitions.
111
200
  * NOTE: This property will not be serialized. It can only be populated by the server.
112
201
  */
113
- readonly aValue?: number;
202
+ readonly value?: ManagedRuleSetDefinition[];
203
+ /** URL to retrieve next set of managed rule set definitions. */
204
+ nextLink?: string;
205
+ }
206
+ /** Describes a managed rule group. */
207
+ export interface ManagedRuleGroupDefinition {
114
208
  /**
115
- * The metric value of the B endpoint
209
+ * Name of the managed rule group.
116
210
  * NOTE: This property will not be serialized. It can only be populated by the server.
117
211
  */
118
- readonly bValue?: number;
212
+ readonly ruleGroupName?: string;
119
213
  /**
120
- * The difference in value between endpoint A and B
214
+ * Description of the managed rule group.
121
215
  * NOTE: This property will not be serialized. It can only be populated by the server.
122
216
  */
123
- readonly delta?: number;
217
+ readonly description?: string;
124
218
  /**
125
- * The percent difference between endpoint A and B
219
+ * List of rules within the managed rule group.
126
220
  * NOTE: This property will not be serialized. It can only be populated by the server.
127
221
  */
128
- readonly deltaPercent?: number;
222
+ readonly rules?: ManagedRuleDefinition[];
223
+ }
224
+ /** Describes a managed rule definition. */
225
+ export interface ManagedRuleDefinition {
129
226
  /**
130
- * The lower end of the 95% confidence interval for endpoint A
227
+ * Identifier for the managed rule.
131
228
  * NOTE: This property will not be serialized. It can only be populated by the server.
132
229
  */
133
- readonly aCLower95CI?: number;
230
+ readonly ruleId?: string;
134
231
  /**
135
- * The upper end of the 95% confidence interval for endpoint A
232
+ * Describes the default state for the managed rule.
136
233
  * NOTE: This property will not be serialized. It can only be populated by the server.
137
234
  */
138
- readonly aHUpper95CI?: number;
235
+ readonly defaultState?: ManagedRuleEnabledState;
139
236
  /**
140
- * The lower end of the 95% confidence interval for endpoint B
237
+ * Describes the default action to be applied when the managed rule matches.
141
238
  * NOTE: This property will not be serialized. It can only be populated by the server.
142
239
  */
143
- readonly bCLower95CI?: number;
240
+ readonly defaultAction?: ActionType;
144
241
  /**
145
- * The upper end of the 95% confidence interval for endpoint B
242
+ * Describes the functionality of the managed rule.
146
243
  * NOTE: This property will not be serialized. It can only be populated by the server.
147
244
  */
148
- readonly bUpper95CI?: number;
149
- }
150
- /** Defines a timeseries datapoint used in a timeseries */
151
- export interface TimeseriesDataPoint {
152
- /** The DateTime of the Timeseries data point in UTC */
153
- dateTimeUTC?: string;
154
- /** The Value of the Timeseries data point */
155
- value?: number;
245
+ readonly description?: string;
156
246
  }
157
247
  /** Input of CheckNameAvailability API. */
158
248
  export interface CheckNameAvailabilityInput {
@@ -470,187 +560,122 @@ export interface RulesEngineListResult {
470
560
  /** URL to get the next set of RulesEngine objects if there are any. */
471
561
  nextLink?: string;
472
562
  }
473
- /** Defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. */
474
- export interface WebApplicationFirewallPolicyList {
563
+ /** Defines a list of Profiles. It contains a list of Profile objects and a URL link to get the next set of results. */
564
+ export interface ProfileList {
475
565
  /**
476
- * List of WebApplicationFirewallPolicies within a resource group.
566
+ * List of Profiles within a resource group.
477
567
  * NOTE: This property will not be serialized. It can only be populated by the server.
478
568
  */
479
- readonly value?: WebApplicationFirewallPolicy[];
480
- /** URL to get the next set of WebApplicationFirewallPolicy objects if there are any. */
569
+ readonly value?: Profile[];
570
+ /** URL to get the next set of Profile objects if there are any. */
481
571
  nextLink?: string;
482
572
  }
483
- /** Defines top-level WebApplicationFirewallPolicy configuration settings. */
484
- export interface PolicySettings {
485
- /** Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified. */
486
- enabledState?: PolicyEnabledState;
487
- /** Describes if it is in detection mode or prevention mode at policy level. */
488
- mode?: PolicyMode;
489
- /** If action type is redirect, this field represents redirect URL for the client. */
490
- redirectUrl?: string;
491
- /** If the action type is block, customer can override the response status code. */
492
- customBlockResponseStatusCode?: number;
493
- /** If the action type is block, customer can override the response body. The body must be specified in base64 encoding. */
494
- customBlockResponseBody?: string;
495
- /** Describes if policy managed rules will inspect the request body content. */
496
- requestBodyCheck?: PolicyRequestBodyCheck;
497
- }
498
- /** Defines contents of custom rules */
499
- export interface CustomRuleList {
500
- /** List of rules */
501
- rules?: CustomRule[];
502
- }
503
- /** Defines contents of a web application rule */
504
- export interface CustomRule {
505
- /** Describes the name of the rule. */
506
- name?: string;
507
- /** Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. */
508
- priority: number;
509
- /** Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. */
510
- enabledState?: CustomRuleEnabledState;
511
- /** Describes type of rule. */
512
- ruleType: RuleType;
513
- /** Time window for resetting the rate limit count. Default is 1 minute. */
514
- rateLimitDurationInMinutes?: number;
515
- /** Number of allowed requests per client within the time window. */
516
- rateLimitThreshold?: number;
517
- /** List of match conditions. */
518
- matchConditions: MatchCondition[];
519
- /** Describes what action to be applied when rule matches. */
520
- action: ActionType;
521
- }
522
- /** Define a match condition. */
523
- export interface MatchCondition {
524
- /** Request variable to compare with. */
525
- matchVariable: MatchVariable;
526
- /** Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null. */
527
- selector?: string;
528
- /** Comparison type to use for matching with the variable value. */
529
- operator: Operator;
530
- /** Describes if the result of this condition should be negated. */
531
- negateCondition?: boolean;
532
- /** List of possible match values. */
533
- matchValue: string[];
534
- /** List of transforms. */
535
- transforms?: TransformType[];
536
- }
537
- /** Defines the list of managed rule sets for the policy. */
538
- export interface ManagedRuleSetList {
539
- /** List of rule sets. */
540
- managedRuleSets?: ManagedRuleSet[];
541
- }
542
- /** Defines a managed rule set. */
543
- export interface ManagedRuleSet {
544
- /** Defines the rule set type to use. */
545
- ruleSetType: string;
546
- /** Defines the version of the rule set to use. */
547
- ruleSetVersion: string;
548
- /** Defines the action to take when a managed rule set score threshold is met. */
549
- ruleSetAction?: ManagedRuleSetActionType;
550
- /** Describes the exclusions that are applied to all rules in the set. */
551
- exclusions?: ManagedRuleExclusion[];
552
- /** Defines the rule group overrides to apply to the rule set. */
553
- ruleGroupOverrides?: ManagedRuleGroupOverride[];
554
- }
555
- /** Exclude variables from managed rule evaluation. */
556
- export interface ManagedRuleExclusion {
557
- /** The variable type to be excluded. */
558
- matchVariable: ManagedRuleExclusionMatchVariable;
559
- /** Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. */
560
- selectorMatchOperator: ManagedRuleExclusionSelectorMatchOperator;
561
- /** Selector value for which elements in the collection this exclusion applies to. */
562
- selector: string;
563
- }
564
- /** Defines a managed rule group override setting. */
565
- export interface ManagedRuleGroupOverride {
566
- /** Describes the managed rule group to override. */
567
- ruleGroupName: string;
568
- /** Describes the exclusions that are applied to all rules in the group. */
569
- exclusions?: ManagedRuleExclusion[];
570
- /** List of rules that will be disabled. If none specified, all rules in the group will be disabled. */
571
- rules?: ManagedRuleOverride[];
572
- }
573
- /** Defines a managed rule group override setting. */
574
- export interface ManagedRuleOverride {
575
- /** Identifier for the managed rule. */
576
- ruleId: string;
577
- /** Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. */
578
- enabledState?: ManagedRuleEnabledState;
579
- /** Describes the override action to be applied when rule matches. */
580
- action?: ActionType;
581
- /** Describes the exclusions that are applied to this specific rule. */
582
- exclusions?: ManagedRuleExclusion[];
573
+ /** Defines modifiable attributes of a Profile */
574
+ export interface ProfileUpdateModel {
575
+ /** Resource tags. */
576
+ tags?: {
577
+ [propertyName: string]: string;
578
+ };
579
+ /** The enabled state of the Profile */
580
+ enabledState?: State;
583
581
  }
584
- /** Defines the Resource ID for a Frontend Endpoint. */
585
- export interface FrontendEndpointLink {
586
- /** Resource ID. */
587
- id?: string;
582
+ /** Defines a list of preconfigured endpoints. */
583
+ export interface PreconfiguredEndpointList {
584
+ /**
585
+ * List of PreconfiguredEndpoints supported by NetworkExperiment.
586
+ * NOTE: This property will not be serialized. It can only be populated by the server.
587
+ */
588
+ readonly value?: PreconfiguredEndpoint[];
589
+ /** URL to get the next set of PreconfiguredEndpoints if there are any. */
590
+ nextLink?: string;
588
591
  }
589
- /** Defines the Resource ID for a Routing Rule. */
590
- export interface RoutingRuleLink {
591
- /** Resource ID. */
592
- id?: string;
592
+ /** Defines a list of Experiments. It contains a list of Experiment objects and a URL link to get the next set of results. */
593
+ export interface ExperimentList {
594
+ /**
595
+ * List of Experiments within a resource group.
596
+ * NOTE: This property will not be serialized. It can only be populated by the server.
597
+ */
598
+ readonly value?: Experiment[];
599
+ /** URL to get the next set of Experiment objects if there are any. */
600
+ nextLink?: string;
593
601
  }
594
- /** Defines the Resource ID for a Security Policy. */
595
- export interface SecurityPolicyLink {
596
- /** Resource ID. */
597
- id?: string;
602
+ /** Defines the endpoint properties */
603
+ export interface Endpoint {
604
+ /** The name of the endpoint */
605
+ name?: string;
606
+ /** The endpoint URL */
607
+ endpoint?: string;
598
608
  }
599
- /** The pricing tier of the web application firewall policy. */
600
- export interface Sku {
601
- /** Name of the pricing tier. */
602
- name?: SkuName;
609
+ /** Defines modifiable attributes of an Experiment */
610
+ export interface ExperimentUpdateModel {
611
+ /** Resource tags. */
612
+ tags?: {
613
+ [propertyName: string]: string;
614
+ };
615
+ /** The description of the intent or details of the Experiment */
616
+ description?: string;
617
+ /** The state of the Experiment */
618
+ enabledState?: State;
603
619
  }
604
- /** List of managed rule set definitions available for use in a policy. */
605
- export interface ManagedRuleSetDefinitionList {
620
+ /** Defines the properties of a latency metric used in the latency scorecard */
621
+ export interface LatencyMetric {
606
622
  /**
607
- * List of managed rule set definitions.
623
+ * The name of the Latency Metric
608
624
  * NOTE: This property will not be serialized. It can only be populated by the server.
609
625
  */
610
- readonly value?: ManagedRuleSetDefinition[];
611
- /** URL to retrieve next set of managed rule set definitions. */
612
- nextLink?: string;
613
- }
614
- /** Describes a managed rule group. */
615
- export interface ManagedRuleGroupDefinition {
626
+ readonly name?: string;
616
627
  /**
617
- * Name of the managed rule group.
628
+ * The end time of the Latency Scorecard in UTC
618
629
  * NOTE: This property will not be serialized. It can only be populated by the server.
619
630
  */
620
- readonly ruleGroupName?: string;
631
+ readonly endDateTimeUTC?: string;
621
632
  /**
622
- * Description of the managed rule group.
633
+ * The metric value of the A endpoint
623
634
  * NOTE: This property will not be serialized. It can only be populated by the server.
624
635
  */
625
- readonly description?: string;
636
+ readonly aValue?: number;
626
637
  /**
627
- * List of rules within the managed rule group.
638
+ * The metric value of the B endpoint
628
639
  * NOTE: This property will not be serialized. It can only be populated by the server.
629
640
  */
630
- readonly rules?: ManagedRuleDefinition[];
631
- }
632
- /** Describes a managed rule definition. */
633
- export interface ManagedRuleDefinition {
641
+ readonly bValue?: number;
634
642
  /**
635
- * Identifier for the managed rule.
643
+ * The difference in value between endpoint A and B
636
644
  * NOTE: This property will not be serialized. It can only be populated by the server.
637
645
  */
638
- readonly ruleId?: string;
646
+ readonly delta?: number;
639
647
  /**
640
- * Describes the default state for the managed rule.
648
+ * The percent difference between endpoint A and B
641
649
  * NOTE: This property will not be serialized. It can only be populated by the server.
642
650
  */
643
- readonly defaultState?: ManagedRuleEnabledState;
651
+ readonly deltaPercent?: number;
644
652
  /**
645
- * Describes the default action to be applied when the managed rule matches.
653
+ * The lower end of the 95% confidence interval for endpoint A
646
654
  * NOTE: This property will not be serialized. It can only be populated by the server.
647
655
  */
648
- readonly defaultAction?: ActionType;
656
+ readonly aCLower95CI?: number;
649
657
  /**
650
- * Describes the functionality of the managed rule.
658
+ * The upper end of the 95% confidence interval for endpoint A
651
659
  * NOTE: This property will not be serialized. It can only be populated by the server.
652
660
  */
653
- readonly description?: string;
661
+ readonly aHUpper95CI?: number;
662
+ /**
663
+ * The lower end of the 95% confidence interval for endpoint B
664
+ * NOTE: This property will not be serialized. It can only be populated by the server.
665
+ */
666
+ readonly bCLower95CI?: number;
667
+ /**
668
+ * The upper end of the 95% confidence interval for endpoint B
669
+ * NOTE: This property will not be serialized. It can only be populated by the server.
670
+ */
671
+ readonly bUpper95CI?: number;
672
+ }
673
+ /** Defines a timeseries datapoint used in a timeseries */
674
+ export interface TimeseriesDataPoint {
675
+ /** The DateTime of the Timeseries data point in UTC */
676
+ dateTimeUTC?: string;
677
+ /** The Value of the Timeseries data point */
678
+ value?: number;
654
679
  }
655
680
  export interface ErrorDetails {
656
681
  code?: string;
@@ -666,17 +691,10 @@ export interface ErrorModel {
666
691
  }
667
692
  /** The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure. */
668
693
  export interface AzureAsyncOperationResult {
669
- /** Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. */
694
+ /** Status of the Azure async operation. */
670
695
  status?: NetworkOperationStatus;
671
696
  error?: ErrorModel;
672
697
  }
673
- /** Tags object for patch operations. */
674
- export interface TagsObject {
675
- /** Resource tags. */
676
- tags?: {
677
- [propertyName: string]: string;
678
- };
679
- }
680
698
  /** Result of the request to list Routing Rules. It contains a list of Routing Rule objects and a URL link to get the next set of results. */
681
699
  export interface RoutingRuleListResult {
682
700
  /**
@@ -728,116 +746,71 @@ export interface BackendPoolListResult {
728
746
  /** URL to get the next set of BackendPool objects if there are any. */
729
747
  nextLink?: string;
730
748
  }
731
- /** Defines an Network Experiment Profile and lists of Experiments */
732
- export interface Profile extends Resource {
749
+ /** Defines web application firewall policy. */
750
+ export interface WebApplicationFirewallPolicy extends Resource {
733
751
  /** Gets a unique read-only string that changes whenever the resource is updated. */
734
752
  etag?: string;
753
+ /** The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */
754
+ sku?: Sku;
755
+ /** Describes settings for the policy. */
756
+ policySettings?: PolicySettings;
757
+ /** Describes custom rules inside the policy. */
758
+ customRules?: CustomRuleList;
759
+ /** Describes managed rules inside the policy. */
760
+ managedRules?: ManagedRuleSetList;
735
761
  /**
736
- * Resource status.
762
+ * Describes Frontend Endpoints associated with this Web Application Firewall policy.
737
763
  * NOTE: This property will not be serialized. It can only be populated by the server.
738
764
  */
739
- readonly resourceState?: NetworkExperimentResourceState;
740
- /** The state of the Experiment */
741
- enabledState?: State;
742
- }
743
- /** Defines the properties of a preconfigured endpoint */
744
- export interface PreconfiguredEndpoint extends Resource {
745
- /** The description of the endpoint */
746
- description?: string;
747
- /** The endpoint that is preconfigured */
748
- endpoint?: string;
749
- /** The type of endpoint */
750
- endpointType?: EndpointType;
751
- /** The preconfigured endpoint backend */
752
- backend?: string;
753
- }
754
- /** Defines the properties of an Experiment */
755
- export interface Experiment extends Resource {
756
- /** The description of the details or intents of the Experiment */
757
- description?: string;
758
- /** The endpoint A of an experiment */
759
- endpointA?: Endpoint;
760
- /** The endpoint B of an experiment */
761
- endpointB?: Endpoint;
762
- /** The state of the Experiment */
763
- enabledState?: State;
765
+ readonly frontendEndpointLinks?: FrontendEndpointLink[];
764
766
  /**
765
- * Resource status.
767
+ * Describes Routing Rules associated with this Web Application Firewall policy.
766
768
  * NOTE: This property will not be serialized. It can only be populated by the server.
767
769
  */
768
- readonly resourceState?: NetworkExperimentResourceState;
770
+ readonly routingRuleLinks?: RoutingRuleLink[];
769
771
  /**
770
- * The description of Experiment status from the server side
771
- * NOTE: This property will not be serialized. It can only be populated by the server.
772
- */
773
- readonly status?: string;
774
- /**
775
- * The uri to the Script used in the Experiment
776
- * NOTE: This property will not be serialized. It can only be populated by the server.
777
- */
778
- readonly scriptFileUri?: string;
779
- }
780
- /** Defines the LatencyScorecard */
781
- export interface LatencyScorecard extends Resource {
782
- /**
783
- * The unique identifier of the Latency Scorecard
772
+ * Describes Security Policy associated with this Web Application Firewall policy.
784
773
  * NOTE: This property will not be serialized. It can only be populated by the server.
785
774
  */
786
- readonly idPropertiesId?: string;
775
+ readonly securityPolicyLinks?: SecurityPolicyLink[];
787
776
  /**
788
- * The name of the Latency Scorecard
777
+ * Provisioning state of the policy.
789
778
  * NOTE: This property will not be serialized. It can only be populated by the server.
790
779
  */
791
- readonly namePropertiesName?: string;
780
+ readonly provisioningState?: string;
792
781
  /**
793
- * The description of the Latency Scorecard
782
+ * Resource status of the policy.
794
783
  * NOTE: This property will not be serialized. It can only be populated by the server.
795
784
  */
796
- readonly description?: string;
785
+ readonly resourceState?: PolicyResourceState;
786
+ }
787
+ /** Describes the a managed rule set definition. */
788
+ export interface ManagedRuleSetDefinition extends Resource {
797
789
  /**
798
- * The A endpoint in the scorecard
790
+ * Provisioning state of the managed rule set.
799
791
  * NOTE: This property will not be serialized. It can only be populated by the server.
800
792
  */
801
- readonly endpointA?: string;
793
+ readonly provisioningState?: string;
802
794
  /**
803
- * The B endpoint in the scorecard
795
+ * Id of the managed rule set.
804
796
  * NOTE: This property will not be serialized. It can only be populated by the server.
805
797
  */
806
- readonly endpointB?: string;
798
+ readonly ruleSetId?: string;
807
799
  /**
808
- * The start time of the Latency Scorecard in UTC
800
+ * Type of the managed rule set.
809
801
  * NOTE: This property will not be serialized. It can only be populated by the server.
810
802
  */
811
- readonly startDateTimeUTC?: Date;
803
+ readonly ruleSetType?: string;
812
804
  /**
813
- * The end time of the Latency Scorecard in UTC
805
+ * Version of the managed rule set type.
814
806
  * NOTE: This property will not be serialized. It can only be populated by the server.
815
807
  */
816
- readonly endDateTimeUTC?: Date;
808
+ readonly ruleSetVersion?: string;
817
809
  /**
818
- * The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html
810
+ * Rule groups of the managed rule set.
819
811
  * NOTE: This property will not be serialized. It can only be populated by the server.
820
812
  */
821
- readonly country?: string;
822
- /** The latency metrics of the Latency Scorecard */
823
- latencyMetrics?: LatencyMetric[];
824
- }
825
- /** Defines the Timeseries */
826
- export interface Timeseries extends Resource {
827
- /** The endpoint associated with the Timeseries data point */
828
- endpoint?: string;
829
- /** The start DateTime of the Timeseries in UTC */
830
- startDateTimeUTC?: string;
831
- /** The end DateTime of the Timeseries in UTC */
832
- endDateTimeUTC?: string;
833
- /** The aggregation interval of the Timeseries */
834
- aggregationInterval?: AggregationInterval;
835
- /** The type of Timeseries */
836
- timeseriesType?: TimeseriesType;
837
- /** The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
838
- country?: string;
839
- /** The set of data points for the timeseries */
840
- timeseriesData?: TimeseriesDataPoint[];
813
+ readonly ruleGroups?: ManagedRuleGroupDefinition[];
841
814
  }
842
815
  /** Front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there. */
843
816
  export interface FrontDoor extends Resource {
@@ -882,72 +855,124 @@ export interface FrontDoor extends Resource {
882
855
  * NOTE: This property will not be serialized. It can only be populated by the server.
883
856
  */
884
857
  readonly rulesEngines?: RulesEngine[];
858
+ /**
859
+ * Key-Value pair representing additional properties for frontdoor.
860
+ * NOTE: This property will not be serialized. It can only be populated by the server.
861
+ */
862
+ readonly extendedProperties?: {
863
+ [propertyName: string]: string;
864
+ };
885
865
  }
886
- /** Defines web application firewall policy. */
887
- export interface WebApplicationFirewallPolicy extends Resource {
866
+ /** Defines an Network Experiment Profile and lists of Experiments */
867
+ export interface Profile extends Resource {
888
868
  /** Gets a unique read-only string that changes whenever the resource is updated. */
889
869
  etag?: string;
890
- /** The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */
891
- sku?: Sku;
892
- /** Describes settings for the policy. */
893
- policySettings?: PolicySettings;
894
- /** Describes custom rules inside the policy. */
895
- customRules?: CustomRuleList;
896
- /** Describes managed rules inside the policy. */
897
- managedRules?: ManagedRuleSetList;
898
870
  /**
899
- * Describes Frontend Endpoints associated with this Web Application Firewall policy.
871
+ * Resource status.
900
872
  * NOTE: This property will not be serialized. It can only be populated by the server.
901
873
  */
902
- readonly frontendEndpointLinks?: FrontendEndpointLink[];
874
+ readonly resourceState?: NetworkExperimentResourceState;
875
+ /** The state of the Experiment */
876
+ enabledState?: State;
877
+ }
878
+ /** Defines the properties of a preconfigured endpoint */
879
+ export interface PreconfiguredEndpoint extends Resource {
880
+ /** The description of the endpoint */
881
+ description?: string;
882
+ /** The endpoint that is preconfigured */
883
+ endpoint?: string;
884
+ /** The type of endpoint */
885
+ endpointType?: EndpointType;
886
+ /** The preconfigured endpoint backend */
887
+ backend?: string;
888
+ }
889
+ /** Defines the properties of an Experiment */
890
+ export interface Experiment extends Resource {
891
+ /** The description of the details or intents of the Experiment */
892
+ description?: string;
893
+ /** The endpoint A of an experiment */
894
+ endpointA?: Endpoint;
895
+ /** The endpoint B of an experiment */
896
+ endpointB?: Endpoint;
897
+ /** The state of the Experiment */
898
+ enabledState?: State;
903
899
  /**
904
- * Describes Routing Rules associated with this Web Application Firewall policy.
900
+ * Resource status.
905
901
  * NOTE: This property will not be serialized. It can only be populated by the server.
906
902
  */
907
- readonly routingRuleLinks?: RoutingRuleLink[];
903
+ readonly resourceState?: NetworkExperimentResourceState;
908
904
  /**
909
- * Describes Security Policy associated with this Web Application Firewall policy.
905
+ * The description of Experiment status from the server side
910
906
  * NOTE: This property will not be serialized. It can only be populated by the server.
911
907
  */
912
- readonly securityPolicyLinks?: SecurityPolicyLink[];
908
+ readonly status?: string;
913
909
  /**
914
- * Provisioning state of the policy.
910
+ * The uri to the Script used in the Experiment
915
911
  * NOTE: This property will not be serialized. It can only be populated by the server.
916
912
  */
917
- readonly provisioningState?: string;
913
+ readonly scriptFileUri?: string;
914
+ }
915
+ /** Defines the LatencyScorecard */
916
+ export interface LatencyScorecard extends Resource {
918
917
  /**
919
- * Resource status of the policy.
918
+ * The unique identifier of the Latency Scorecard
920
919
  * NOTE: This property will not be serialized. It can only be populated by the server.
921
920
  */
922
- readonly resourceState?: PolicyResourceState;
923
- }
924
- /** Describes the a managed rule set definition. */
925
- export interface ManagedRuleSetDefinition extends Resource {
921
+ readonly idPropertiesId?: string;
926
922
  /**
927
- * Provisioning state of the managed rule set.
923
+ * The name of the Latency Scorecard
928
924
  * NOTE: This property will not be serialized. It can only be populated by the server.
929
925
  */
930
- readonly provisioningState?: string;
926
+ readonly namePropertiesName?: string;
931
927
  /**
932
- * Id of the managed rule set.
928
+ * The description of the Latency Scorecard
933
929
  * NOTE: This property will not be serialized. It can only be populated by the server.
934
930
  */
935
- readonly ruleSetId?: string;
931
+ readonly description?: string;
936
932
  /**
937
- * Type of the managed rule set.
933
+ * The A endpoint in the scorecard
938
934
  * NOTE: This property will not be serialized. It can only be populated by the server.
939
935
  */
940
- readonly ruleSetType?: string;
936
+ readonly endpointA?: string;
941
937
  /**
942
- * Version of the managed rule set type.
938
+ * The B endpoint in the scorecard
943
939
  * NOTE: This property will not be serialized. It can only be populated by the server.
944
940
  */
945
- readonly ruleSetVersion?: string;
941
+ readonly endpointB?: string;
946
942
  /**
947
- * Rule groups of the managed rule set.
943
+ * The start time of the Latency Scorecard in UTC
948
944
  * NOTE: This property will not be serialized. It can only be populated by the server.
949
945
  */
950
- readonly ruleGroups?: ManagedRuleGroupDefinition[];
946
+ readonly startDateTimeUTC?: Date;
947
+ /**
948
+ * The end time of the Latency Scorecard in UTC
949
+ * NOTE: This property will not be serialized. It can only be populated by the server.
950
+ */
951
+ readonly endDateTimeUTC?: Date;
952
+ /**
953
+ * The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html
954
+ * NOTE: This property will not be serialized. It can only be populated by the server.
955
+ */
956
+ readonly country?: string;
957
+ /** The latency metrics of the Latency Scorecard */
958
+ latencyMetrics?: LatencyMetric[];
959
+ }
960
+ /** Defines the Timeseries */
961
+ export interface Timeseries extends Resource {
962
+ /** The endpoint associated with the Timeseries data point */
963
+ endpoint?: string;
964
+ /** The start DateTime of the Timeseries in UTC */
965
+ startDateTimeUTC?: string;
966
+ /** The end DateTime of the Timeseries in UTC */
967
+ endDateTimeUTC?: string;
968
+ /** The aggregation interval of the Timeseries */
969
+ aggregationInterval?: AggregationInterval;
970
+ /** The type of Timeseries */
971
+ timeseriesType?: TimeseriesType;
972
+ /** The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
973
+ country?: string;
974
+ /** The set of data points for the timeseries */
975
+ timeseriesData?: TimeseriesDataPoint[];
951
976
  }
952
977
  /** The JSON object that contains the properties required to create a Rules Engine Configuration. */
953
978
  export interface RulesEngineProperties extends RulesEngineUpdateParameters {
@@ -1014,6 +1039,13 @@ export interface FrontDoorProperties extends FrontDoorUpdateParameters {
1014
1039
  * NOTE: This property will not be serialized. It can only be populated by the server.
1015
1040
  */
1016
1041
  readonly rulesEngines?: RulesEngine[];
1042
+ /**
1043
+ * Key-Value pair representing additional properties for frontdoor.
1044
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1045
+ */
1046
+ readonly extendedProperties?: {
1047
+ [propertyName: string]: string;
1048
+ };
1017
1049
  }
1018
1050
  /** The JSON object that contains the properties required to create a routing rule. */
1019
1051
  export interface RoutingRuleProperties extends RoutingRuleUpdateParameters {
@@ -1204,212 +1236,88 @@ export interface FrontendEndpointProperties extends FrontendEndpointUpdateParame
1204
1236
  */
1205
1237
  readonly customHttpsConfiguration?: CustomHttpsConfiguration;
1206
1238
  }
1207
- /** Known values of {@link NetworkExperimentResourceState} that the service accepts. */
1208
- export declare enum KnownNetworkExperimentResourceState {
1209
- /** Creating */
1210
- Creating = "Creating",
1211
- /** Enabling */
1212
- Enabling = "Enabling",
1213
- /** Enabled */
1214
- Enabled = "Enabled",
1215
- /** Disabling */
1216
- Disabling = "Disabling",
1239
+ /** Known values of {@link PolicyEnabledState} that the service accepts. */
1240
+ export declare enum KnownPolicyEnabledState {
1217
1241
  /** Disabled */
1218
1242
  Disabled = "Disabled",
1219
- /** Deleting */
1220
- Deleting = "Deleting"
1243
+ /** Enabled */
1244
+ Enabled = "Enabled"
1221
1245
  }
1222
1246
  /**
1223
- * Defines values for NetworkExperimentResourceState. \
1224
- * {@link KnownNetworkExperimentResourceState} can be used interchangeably with NetworkExperimentResourceState,
1247
+ * Defines values for PolicyEnabledState. \
1248
+ * {@link KnownPolicyEnabledState} can be used interchangeably with PolicyEnabledState,
1225
1249
  * this enum contains the known values that the service supports.
1226
1250
  * ### Known values supported by the service
1227
- * **Creating** \
1228
- * **Enabling** \
1229
- * **Enabled** \
1230
- * **Disabling** \
1231
1251
  * **Disabled** \
1232
- * **Deleting**
1252
+ * **Enabled**
1233
1253
  */
1234
- export type NetworkExperimentResourceState = string;
1235
- /** Known values of {@link State} that the service accepts. */
1236
- export declare enum KnownState {
1237
- /** Enabled */
1238
- Enabled = "Enabled",
1239
- /** Disabled */
1240
- Disabled = "Disabled"
1254
+ export type PolicyEnabledState = string;
1255
+ /** Known values of {@link PolicyMode} that the service accepts. */
1256
+ export declare enum KnownPolicyMode {
1257
+ /** Prevention */
1258
+ Prevention = "Prevention",
1259
+ /** Detection */
1260
+ Detection = "Detection"
1241
1261
  }
1242
1262
  /**
1243
- * Defines values for State. \
1244
- * {@link KnownState} can be used interchangeably with State,
1263
+ * Defines values for PolicyMode. \
1264
+ * {@link KnownPolicyMode} can be used interchangeably with PolicyMode,
1245
1265
  * this enum contains the known values that the service supports.
1246
1266
  * ### Known values supported by the service
1247
- * **Enabled** \
1248
- * **Disabled**
1267
+ * **Prevention** \
1268
+ * **Detection**
1249
1269
  */
1250
- export type State = string;
1251
- /** Known values of {@link EndpointType} that the service accepts. */
1252
- export declare enum KnownEndpointType {
1253
- /** AFD */
1254
- AFD = "AFD",
1255
- /** AzureRegion */
1256
- AzureRegion = "AzureRegion",
1257
- /** CDN */
1258
- CDN = "CDN",
1259
- /** ATM */
1260
- ATM = "ATM"
1270
+ export type PolicyMode = string;
1271
+ /** Known values of {@link PolicyRequestBodyCheck} that the service accepts. */
1272
+ export declare enum KnownPolicyRequestBodyCheck {
1273
+ /** Disabled */
1274
+ Disabled = "Disabled",
1275
+ /** Enabled */
1276
+ Enabled = "Enabled"
1261
1277
  }
1262
1278
  /**
1263
- * Defines values for EndpointType. \
1264
- * {@link KnownEndpointType} can be used interchangeably with EndpointType,
1265
- * this enum contains the known values that the service supports.
1266
- * ### Known values supported by the service
1267
- * **AFD** \
1268
- * **AzureRegion** \
1269
- * **CDN** \
1270
- * **ATM**
1271
- */
1272
- export type EndpointType = string;
1273
- /** Known values of {@link LatencyScorecardAggregationInterval} that the service accepts. */
1274
- export declare enum KnownLatencyScorecardAggregationInterval {
1275
- /** Daily */
1276
- Daily = "Daily",
1277
- /** Weekly */
1278
- Weekly = "Weekly",
1279
- /** Monthly */
1280
- Monthly = "Monthly"
1281
- }
1282
- /**
1283
- * Defines values for LatencyScorecardAggregationInterval. \
1284
- * {@link KnownLatencyScorecardAggregationInterval} can be used interchangeably with LatencyScorecardAggregationInterval,
1285
- * this enum contains the known values that the service supports.
1286
- * ### Known values supported by the service
1287
- * **Daily** \
1288
- * **Weekly** \
1289
- * **Monthly**
1290
- */
1291
- export type LatencyScorecardAggregationInterval = string;
1292
- /** Known values of {@link TimeseriesAggregationInterval} that the service accepts. */
1293
- export declare enum KnownTimeseriesAggregationInterval {
1294
- /** Hourly */
1295
- Hourly = "Hourly",
1296
- /** Daily */
1297
- Daily = "Daily"
1298
- }
1299
- /**
1300
- * Defines values for TimeseriesAggregationInterval. \
1301
- * {@link KnownTimeseriesAggregationInterval} can be used interchangeably with TimeseriesAggregationInterval,
1302
- * this enum contains the known values that the service supports.
1303
- * ### Known values supported by the service
1304
- * **Hourly** \
1305
- * **Daily**
1306
- */
1307
- export type TimeseriesAggregationInterval = string;
1308
- /** Known values of {@link TimeseriesType} that the service accepts. */
1309
- export declare enum KnownTimeseriesType {
1310
- /** MeasurementCounts */
1311
- MeasurementCounts = "MeasurementCounts",
1312
- /** LatencyP50 */
1313
- LatencyP50 = "LatencyP50",
1314
- /** LatencyP75 */
1315
- LatencyP75 = "LatencyP75",
1316
- /** LatencyP95 */
1317
- LatencyP95 = "LatencyP95"
1318
- }
1319
- /**
1320
- * Defines values for TimeseriesType. \
1321
- * {@link KnownTimeseriesType} can be used interchangeably with TimeseriesType,
1322
- * this enum contains the known values that the service supports.
1323
- * ### Known values supported by the service
1324
- * **MeasurementCounts** \
1325
- * **LatencyP50** \
1326
- * **LatencyP75** \
1327
- * **LatencyP95**
1328
- */
1329
- export type TimeseriesType = string;
1330
- /** Known values of {@link AggregationInterval} that the service accepts. */
1331
- export declare enum KnownAggregationInterval {
1332
- /** Hourly */
1333
- Hourly = "Hourly",
1334
- /** Daily */
1335
- Daily = "Daily"
1336
- }
1337
- /**
1338
- * Defines values for AggregationInterval. \
1339
- * {@link KnownAggregationInterval} can be used interchangeably with AggregationInterval,
1340
- * this enum contains the known values that the service supports.
1341
- * ### Known values supported by the service
1342
- * **Hourly** \
1343
- * **Daily**
1344
- */
1345
- export type AggregationInterval = string;
1346
- /** Known values of {@link Availability} that the service accepts. */
1347
- export declare enum KnownAvailability {
1348
- /** Available */
1349
- Available = "Available",
1350
- /** Unavailable */
1351
- Unavailable = "Unavailable"
1352
- }
1353
- /**
1354
- * Defines values for Availability. \
1355
- * {@link KnownAvailability} can be used interchangeably with Availability,
1279
+ * Defines values for PolicyRequestBodyCheck. \
1280
+ * {@link KnownPolicyRequestBodyCheck} can be used interchangeably with PolicyRequestBodyCheck,
1356
1281
  * this enum contains the known values that the service supports.
1357
1282
  * ### Known values supported by the service
1358
- * **Available** \
1359
- * **Unavailable**
1283
+ * **Disabled** \
1284
+ * **Enabled**
1360
1285
  */
1361
- export type Availability = string;
1362
- /** Known values of {@link FrontDoorResourceState} that the service accepts. */
1363
- export declare enum KnownFrontDoorResourceState {
1364
- /** Creating */
1365
- Creating = "Creating",
1366
- /** Enabling */
1367
- Enabling = "Enabling",
1368
- /** Enabled */
1369
- Enabled = "Enabled",
1370
- /** Disabling */
1371
- Disabling = "Disabling",
1286
+ export type PolicyRequestBodyCheck = string;
1287
+ /** Known values of {@link CustomRuleEnabledState} that the service accepts. */
1288
+ export declare enum KnownCustomRuleEnabledState {
1372
1289
  /** Disabled */
1373
1290
  Disabled = "Disabled",
1374
- /** Deleting */
1375
- Deleting = "Deleting"
1291
+ /** Enabled */
1292
+ Enabled = "Enabled"
1376
1293
  }
1377
1294
  /**
1378
- * Defines values for FrontDoorResourceState. \
1379
- * {@link KnownFrontDoorResourceState} can be used interchangeably with FrontDoorResourceState,
1295
+ * Defines values for CustomRuleEnabledState. \
1296
+ * {@link KnownCustomRuleEnabledState} can be used interchangeably with CustomRuleEnabledState,
1380
1297
  * this enum contains the known values that the service supports.
1381
1298
  * ### Known values supported by the service
1382
- * **Creating** \
1383
- * **Enabling** \
1384
- * **Enabled** \
1385
- * **Disabling** \
1386
1299
  * **Disabled** \
1387
- * **Deleting**
1300
+ * **Enabled**
1388
1301
  */
1389
- export type FrontDoorResourceState = string;
1390
- /** Known values of {@link HeaderActionType} that the service accepts. */
1391
- export declare enum KnownHeaderActionType {
1392
- /** Append */
1393
- Append = "Append",
1394
- /** Delete */
1395
- Delete = "Delete",
1396
- /** Overwrite */
1397
- Overwrite = "Overwrite"
1302
+ export type CustomRuleEnabledState = string;
1303
+ /** Known values of {@link RuleType} that the service accepts. */
1304
+ export declare enum KnownRuleType {
1305
+ /** MatchRule */
1306
+ MatchRule = "MatchRule",
1307
+ /** RateLimitRule */
1308
+ RateLimitRule = "RateLimitRule"
1398
1309
  }
1399
1310
  /**
1400
- * Defines values for HeaderActionType. \
1401
- * {@link KnownHeaderActionType} can be used interchangeably with HeaderActionType,
1311
+ * Defines values for RuleType. \
1312
+ * {@link KnownRuleType} can be used interchangeably with RuleType,
1402
1313
  * this enum contains the known values that the service supports.
1403
1314
  * ### Known values supported by the service
1404
- * **Append** \
1405
- * **Delete** \
1406
- * **Overwrite**
1315
+ * **MatchRule** \
1316
+ * **RateLimitRule**
1407
1317
  */
1408
- export type HeaderActionType = string;
1409
- /** Known values of {@link RulesEngineMatchVariable} that the service accepts. */
1410
- export declare enum KnownRulesEngineMatchVariable {
1411
- /** IsMobile */
1412
- IsMobile = "IsMobile",
1318
+ export type RuleType = string;
1319
+ /** Known values of {@link MatchVariable} that the service accepts. */
1320
+ export declare enum KnownMatchVariable {
1413
1321
  /** RemoteAddr */
1414
1322
  RemoteAddr = "RemoteAddr",
1415
1323
  /** RequestMethod */
@@ -1420,40 +1328,33 @@ export declare enum KnownRulesEngineMatchVariable {
1420
1328
  PostArgs = "PostArgs",
1421
1329
  /** RequestUri */
1422
1330
  RequestUri = "RequestUri",
1423
- /** RequestPath */
1424
- RequestPath = "RequestPath",
1425
- /** RequestFilename */
1426
- RequestFilename = "RequestFilename",
1427
- /** RequestFilenameExtension */
1428
- RequestFilenameExtension = "RequestFilenameExtension",
1429
1331
  /** RequestHeader */
1430
1332
  RequestHeader = "RequestHeader",
1431
1333
  /** RequestBody */
1432
1334
  RequestBody = "RequestBody",
1433
- /** RequestScheme */
1434
- RequestScheme = "RequestScheme"
1335
+ /** Cookies */
1336
+ Cookies = "Cookies",
1337
+ /** SocketAddr */
1338
+ SocketAddr = "SocketAddr"
1435
1339
  }
1436
1340
  /**
1437
- * Defines values for RulesEngineMatchVariable. \
1438
- * {@link KnownRulesEngineMatchVariable} can be used interchangeably with RulesEngineMatchVariable,
1341
+ * Defines values for MatchVariable. \
1342
+ * {@link KnownMatchVariable} can be used interchangeably with MatchVariable,
1439
1343
  * this enum contains the known values that the service supports.
1440
1344
  * ### Known values supported by the service
1441
- * **IsMobile** \
1442
1345
  * **RemoteAddr** \
1443
1346
  * **RequestMethod** \
1444
1347
  * **QueryString** \
1445
1348
  * **PostArgs** \
1446
1349
  * **RequestUri** \
1447
- * **RequestPath** \
1448
- * **RequestFilename** \
1449
- * **RequestFilenameExtension** \
1450
1350
  * **RequestHeader** \
1451
1351
  * **RequestBody** \
1452
- * **RequestScheme**
1352
+ * **Cookies** \
1353
+ * **SocketAddr**
1453
1354
  */
1454
- export type RulesEngineMatchVariable = string;
1455
- /** Known values of {@link RulesEngineOperator} that the service accepts. */
1456
- export declare enum KnownRulesEngineOperator {
1355
+ export type MatchVariable = string;
1356
+ /** Known values of {@link Operator} that the service accepts. */
1357
+ export declare enum KnownOperator {
1457
1358
  /** Any */
1458
1359
  Any = "Any",
1459
1360
  /** IPMatch */
@@ -1475,11 +1376,13 @@ export declare enum KnownRulesEngineOperator {
1475
1376
  /** BeginsWith */
1476
1377
  BeginsWith = "BeginsWith",
1477
1378
  /** EndsWith */
1478
- EndsWith = "EndsWith"
1379
+ EndsWith = "EndsWith",
1380
+ /** RegEx */
1381
+ RegEx = "RegEx"
1479
1382
  }
1480
1383
  /**
1481
- * Defines values for RulesEngineOperator. \
1482
- * {@link KnownRulesEngineOperator} can be used interchangeably with RulesEngineOperator,
1384
+ * Defines values for Operator. \
1385
+ * {@link KnownOperator} can be used interchangeably with Operator,
1483
1386
  * this enum contains the known values that the service supports.
1484
1387
  * ### Known values supported by the service
1485
1388
  * **Any** \
@@ -1492,11 +1395,12 @@ export declare enum KnownRulesEngineOperator {
1492
1395
  * **LessThanOrEqual** \
1493
1396
  * **GreaterThanOrEqual** \
1494
1397
  * **BeginsWith** \
1495
- * **EndsWith**
1398
+ * **EndsWith** \
1399
+ * **RegEx**
1496
1400
  */
1497
- export type RulesEngineOperator = string;
1498
- /** Known values of {@link Transform} that the service accepts. */
1499
- export declare enum KnownTransform {
1401
+ export type Operator = string;
1402
+ /** Known values of {@link TransformType} that the service accepts. */
1403
+ export declare enum KnownTransformType {
1500
1404
  /** Lowercase */
1501
1405
  Lowercase = "Lowercase",
1502
1406
  /** Uppercase */
@@ -1511,8 +1415,8 @@ export declare enum KnownTransform {
1511
1415
  RemoveNulls = "RemoveNulls"
1512
1416
  }
1513
1417
  /**
1514
- * Defines values for Transform. \
1515
- * {@link KnownTransform} can be used interchangeably with Transform,
1418
+ * Defines values for TransformType. \
1419
+ * {@link KnownTransformType} can be used interchangeably with TransformType,
1516
1420
  * this enum contains the known values that the service supports.
1517
1421
  * ### Known values supported by the service
1518
1422
  * **Lowercase** \
@@ -1522,130 +1426,184 @@ export declare enum KnownTransform {
1522
1426
  * **UrlEncode** \
1523
1427
  * **RemoveNulls**
1524
1428
  */
1525
- export type Transform = string;
1526
- /** Known values of {@link MatchProcessingBehavior} that the service accepts. */
1527
- export declare enum KnownMatchProcessingBehavior {
1528
- /** Continue */
1529
- Continue = "Continue",
1530
- /** Stop */
1531
- Stop = "Stop"
1429
+ export type TransformType = string;
1430
+ /** Known values of {@link ActionType} that the service accepts. */
1431
+ export declare enum KnownActionType {
1432
+ /** Allow */
1433
+ Allow = "Allow",
1434
+ /** Block */
1435
+ Block = "Block",
1436
+ /** Log */
1437
+ Log = "Log",
1438
+ /** Redirect */
1439
+ Redirect = "Redirect",
1440
+ /** AnomalyScoring */
1441
+ AnomalyScoring = "AnomalyScoring"
1532
1442
  }
1533
1443
  /**
1534
- * Defines values for MatchProcessingBehavior. \
1535
- * {@link KnownMatchProcessingBehavior} can be used interchangeably with MatchProcessingBehavior,
1444
+ * Defines values for ActionType. \
1445
+ * {@link KnownActionType} can be used interchangeably with ActionType,
1536
1446
  * this enum contains the known values that the service supports.
1537
1447
  * ### Known values supported by the service
1538
- * **Continue** \
1539
- * **Stop**
1448
+ * **Allow** \
1449
+ * **Block** \
1450
+ * **Log** \
1451
+ * **Redirect** \
1452
+ * **AnomalyScoring**
1540
1453
  */
1541
- export type MatchProcessingBehavior = string;
1542
- /** Known values of {@link FrontDoorProtocol} that the service accepts. */
1543
- export declare enum KnownFrontDoorProtocol {
1544
- /** Http */
1545
- Http = "Http",
1546
- /** Https */
1547
- Https = "Https"
1454
+ export type ActionType = string;
1455
+ /** Known values of {@link ManagedRuleSetActionType} that the service accepts. */
1456
+ export declare enum KnownManagedRuleSetActionType {
1457
+ /** Block */
1458
+ Block = "Block",
1459
+ /** Log */
1460
+ Log = "Log",
1461
+ /** Redirect */
1462
+ Redirect = "Redirect"
1548
1463
  }
1549
1464
  /**
1550
- * Defines values for FrontDoorProtocol. \
1551
- * {@link KnownFrontDoorProtocol} can be used interchangeably with FrontDoorProtocol,
1465
+ * Defines values for ManagedRuleSetActionType. \
1466
+ * {@link KnownManagedRuleSetActionType} can be used interchangeably with ManagedRuleSetActionType,
1552
1467
  * this enum contains the known values that the service supports.
1553
1468
  * ### Known values supported by the service
1554
- * **Http** \
1555
- * **Https**
1556
- */
1557
- export type FrontDoorProtocol = string;
1558
- /** Known values of {@link RoutingRuleEnabledState} that the service accepts. */
1559
- export declare enum KnownRoutingRuleEnabledState {
1560
- /** Enabled */
1561
- Enabled = "Enabled",
1562
- /** Disabled */
1563
- Disabled = "Disabled"
1469
+ * **Block** \
1470
+ * **Log** \
1471
+ * **Redirect**
1472
+ */
1473
+ export type ManagedRuleSetActionType = string;
1474
+ /** Known values of {@link ManagedRuleExclusionMatchVariable} that the service accepts. */
1475
+ export declare enum KnownManagedRuleExclusionMatchVariable {
1476
+ /** RequestHeaderNames */
1477
+ RequestHeaderNames = "RequestHeaderNames",
1478
+ /** RequestCookieNames */
1479
+ RequestCookieNames = "RequestCookieNames",
1480
+ /** QueryStringArgNames */
1481
+ QueryStringArgNames = "QueryStringArgNames",
1482
+ /** RequestBodyPostArgNames */
1483
+ RequestBodyPostArgNames = "RequestBodyPostArgNames",
1484
+ /** RequestBodyJsonArgNames */
1485
+ RequestBodyJsonArgNames = "RequestBodyJsonArgNames"
1564
1486
  }
1565
1487
  /**
1566
- * Defines values for RoutingRuleEnabledState. \
1567
- * {@link KnownRoutingRuleEnabledState} can be used interchangeably with RoutingRuleEnabledState,
1488
+ * Defines values for ManagedRuleExclusionMatchVariable. \
1489
+ * {@link KnownManagedRuleExclusionMatchVariable} can be used interchangeably with ManagedRuleExclusionMatchVariable,
1568
1490
  * this enum contains the known values that the service supports.
1569
1491
  * ### Known values supported by the service
1570
- * **Enabled** \
1571
- * **Disabled**
1492
+ * **RequestHeaderNames** \
1493
+ * **RequestCookieNames** \
1494
+ * **QueryStringArgNames** \
1495
+ * **RequestBodyPostArgNames** \
1496
+ * **RequestBodyJsonArgNames**
1572
1497
  */
1573
- export type RoutingRuleEnabledState = string;
1574
- /** Known values of {@link FrontDoorHealthProbeMethod} that the service accepts. */
1575
- export declare enum KnownFrontDoorHealthProbeMethod {
1576
- /** GET */
1577
- GET = "GET",
1578
- /** Head */
1579
- Head = "HEAD"
1498
+ export type ManagedRuleExclusionMatchVariable = string;
1499
+ /** Known values of {@link ManagedRuleExclusionSelectorMatchOperator} that the service accepts. */
1500
+ export declare enum KnownManagedRuleExclusionSelectorMatchOperator {
1501
+ /** Equals */
1502
+ Equals = "Equals",
1503
+ /** Contains */
1504
+ Contains = "Contains",
1505
+ /** StartsWith */
1506
+ StartsWith = "StartsWith",
1507
+ /** EndsWith */
1508
+ EndsWith = "EndsWith",
1509
+ /** EqualsAny */
1510
+ EqualsAny = "EqualsAny"
1580
1511
  }
1581
1512
  /**
1582
- * Defines values for FrontDoorHealthProbeMethod. \
1583
- * {@link KnownFrontDoorHealthProbeMethod} can be used interchangeably with FrontDoorHealthProbeMethod,
1513
+ * Defines values for ManagedRuleExclusionSelectorMatchOperator. \
1514
+ * {@link KnownManagedRuleExclusionSelectorMatchOperator} can be used interchangeably with ManagedRuleExclusionSelectorMatchOperator,
1584
1515
  * this enum contains the known values that the service supports.
1585
1516
  * ### Known values supported by the service
1586
- * **GET** \
1587
- * **HEAD**
1517
+ * **Equals** \
1518
+ * **Contains** \
1519
+ * **StartsWith** \
1520
+ * **EndsWith** \
1521
+ * **EqualsAny**
1588
1522
  */
1589
- export type FrontDoorHealthProbeMethod = string;
1590
- /** Known values of {@link HealthProbeEnabled} that the service accepts. */
1591
- export declare enum KnownHealthProbeEnabled {
1523
+ export type ManagedRuleExclusionSelectorMatchOperator = string;
1524
+ /** Known values of {@link ManagedRuleEnabledState} that the service accepts. */
1525
+ export declare enum KnownManagedRuleEnabledState {
1526
+ /** Disabled */
1527
+ Disabled = "Disabled",
1528
+ /** Enabled */
1529
+ Enabled = "Enabled"
1530
+ }
1531
+ /**
1532
+ * Defines values for ManagedRuleEnabledState. \
1533
+ * {@link KnownManagedRuleEnabledState} can be used interchangeably with ManagedRuleEnabledState,
1534
+ * this enum contains the known values that the service supports.
1535
+ * ### Known values supported by the service
1536
+ * **Disabled** \
1537
+ * **Enabled**
1538
+ */
1539
+ export type ManagedRuleEnabledState = string;
1540
+ /** Known values of {@link PolicyResourceState} that the service accepts. */
1541
+ export declare enum KnownPolicyResourceState {
1542
+ /** Creating */
1543
+ Creating = "Creating",
1544
+ /** Enabling */
1545
+ Enabling = "Enabling",
1592
1546
  /** Enabled */
1593
1547
  Enabled = "Enabled",
1548
+ /** Disabling */
1549
+ Disabling = "Disabling",
1594
1550
  /** Disabled */
1595
- Disabled = "Disabled"
1551
+ Disabled = "Disabled",
1552
+ /** Deleting */
1553
+ Deleting = "Deleting"
1596
1554
  }
1597
1555
  /**
1598
- * Defines values for HealthProbeEnabled. \
1599
- * {@link KnownHealthProbeEnabled} can be used interchangeably with HealthProbeEnabled,
1556
+ * Defines values for PolicyResourceState. \
1557
+ * {@link KnownPolicyResourceState} can be used interchangeably with PolicyResourceState,
1600
1558
  * this enum contains the known values that the service supports.
1601
1559
  * ### Known values supported by the service
1560
+ * **Creating** \
1561
+ * **Enabling** \
1602
1562
  * **Enabled** \
1603
- * **Disabled**
1563
+ * **Disabling** \
1564
+ * **Disabled** \
1565
+ * **Deleting**
1604
1566
  */
1605
- export type HealthProbeEnabled = string;
1606
- /** Known values of {@link PrivateEndpointStatus} that the service accepts. */
1607
- export declare enum KnownPrivateEndpointStatus {
1608
- /** Pending */
1609
- Pending = "Pending",
1610
- /** Approved */
1611
- Approved = "Approved",
1612
- /** Rejected */
1613
- Rejected = "Rejected",
1614
- /** Disconnected */
1615
- Disconnected = "Disconnected",
1616
- /** Timeout */
1617
- Timeout = "Timeout"
1567
+ export type PolicyResourceState = string;
1568
+ /** Known values of {@link SkuName} that the service accepts. */
1569
+ export declare enum KnownSkuName {
1570
+ /** ClassicAzureFrontDoor */
1571
+ ClassicAzureFrontDoor = "Classic_AzureFrontDoor",
1572
+ /** StandardAzureFrontDoor */
1573
+ StandardAzureFrontDoor = "Standard_AzureFrontDoor",
1574
+ /** PremiumAzureFrontDoor */
1575
+ PremiumAzureFrontDoor = "Premium_AzureFrontDoor"
1618
1576
  }
1619
1577
  /**
1620
- * Defines values for PrivateEndpointStatus. \
1621
- * {@link KnownPrivateEndpointStatus} can be used interchangeably with PrivateEndpointStatus,
1578
+ * Defines values for SkuName. \
1579
+ * {@link KnownSkuName} can be used interchangeably with SkuName,
1622
1580
  * this enum contains the known values that the service supports.
1623
1581
  * ### Known values supported by the service
1624
- * **Pending** \
1625
- * **Approved** \
1626
- * **Rejected** \
1627
- * **Disconnected** \
1628
- * **Timeout**
1582
+ * **Classic_AzureFrontDoor** \
1583
+ * **Standard_AzureFrontDoor** \
1584
+ * **Premium_AzureFrontDoor**
1629
1585
  */
1630
- export type PrivateEndpointStatus = string;
1631
- /** Known values of {@link BackendEnabledState} that the service accepts. */
1632
- export declare enum KnownBackendEnabledState {
1633
- /** Enabled */
1634
- Enabled = "Enabled",
1635
- /** Disabled */
1636
- Disabled = "Disabled"
1586
+ export type SkuName = string;
1587
+ /** Known values of {@link Availability} that the service accepts. */
1588
+ export declare enum KnownAvailability {
1589
+ /** Available */
1590
+ Available = "Available",
1591
+ /** Unavailable */
1592
+ Unavailable = "Unavailable"
1637
1593
  }
1638
1594
  /**
1639
- * Defines values for BackendEnabledState. \
1640
- * {@link KnownBackendEnabledState} can be used interchangeably with BackendEnabledState,
1595
+ * Defines values for Availability. \
1596
+ * {@link KnownAvailability} can be used interchangeably with Availability,
1641
1597
  * this enum contains the known values that the service supports.
1642
1598
  * ### Known values supported by the service
1643
- * **Enabled** \
1644
- * **Disabled**
1599
+ * **Available** \
1600
+ * **Unavailable**
1645
1601
  */
1646
- export type BackendEnabledState = string;
1647
- /** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */
1648
- export declare enum KnownCustomHttpsProvisioningState {
1602
+ export type Availability = string;
1603
+ /** Known values of {@link FrontDoorResourceState} that the service accepts. */
1604
+ export declare enum KnownFrontDoorResourceState {
1605
+ /** Creating */
1606
+ Creating = "Creating",
1649
1607
  /** Enabling */
1650
1608
  Enabling = "Enabling",
1651
1609
  /** Enabled */
@@ -1654,249 +1612,51 @@ export declare enum KnownCustomHttpsProvisioningState {
1654
1612
  Disabling = "Disabling",
1655
1613
  /** Disabled */
1656
1614
  Disabled = "Disabled",
1657
- /** Failed */
1658
- Failed = "Failed"
1615
+ /** Deleting */
1616
+ Deleting = "Deleting",
1617
+ /** Migrating */
1618
+ Migrating = "Migrating",
1619
+ /** Migrated */
1620
+ Migrated = "Migrated"
1659
1621
  }
1660
1622
  /**
1661
- * Defines values for CustomHttpsProvisioningState. \
1662
- * {@link KnownCustomHttpsProvisioningState} can be used interchangeably with CustomHttpsProvisioningState,
1623
+ * Defines values for FrontDoorResourceState. \
1624
+ * {@link KnownFrontDoorResourceState} can be used interchangeably with FrontDoorResourceState,
1663
1625
  * this enum contains the known values that the service supports.
1664
1626
  * ### Known values supported by the service
1627
+ * **Creating** \
1665
1628
  * **Enabling** \
1666
1629
  * **Enabled** \
1667
1630
  * **Disabling** \
1668
1631
  * **Disabled** \
1669
- * **Failed**
1670
- */
1671
- export type CustomHttpsProvisioningState = string;
1672
- /** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */
1673
- export declare enum KnownCustomHttpsProvisioningSubstate {
1674
- /** SubmittingDomainControlValidationRequest */
1675
- SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest",
1676
- /** PendingDomainControlValidationREquestApproval */
1677
- PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval",
1678
- /** DomainControlValidationRequestApproved */
1679
- DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved",
1680
- /** DomainControlValidationRequestRejected */
1681
- DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected",
1682
- /** DomainControlValidationRequestTimedOut */
1683
- DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut",
1684
- /** IssuingCertificate */
1685
- IssuingCertificate = "IssuingCertificate",
1686
- /** DeployingCertificate */
1687
- DeployingCertificate = "DeployingCertificate",
1688
- /** CertificateDeployed */
1689
- CertificateDeployed = "CertificateDeployed",
1690
- /** DeletingCertificate */
1691
- DeletingCertificate = "DeletingCertificate",
1692
- /** CertificateDeleted */
1693
- CertificateDeleted = "CertificateDeleted"
1694
- }
1695
- /**
1696
- * Defines values for CustomHttpsProvisioningSubstate. \
1697
- * {@link KnownCustomHttpsProvisioningSubstate} can be used interchangeably with CustomHttpsProvisioningSubstate,
1698
- * this enum contains the known values that the service supports.
1699
- * ### Known values supported by the service
1700
- * **SubmittingDomainControlValidationRequest** \
1701
- * **PendingDomainControlValidationREquestApproval** \
1702
- * **DomainControlValidationRequestApproved** \
1703
- * **DomainControlValidationRequestRejected** \
1704
- * **DomainControlValidationRequestTimedOut** \
1705
- * **IssuingCertificate** \
1706
- * **DeployingCertificate** \
1707
- * **CertificateDeployed** \
1708
- * **DeletingCertificate** \
1709
- * **CertificateDeleted**
1632
+ * **Deleting** \
1633
+ * **Migrating** \
1634
+ * **Migrated**
1710
1635
  */
1711
- export type CustomHttpsProvisioningSubstate = string;
1712
- /** Known values of {@link FrontDoorCertificateSource} that the service accepts. */
1713
- export declare enum KnownFrontDoorCertificateSource {
1714
- /** AzureKeyVault */
1715
- AzureKeyVault = "AzureKeyVault",
1716
- /** FrontDoor */
1717
- FrontDoor = "FrontDoor"
1636
+ export type FrontDoorResourceState = string;
1637
+ /** Known values of {@link HeaderActionType} that the service accepts. */
1638
+ export declare enum KnownHeaderActionType {
1639
+ /** Append */
1640
+ Append = "Append",
1641
+ /** Delete */
1642
+ Delete = "Delete",
1643
+ /** Overwrite */
1644
+ Overwrite = "Overwrite"
1718
1645
  }
1719
1646
  /**
1720
- * Defines values for FrontDoorCertificateSource. \
1721
- * {@link KnownFrontDoorCertificateSource} can be used interchangeably with FrontDoorCertificateSource,
1647
+ * Defines values for HeaderActionType. \
1648
+ * {@link KnownHeaderActionType} can be used interchangeably with HeaderActionType,
1722
1649
  * this enum contains the known values that the service supports.
1723
1650
  * ### Known values supported by the service
1724
- * **AzureKeyVault** \
1725
- * **FrontDoor**
1651
+ * **Append** \
1652
+ * **Delete** \
1653
+ * **Overwrite**
1726
1654
  */
1727
- export type FrontDoorCertificateSource = string;
1728
- /** Known values of {@link FrontDoorTlsProtocolType} that the service accepts. */
1729
- export declare enum KnownFrontDoorTlsProtocolType {
1730
- /** ServerNameIndication */
1731
- ServerNameIndication = "ServerNameIndication"
1732
- }
1733
- /**
1734
- * Defines values for FrontDoorTlsProtocolType. \
1735
- * {@link KnownFrontDoorTlsProtocolType} can be used interchangeably with FrontDoorTlsProtocolType,
1736
- * this enum contains the known values that the service supports.
1737
- * ### Known values supported by the service
1738
- * **ServerNameIndication**
1739
- */
1740
- export type FrontDoorTlsProtocolType = string;
1741
- /** Known values of {@link MinimumTLSVersion} that the service accepts. */
1742
- export declare enum KnownMinimumTLSVersion {
1743
- /** One0 */
1744
- One0 = "1.0",
1745
- /** One2 */
1746
- One2 = "1.2"
1747
- }
1748
- /**
1749
- * Defines values for MinimumTLSVersion. \
1750
- * {@link KnownMinimumTLSVersion} can be used interchangeably with MinimumTLSVersion,
1751
- * this enum contains the known values that the service supports.
1752
- * ### Known values supported by the service
1753
- * **1.0** \
1754
- * **1.2**
1755
- */
1756
- export type MinimumTLSVersion = string;
1757
- /** Known values of {@link FrontDoorCertificateType} that the service accepts. */
1758
- export declare enum KnownFrontDoorCertificateType {
1759
- /** Dedicated */
1760
- Dedicated = "Dedicated"
1761
- }
1762
- /**
1763
- * Defines values for FrontDoorCertificateType. \
1764
- * {@link KnownFrontDoorCertificateType} can be used interchangeably with FrontDoorCertificateType,
1765
- * this enum contains the known values that the service supports.
1766
- * ### Known values supported by the service
1767
- * **Dedicated**
1768
- */
1769
- export type FrontDoorCertificateType = string;
1770
- /** Known values of {@link SessionAffinityEnabledState} that the service accepts. */
1771
- export declare enum KnownSessionAffinityEnabledState {
1772
- /** Enabled */
1773
- Enabled = "Enabled",
1774
- /** Disabled */
1775
- Disabled = "Disabled"
1776
- }
1777
- /**
1778
- * Defines values for SessionAffinityEnabledState. \
1779
- * {@link KnownSessionAffinityEnabledState} can be used interchangeably with SessionAffinityEnabledState,
1780
- * this enum contains the known values that the service supports.
1781
- * ### Known values supported by the service
1782
- * **Enabled** \
1783
- * **Disabled**
1784
- */
1785
- export type SessionAffinityEnabledState = string;
1786
- /** Known values of {@link EnforceCertificateNameCheckEnabledState} that the service accepts. */
1787
- export declare enum KnownEnforceCertificateNameCheckEnabledState {
1788
- /** Enabled */
1789
- Enabled = "Enabled",
1790
- /** Disabled */
1791
- Disabled = "Disabled"
1792
- }
1793
- /**
1794
- * Defines values for EnforceCertificateNameCheckEnabledState. \
1795
- * {@link KnownEnforceCertificateNameCheckEnabledState} can be used interchangeably with EnforceCertificateNameCheckEnabledState,
1796
- * this enum contains the known values that the service supports.
1797
- * ### Known values supported by the service
1798
- * **Enabled** \
1799
- * **Disabled**
1800
- */
1801
- export type EnforceCertificateNameCheckEnabledState = string;
1802
- /** Known values of {@link FrontDoorEnabledState} that the service accepts. */
1803
- export declare enum KnownFrontDoorEnabledState {
1804
- /** Enabled */
1805
- Enabled = "Enabled",
1806
- /** Disabled */
1807
- Disabled = "Disabled"
1808
- }
1809
- /**
1810
- * Defines values for FrontDoorEnabledState. \
1811
- * {@link KnownFrontDoorEnabledState} can be used interchangeably with FrontDoorEnabledState,
1812
- * this enum contains the known values that the service supports.
1813
- * ### Known values supported by the service
1814
- * **Enabled** \
1815
- * **Disabled**
1816
- */
1817
- export type FrontDoorEnabledState = string;
1818
- /** Known values of {@link PolicyEnabledState} that the service accepts. */
1819
- export declare enum KnownPolicyEnabledState {
1820
- /** Disabled */
1821
- Disabled = "Disabled",
1822
- /** Enabled */
1823
- Enabled = "Enabled"
1824
- }
1825
- /**
1826
- * Defines values for PolicyEnabledState. \
1827
- * {@link KnownPolicyEnabledState} can be used interchangeably with PolicyEnabledState,
1828
- * this enum contains the known values that the service supports.
1829
- * ### Known values supported by the service
1830
- * **Disabled** \
1831
- * **Enabled**
1832
- */
1833
- export type PolicyEnabledState = string;
1834
- /** Known values of {@link PolicyMode} that the service accepts. */
1835
- export declare enum KnownPolicyMode {
1836
- /** Prevention */
1837
- Prevention = "Prevention",
1838
- /** Detection */
1839
- Detection = "Detection"
1840
- }
1841
- /**
1842
- * Defines values for PolicyMode. \
1843
- * {@link KnownPolicyMode} can be used interchangeably with PolicyMode,
1844
- * this enum contains the known values that the service supports.
1845
- * ### Known values supported by the service
1846
- * **Prevention** \
1847
- * **Detection**
1848
- */
1849
- export type PolicyMode = string;
1850
- /** Known values of {@link PolicyRequestBodyCheck} that the service accepts. */
1851
- export declare enum KnownPolicyRequestBodyCheck {
1852
- /** Disabled */
1853
- Disabled = "Disabled",
1854
- /** Enabled */
1855
- Enabled = "Enabled"
1856
- }
1857
- /**
1858
- * Defines values for PolicyRequestBodyCheck. \
1859
- * {@link KnownPolicyRequestBodyCheck} can be used interchangeably with PolicyRequestBodyCheck,
1860
- * this enum contains the known values that the service supports.
1861
- * ### Known values supported by the service
1862
- * **Disabled** \
1863
- * **Enabled**
1864
- */
1865
- export type PolicyRequestBodyCheck = string;
1866
- /** Known values of {@link CustomRuleEnabledState} that the service accepts. */
1867
- export declare enum KnownCustomRuleEnabledState {
1868
- /** Disabled */
1869
- Disabled = "Disabled",
1870
- /** Enabled */
1871
- Enabled = "Enabled"
1872
- }
1873
- /**
1874
- * Defines values for CustomRuleEnabledState. \
1875
- * {@link KnownCustomRuleEnabledState} can be used interchangeably with CustomRuleEnabledState,
1876
- * this enum contains the known values that the service supports.
1877
- * ### Known values supported by the service
1878
- * **Disabled** \
1879
- * **Enabled**
1880
- */
1881
- export type CustomRuleEnabledState = string;
1882
- /** Known values of {@link RuleType} that the service accepts. */
1883
- export declare enum KnownRuleType {
1884
- /** MatchRule */
1885
- MatchRule = "MatchRule",
1886
- /** RateLimitRule */
1887
- RateLimitRule = "RateLimitRule"
1888
- }
1889
- /**
1890
- * Defines values for RuleType. \
1891
- * {@link KnownRuleType} can be used interchangeably with RuleType,
1892
- * this enum contains the known values that the service supports.
1893
- * ### Known values supported by the service
1894
- * **MatchRule** \
1895
- * **RateLimitRule**
1896
- */
1897
- export type RuleType = string;
1898
- /** Known values of {@link MatchVariable} that the service accepts. */
1899
- export declare enum KnownMatchVariable {
1655
+ export type HeaderActionType = string;
1656
+ /** Known values of {@link RulesEngineMatchVariable} that the service accepts. */
1657
+ export declare enum KnownRulesEngineMatchVariable {
1658
+ /** IsMobile */
1659
+ IsMobile = "IsMobile",
1900
1660
  /** RemoteAddr */
1901
1661
  RemoteAddr = "RemoteAddr",
1902
1662
  /** RequestMethod */
@@ -1907,33 +1667,40 @@ export declare enum KnownMatchVariable {
1907
1667
  PostArgs = "PostArgs",
1908
1668
  /** RequestUri */
1909
1669
  RequestUri = "RequestUri",
1670
+ /** RequestPath */
1671
+ RequestPath = "RequestPath",
1672
+ /** RequestFilename */
1673
+ RequestFilename = "RequestFilename",
1674
+ /** RequestFilenameExtension */
1675
+ RequestFilenameExtension = "RequestFilenameExtension",
1910
1676
  /** RequestHeader */
1911
1677
  RequestHeader = "RequestHeader",
1912
1678
  /** RequestBody */
1913
1679
  RequestBody = "RequestBody",
1914
- /** Cookies */
1915
- Cookies = "Cookies",
1916
- /** SocketAddr */
1917
- SocketAddr = "SocketAddr"
1680
+ /** RequestScheme */
1681
+ RequestScheme = "RequestScheme"
1918
1682
  }
1919
1683
  /**
1920
- * Defines values for MatchVariable. \
1921
- * {@link KnownMatchVariable} can be used interchangeably with MatchVariable,
1684
+ * Defines values for RulesEngineMatchVariable. \
1685
+ * {@link KnownRulesEngineMatchVariable} can be used interchangeably with RulesEngineMatchVariable,
1922
1686
  * this enum contains the known values that the service supports.
1923
1687
  * ### Known values supported by the service
1688
+ * **IsMobile** \
1924
1689
  * **RemoteAddr** \
1925
1690
  * **RequestMethod** \
1926
1691
  * **QueryString** \
1927
1692
  * **PostArgs** \
1928
1693
  * **RequestUri** \
1694
+ * **RequestPath** \
1695
+ * **RequestFilename** \
1696
+ * **RequestFilenameExtension** \
1929
1697
  * **RequestHeader** \
1930
1698
  * **RequestBody** \
1931
- * **Cookies** \
1932
- * **SocketAddr**
1699
+ * **RequestScheme**
1933
1700
  */
1934
- export type MatchVariable = string;
1935
- /** Known values of {@link Operator} that the service accepts. */
1936
- export declare enum KnownOperator {
1701
+ export type RulesEngineMatchVariable = string;
1702
+ /** Known values of {@link RulesEngineOperator} that the service accepts. */
1703
+ export declare enum KnownRulesEngineOperator {
1937
1704
  /** Any */
1938
1705
  Any = "Any",
1939
1706
  /** IPMatch */
@@ -1955,13 +1722,11 @@ export declare enum KnownOperator {
1955
1722
  /** BeginsWith */
1956
1723
  BeginsWith = "BeginsWith",
1957
1724
  /** EndsWith */
1958
- EndsWith = "EndsWith",
1959
- /** RegEx */
1960
- RegEx = "RegEx"
1725
+ EndsWith = "EndsWith"
1961
1726
  }
1962
1727
  /**
1963
- * Defines values for Operator. \
1964
- * {@link KnownOperator} can be used interchangeably with Operator,
1728
+ * Defines values for RulesEngineOperator. \
1729
+ * {@link KnownRulesEngineOperator} can be used interchangeably with RulesEngineOperator,
1965
1730
  * this enum contains the known values that the service supports.
1966
1731
  * ### Known values supported by the service
1967
1732
  * **Any** \
@@ -1974,12 +1739,11 @@ export declare enum KnownOperator {
1974
1739
  * **LessThanOrEqual** \
1975
1740
  * **GreaterThanOrEqual** \
1976
1741
  * **BeginsWith** \
1977
- * **EndsWith** \
1978
- * **RegEx**
1742
+ * **EndsWith**
1979
1743
  */
1980
- export type Operator = string;
1981
- /** Known values of {@link TransformType} that the service accepts. */
1982
- export declare enum KnownTransformType {
1744
+ export type RulesEngineOperator = string;
1745
+ /** Known values of {@link Transform} that the service accepts. */
1746
+ export declare enum KnownTransform {
1983
1747
  /** Lowercase */
1984
1748
  Lowercase = "Lowercase",
1985
1749
  /** Uppercase */
@@ -1994,8 +1758,8 @@ export declare enum KnownTransformType {
1994
1758
  RemoveNulls = "RemoveNulls"
1995
1759
  }
1996
1760
  /**
1997
- * Defines values for TransformType. \
1998
- * {@link KnownTransformType} can be used interchangeably with TransformType,
1761
+ * Defines values for Transform. \
1762
+ * {@link KnownTransform} can be used interchangeably with Transform,
1999
1763
  * this enum contains the known values that the service supports.
2000
1764
  * ### Known values supported by the service
2001
1765
  * **Lowercase** \
@@ -2005,116 +1769,301 @@ export declare enum KnownTransformType {
2005
1769
  * **UrlEncode** \
2006
1770
  * **RemoveNulls**
2007
1771
  */
2008
- export type TransformType = string;
2009
- /** Known values of {@link ActionType} that the service accepts. */
2010
- export declare enum KnownActionType {
2011
- /** Allow */
2012
- Allow = "Allow",
2013
- /** Block */
2014
- Block = "Block",
2015
- /** Log */
2016
- Log = "Log",
2017
- /** Redirect */
2018
- Redirect = "Redirect"
1772
+ export type Transform = string;
1773
+ /** Known values of {@link MatchProcessingBehavior} that the service accepts. */
1774
+ export declare enum KnownMatchProcessingBehavior {
1775
+ /** Continue */
1776
+ Continue = "Continue",
1777
+ /** Stop */
1778
+ Stop = "Stop"
2019
1779
  }
2020
1780
  /**
2021
- * Defines values for ActionType. \
2022
- * {@link KnownActionType} can be used interchangeably with ActionType,
1781
+ * Defines values for MatchProcessingBehavior. \
1782
+ * {@link KnownMatchProcessingBehavior} can be used interchangeably with MatchProcessingBehavior,
2023
1783
  * this enum contains the known values that the service supports.
2024
1784
  * ### Known values supported by the service
2025
- * **Allow** \
2026
- * **Block** \
2027
- * **Log** \
2028
- * **Redirect**
1785
+ * **Continue** \
1786
+ * **Stop**
2029
1787
  */
2030
- export type ActionType = string;
2031
- /** Known values of {@link ManagedRuleSetActionType} that the service accepts. */
2032
- export declare enum KnownManagedRuleSetActionType {
2033
- /** Block */
2034
- Block = "Block",
2035
- /** Log */
2036
- Log = "Log",
2037
- /** Redirect */
2038
- Redirect = "Redirect"
2039
- }
1788
+ export type MatchProcessingBehavior = string;
1789
+ /** Known values of {@link FrontDoorProtocol} that the service accepts. */
1790
+ export declare enum KnownFrontDoorProtocol {
1791
+ /** Http */
1792
+ Http = "Http",
1793
+ /** Https */
1794
+ Https = "Https"
1795
+ }
2040
1796
  /**
2041
- * Defines values for ManagedRuleSetActionType. \
2042
- * {@link KnownManagedRuleSetActionType} can be used interchangeably with ManagedRuleSetActionType,
1797
+ * Defines values for FrontDoorProtocol. \
1798
+ * {@link KnownFrontDoorProtocol} can be used interchangeably with FrontDoorProtocol,
2043
1799
  * this enum contains the known values that the service supports.
2044
1800
  * ### Known values supported by the service
2045
- * **Block** \
2046
- * **Log** \
2047
- * **Redirect**
1801
+ * **Http** \
1802
+ * **Https**
2048
1803
  */
2049
- export type ManagedRuleSetActionType = string;
2050
- /** Known values of {@link ManagedRuleExclusionMatchVariable} that the service accepts. */
2051
- export declare enum KnownManagedRuleExclusionMatchVariable {
2052
- /** RequestHeaderNames */
2053
- RequestHeaderNames = "RequestHeaderNames",
2054
- /** RequestCookieNames */
2055
- RequestCookieNames = "RequestCookieNames",
2056
- /** QueryStringArgNames */
2057
- QueryStringArgNames = "QueryStringArgNames",
2058
- /** RequestBodyPostArgNames */
2059
- RequestBodyPostArgNames = "RequestBodyPostArgNames",
2060
- /** RequestBodyJsonArgNames */
2061
- RequestBodyJsonArgNames = "RequestBodyJsonArgNames"
1804
+ export type FrontDoorProtocol = string;
1805
+ /** Known values of {@link RoutingRuleEnabledState} that the service accepts. */
1806
+ export declare enum KnownRoutingRuleEnabledState {
1807
+ /** Enabled */
1808
+ Enabled = "Enabled",
1809
+ /** Disabled */
1810
+ Disabled = "Disabled"
2062
1811
  }
2063
1812
  /**
2064
- * Defines values for ManagedRuleExclusionMatchVariable. \
2065
- * {@link KnownManagedRuleExclusionMatchVariable} can be used interchangeably with ManagedRuleExclusionMatchVariable,
1813
+ * Defines values for RoutingRuleEnabledState. \
1814
+ * {@link KnownRoutingRuleEnabledState} can be used interchangeably with RoutingRuleEnabledState,
2066
1815
  * this enum contains the known values that the service supports.
2067
1816
  * ### Known values supported by the service
2068
- * **RequestHeaderNames** \
2069
- * **RequestCookieNames** \
2070
- * **QueryStringArgNames** \
2071
- * **RequestBodyPostArgNames** \
2072
- * **RequestBodyJsonArgNames**
1817
+ * **Enabled** \
1818
+ * **Disabled**
2073
1819
  */
2074
- export type ManagedRuleExclusionMatchVariable = string;
2075
- /** Known values of {@link ManagedRuleExclusionSelectorMatchOperator} that the service accepts. */
2076
- export declare enum KnownManagedRuleExclusionSelectorMatchOperator {
2077
- /** Equals */
2078
- Equals = "Equals",
2079
- /** Contains */
2080
- Contains = "Contains",
2081
- /** StartsWith */
2082
- StartsWith = "StartsWith",
2083
- /** EndsWith */
2084
- EndsWith = "EndsWith",
2085
- /** EqualsAny */
2086
- EqualsAny = "EqualsAny"
1820
+ export type RoutingRuleEnabledState = string;
1821
+ /** Known values of {@link FrontDoorHealthProbeMethod} that the service accepts. */
1822
+ export declare enum KnownFrontDoorHealthProbeMethod {
1823
+ /** GET */
1824
+ GET = "GET",
1825
+ /** Head */
1826
+ Head = "HEAD"
2087
1827
  }
2088
1828
  /**
2089
- * Defines values for ManagedRuleExclusionSelectorMatchOperator. \
2090
- * {@link KnownManagedRuleExclusionSelectorMatchOperator} can be used interchangeably with ManagedRuleExclusionSelectorMatchOperator,
1829
+ * Defines values for FrontDoorHealthProbeMethod. \
1830
+ * {@link KnownFrontDoorHealthProbeMethod} can be used interchangeably with FrontDoorHealthProbeMethod,
2091
1831
  * this enum contains the known values that the service supports.
2092
1832
  * ### Known values supported by the service
2093
- * **Equals** \
2094
- * **Contains** \
2095
- * **StartsWith** \
2096
- * **EndsWith** \
2097
- * **EqualsAny**
1833
+ * **GET** \
1834
+ * **HEAD**
2098
1835
  */
2099
- export type ManagedRuleExclusionSelectorMatchOperator = string;
2100
- /** Known values of {@link ManagedRuleEnabledState} that the service accepts. */
2101
- export declare enum KnownManagedRuleEnabledState {
1836
+ export type FrontDoorHealthProbeMethod = string;
1837
+ /** Known values of {@link HealthProbeEnabled} that the service accepts. */
1838
+ export declare enum KnownHealthProbeEnabled {
1839
+ /** Enabled */
1840
+ Enabled = "Enabled",
2102
1841
  /** Disabled */
2103
- Disabled = "Disabled",
1842
+ Disabled = "Disabled"
1843
+ }
1844
+ /**
1845
+ * Defines values for HealthProbeEnabled. \
1846
+ * {@link KnownHealthProbeEnabled} can be used interchangeably with HealthProbeEnabled,
1847
+ * this enum contains the known values that the service supports.
1848
+ * ### Known values supported by the service
1849
+ * **Enabled** \
1850
+ * **Disabled**
1851
+ */
1852
+ export type HealthProbeEnabled = string;
1853
+ /** Known values of {@link PrivateEndpointStatus} that the service accepts. */
1854
+ export declare enum KnownPrivateEndpointStatus {
1855
+ /** Pending */
1856
+ Pending = "Pending",
1857
+ /** Approved */
1858
+ Approved = "Approved",
1859
+ /** Rejected */
1860
+ Rejected = "Rejected",
1861
+ /** Disconnected */
1862
+ Disconnected = "Disconnected",
1863
+ /** Timeout */
1864
+ Timeout = "Timeout"
1865
+ }
1866
+ /**
1867
+ * Defines values for PrivateEndpointStatus. \
1868
+ * {@link KnownPrivateEndpointStatus} can be used interchangeably with PrivateEndpointStatus,
1869
+ * this enum contains the known values that the service supports.
1870
+ * ### Known values supported by the service
1871
+ * **Pending** \
1872
+ * **Approved** \
1873
+ * **Rejected** \
1874
+ * **Disconnected** \
1875
+ * **Timeout**
1876
+ */
1877
+ export type PrivateEndpointStatus = string;
1878
+ /** Known values of {@link BackendEnabledState} that the service accepts. */
1879
+ export declare enum KnownBackendEnabledState {
2104
1880
  /** Enabled */
2105
- Enabled = "Enabled"
1881
+ Enabled = "Enabled",
1882
+ /** Disabled */
1883
+ Disabled = "Disabled"
2106
1884
  }
2107
1885
  /**
2108
- * Defines values for ManagedRuleEnabledState. \
2109
- * {@link KnownManagedRuleEnabledState} can be used interchangeably with ManagedRuleEnabledState,
1886
+ * Defines values for BackendEnabledState. \
1887
+ * {@link KnownBackendEnabledState} can be used interchangeably with BackendEnabledState,
2110
1888
  * this enum contains the known values that the service supports.
2111
1889
  * ### Known values supported by the service
1890
+ * **Enabled** \
1891
+ * **Disabled**
1892
+ */
1893
+ export type BackendEnabledState = string;
1894
+ /** Known values of {@link CustomHttpsProvisioningState} that the service accepts. */
1895
+ export declare enum KnownCustomHttpsProvisioningState {
1896
+ /** Enabling */
1897
+ Enabling = "Enabling",
1898
+ /** Enabled */
1899
+ Enabled = "Enabled",
1900
+ /** Disabling */
1901
+ Disabling = "Disabling",
1902
+ /** Disabled */
1903
+ Disabled = "Disabled",
1904
+ /** Failed */
1905
+ Failed = "Failed"
1906
+ }
1907
+ /**
1908
+ * Defines values for CustomHttpsProvisioningState. \
1909
+ * {@link KnownCustomHttpsProvisioningState} can be used interchangeably with CustomHttpsProvisioningState,
1910
+ * this enum contains the known values that the service supports.
1911
+ * ### Known values supported by the service
1912
+ * **Enabling** \
1913
+ * **Enabled** \
1914
+ * **Disabling** \
2112
1915
  * **Disabled** \
2113
- * **Enabled**
1916
+ * **Failed**
2114
1917
  */
2115
- export type ManagedRuleEnabledState = string;
2116
- /** Known values of {@link PolicyResourceState} that the service accepts. */
2117
- export declare enum KnownPolicyResourceState {
1918
+ export type CustomHttpsProvisioningState = string;
1919
+ /** Known values of {@link CustomHttpsProvisioningSubstate} that the service accepts. */
1920
+ export declare enum KnownCustomHttpsProvisioningSubstate {
1921
+ /** SubmittingDomainControlValidationRequest */
1922
+ SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest",
1923
+ /** PendingDomainControlValidationREquestApproval */
1924
+ PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval",
1925
+ /** DomainControlValidationRequestApproved */
1926
+ DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved",
1927
+ /** DomainControlValidationRequestRejected */
1928
+ DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected",
1929
+ /** DomainControlValidationRequestTimedOut */
1930
+ DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut",
1931
+ /** IssuingCertificate */
1932
+ IssuingCertificate = "IssuingCertificate",
1933
+ /** DeployingCertificate */
1934
+ DeployingCertificate = "DeployingCertificate",
1935
+ /** CertificateDeployed */
1936
+ CertificateDeployed = "CertificateDeployed",
1937
+ /** DeletingCertificate */
1938
+ DeletingCertificate = "DeletingCertificate",
1939
+ /** CertificateDeleted */
1940
+ CertificateDeleted = "CertificateDeleted"
1941
+ }
1942
+ /**
1943
+ * Defines values for CustomHttpsProvisioningSubstate. \
1944
+ * {@link KnownCustomHttpsProvisioningSubstate} can be used interchangeably with CustomHttpsProvisioningSubstate,
1945
+ * this enum contains the known values that the service supports.
1946
+ * ### Known values supported by the service
1947
+ * **SubmittingDomainControlValidationRequest** \
1948
+ * **PendingDomainControlValidationREquestApproval** \
1949
+ * **DomainControlValidationRequestApproved** \
1950
+ * **DomainControlValidationRequestRejected** \
1951
+ * **DomainControlValidationRequestTimedOut** \
1952
+ * **IssuingCertificate** \
1953
+ * **DeployingCertificate** \
1954
+ * **CertificateDeployed** \
1955
+ * **DeletingCertificate** \
1956
+ * **CertificateDeleted**
1957
+ */
1958
+ export type CustomHttpsProvisioningSubstate = string;
1959
+ /** Known values of {@link FrontDoorCertificateSource} that the service accepts. */
1960
+ export declare enum KnownFrontDoorCertificateSource {
1961
+ /** AzureKeyVault */
1962
+ AzureKeyVault = "AzureKeyVault",
1963
+ /** FrontDoor */
1964
+ FrontDoor = "FrontDoor"
1965
+ }
1966
+ /**
1967
+ * Defines values for FrontDoorCertificateSource. \
1968
+ * {@link KnownFrontDoorCertificateSource} can be used interchangeably with FrontDoorCertificateSource,
1969
+ * this enum contains the known values that the service supports.
1970
+ * ### Known values supported by the service
1971
+ * **AzureKeyVault** \
1972
+ * **FrontDoor**
1973
+ */
1974
+ export type FrontDoorCertificateSource = string;
1975
+ /** Known values of {@link FrontDoorTlsProtocolType} that the service accepts. */
1976
+ export declare enum KnownFrontDoorTlsProtocolType {
1977
+ /** ServerNameIndication */
1978
+ ServerNameIndication = "ServerNameIndication"
1979
+ }
1980
+ /**
1981
+ * Defines values for FrontDoorTlsProtocolType. \
1982
+ * {@link KnownFrontDoorTlsProtocolType} can be used interchangeably with FrontDoorTlsProtocolType,
1983
+ * this enum contains the known values that the service supports.
1984
+ * ### Known values supported by the service
1985
+ * **ServerNameIndication**
1986
+ */
1987
+ export type FrontDoorTlsProtocolType = string;
1988
+ /** Known values of {@link MinimumTLSVersion} that the service accepts. */
1989
+ export declare enum KnownMinimumTLSVersion {
1990
+ /** One0 */
1991
+ One0 = "1.0",
1992
+ /** One2 */
1993
+ One2 = "1.2"
1994
+ }
1995
+ /**
1996
+ * Defines values for MinimumTLSVersion. \
1997
+ * {@link KnownMinimumTLSVersion} can be used interchangeably with MinimumTLSVersion,
1998
+ * this enum contains the known values that the service supports.
1999
+ * ### Known values supported by the service
2000
+ * **1.0** \
2001
+ * **1.2**
2002
+ */
2003
+ export type MinimumTLSVersion = string;
2004
+ /** Known values of {@link FrontDoorCertificateType} that the service accepts. */
2005
+ export declare enum KnownFrontDoorCertificateType {
2006
+ /** Dedicated */
2007
+ Dedicated = "Dedicated"
2008
+ }
2009
+ /**
2010
+ * Defines values for FrontDoorCertificateType. \
2011
+ * {@link KnownFrontDoorCertificateType} can be used interchangeably with FrontDoorCertificateType,
2012
+ * this enum contains the known values that the service supports.
2013
+ * ### Known values supported by the service
2014
+ * **Dedicated**
2015
+ */
2016
+ export type FrontDoorCertificateType = string;
2017
+ /** Known values of {@link SessionAffinityEnabledState} that the service accepts. */
2018
+ export declare enum KnownSessionAffinityEnabledState {
2019
+ /** Enabled */
2020
+ Enabled = "Enabled",
2021
+ /** Disabled */
2022
+ Disabled = "Disabled"
2023
+ }
2024
+ /**
2025
+ * Defines values for SessionAffinityEnabledState. \
2026
+ * {@link KnownSessionAffinityEnabledState} can be used interchangeably with SessionAffinityEnabledState,
2027
+ * this enum contains the known values that the service supports.
2028
+ * ### Known values supported by the service
2029
+ * **Enabled** \
2030
+ * **Disabled**
2031
+ */
2032
+ export type SessionAffinityEnabledState = string;
2033
+ /** Known values of {@link EnforceCertificateNameCheckEnabledState} that the service accepts. */
2034
+ export declare enum KnownEnforceCertificateNameCheckEnabledState {
2035
+ /** Enabled */
2036
+ Enabled = "Enabled",
2037
+ /** Disabled */
2038
+ Disabled = "Disabled"
2039
+ }
2040
+ /**
2041
+ * Defines values for EnforceCertificateNameCheckEnabledState. \
2042
+ * {@link KnownEnforceCertificateNameCheckEnabledState} can be used interchangeably with EnforceCertificateNameCheckEnabledState,
2043
+ * this enum contains the known values that the service supports.
2044
+ * ### Known values supported by the service
2045
+ * **Enabled** \
2046
+ * **Disabled**
2047
+ */
2048
+ export type EnforceCertificateNameCheckEnabledState = string;
2049
+ /** Known values of {@link FrontDoorEnabledState} that the service accepts. */
2050
+ export declare enum KnownFrontDoorEnabledState {
2051
+ /** Enabled */
2052
+ Enabled = "Enabled",
2053
+ /** Disabled */
2054
+ Disabled = "Disabled"
2055
+ }
2056
+ /**
2057
+ * Defines values for FrontDoorEnabledState. \
2058
+ * {@link KnownFrontDoorEnabledState} can be used interchangeably with FrontDoorEnabledState,
2059
+ * this enum contains the known values that the service supports.
2060
+ * ### Known values supported by the service
2061
+ * **Enabled** \
2062
+ * **Disabled**
2063
+ */
2064
+ export type FrontDoorEnabledState = string;
2065
+ /** Known values of {@link NetworkExperimentResourceState} that the service accepts. */
2066
+ export declare enum KnownNetworkExperimentResourceState {
2118
2067
  /** Creating */
2119
2068
  Creating = "Creating",
2120
2069
  /** Enabling */
@@ -2129,37 +2078,129 @@ export declare enum KnownPolicyResourceState {
2129
2078
  Deleting = "Deleting"
2130
2079
  }
2131
2080
  /**
2132
- * Defines values for PolicyResourceState. \
2133
- * {@link KnownPolicyResourceState} can be used interchangeably with PolicyResourceState,
2081
+ * Defines values for NetworkExperimentResourceState. \
2082
+ * {@link KnownNetworkExperimentResourceState} can be used interchangeably with NetworkExperimentResourceState,
2083
+ * this enum contains the known values that the service supports.
2084
+ * ### Known values supported by the service
2085
+ * **Creating** \
2086
+ * **Enabling** \
2087
+ * **Enabled** \
2088
+ * **Disabling** \
2089
+ * **Disabled** \
2090
+ * **Deleting**
2091
+ */
2092
+ export type NetworkExperimentResourceState = string;
2093
+ /** Known values of {@link State} that the service accepts. */
2094
+ export declare enum KnownState {
2095
+ /** Enabled */
2096
+ Enabled = "Enabled",
2097
+ /** Disabled */
2098
+ Disabled = "Disabled"
2099
+ }
2100
+ /**
2101
+ * Defines values for State. \
2102
+ * {@link KnownState} can be used interchangeably with State,
2103
+ * this enum contains the known values that the service supports.
2104
+ * ### Known values supported by the service
2105
+ * **Enabled** \
2106
+ * **Disabled**
2107
+ */
2108
+ export type State = string;
2109
+ /** Known values of {@link EndpointType} that the service accepts. */
2110
+ export declare enum KnownEndpointType {
2111
+ /** AFD */
2112
+ AFD = "AFD",
2113
+ /** AzureRegion */
2114
+ AzureRegion = "AzureRegion",
2115
+ /** CDN */
2116
+ CDN = "CDN",
2117
+ /** ATM */
2118
+ ATM = "ATM"
2119
+ }
2120
+ /**
2121
+ * Defines values for EndpointType. \
2122
+ * {@link KnownEndpointType} can be used interchangeably with EndpointType,
2123
+ * this enum contains the known values that the service supports.
2124
+ * ### Known values supported by the service
2125
+ * **AFD** \
2126
+ * **AzureRegion** \
2127
+ * **CDN** \
2128
+ * **ATM**
2129
+ */
2130
+ export type EndpointType = string;
2131
+ /** Known values of {@link LatencyScorecardAggregationInterval} that the service accepts. */
2132
+ export declare enum KnownLatencyScorecardAggregationInterval {
2133
+ /** Daily */
2134
+ Daily = "Daily",
2135
+ /** Weekly */
2136
+ Weekly = "Weekly",
2137
+ /** Monthly */
2138
+ Monthly = "Monthly"
2139
+ }
2140
+ /**
2141
+ * Defines values for LatencyScorecardAggregationInterval. \
2142
+ * {@link KnownLatencyScorecardAggregationInterval} can be used interchangeably with LatencyScorecardAggregationInterval,
2143
+ * this enum contains the known values that the service supports.
2144
+ * ### Known values supported by the service
2145
+ * **Daily** \
2146
+ * **Weekly** \
2147
+ * **Monthly**
2148
+ */
2149
+ export type LatencyScorecardAggregationInterval = string;
2150
+ /** Known values of {@link TimeseriesAggregationInterval} that the service accepts. */
2151
+ export declare enum KnownTimeseriesAggregationInterval {
2152
+ /** Hourly */
2153
+ Hourly = "Hourly",
2154
+ /** Daily */
2155
+ Daily = "Daily"
2156
+ }
2157
+ /**
2158
+ * Defines values for TimeseriesAggregationInterval. \
2159
+ * {@link KnownTimeseriesAggregationInterval} can be used interchangeably with TimeseriesAggregationInterval,
2134
2160
  * this enum contains the known values that the service supports.
2135
2161
  * ### Known values supported by the service
2136
- * **Creating** \
2137
- * **Enabling** \
2138
- * **Enabled** \
2139
- * **Disabling** \
2140
- * **Disabled** \
2141
- * **Deleting**
2162
+ * **Hourly** \
2163
+ * **Daily**
2142
2164
  */
2143
- export type PolicyResourceState = string;
2144
- /** Known values of {@link SkuName} that the service accepts. */
2145
- export declare enum KnownSkuName {
2146
- /** ClassicAzureFrontDoor */
2147
- ClassicAzureFrontDoor = "Classic_AzureFrontDoor",
2148
- /** StandardAzureFrontDoor */
2149
- StandardAzureFrontDoor = "Standard_AzureFrontDoor",
2150
- /** PremiumAzureFrontDoor */
2151
- PremiumAzureFrontDoor = "Premium_AzureFrontDoor"
2165
+ export type TimeseriesAggregationInterval = string;
2166
+ /** Known values of {@link TimeseriesType} that the service accepts. */
2167
+ export declare enum KnownTimeseriesType {
2168
+ /** MeasurementCounts */
2169
+ MeasurementCounts = "MeasurementCounts",
2170
+ /** LatencyP50 */
2171
+ LatencyP50 = "LatencyP50",
2172
+ /** LatencyP75 */
2173
+ LatencyP75 = "LatencyP75",
2174
+ /** LatencyP95 */
2175
+ LatencyP95 = "LatencyP95"
2152
2176
  }
2153
2177
  /**
2154
- * Defines values for SkuName. \
2155
- * {@link KnownSkuName} can be used interchangeably with SkuName,
2178
+ * Defines values for TimeseriesType. \
2179
+ * {@link KnownTimeseriesType} can be used interchangeably with TimeseriesType,
2156
2180
  * this enum contains the known values that the service supports.
2157
2181
  * ### Known values supported by the service
2158
- * **Classic_AzureFrontDoor** \
2159
- * **Standard_AzureFrontDoor** \
2160
- * **Premium_AzureFrontDoor**
2182
+ * **MeasurementCounts** \
2183
+ * **LatencyP50** \
2184
+ * **LatencyP75** \
2185
+ * **LatencyP95**
2161
2186
  */
2162
- export type SkuName = string;
2187
+ export type TimeseriesType = string;
2188
+ /** Known values of {@link AggregationInterval} that the service accepts. */
2189
+ export declare enum KnownAggregationInterval {
2190
+ /** Hourly */
2191
+ Hourly = "Hourly",
2192
+ /** Daily */
2193
+ Daily = "Daily"
2194
+ }
2195
+ /**
2196
+ * Defines values for AggregationInterval. \
2197
+ * {@link KnownAggregationInterval} can be used interchangeably with AggregationInterval,
2198
+ * this enum contains the known values that the service supports.
2199
+ * ### Known values supported by the service
2200
+ * **Hourly** \
2201
+ * **Daily**
2202
+ */
2203
+ export type AggregationInterval = string;
2163
2204
  /** Known values of {@link NetworkOperationStatus} that the service accepts. */
2164
2205
  export declare enum KnownNetworkOperationStatus {
2165
2206
  /** InProgress */
@@ -2280,123 +2321,65 @@ export type FrontDoorRedirectProtocol = string;
2280
2321
  /** Defines values for ResourceType. */
2281
2322
  export type ResourceType = "Microsoft.Network/frontDoors" | "Microsoft.Network/frontDoors/frontendEndpoints";
2282
2323
  /** Optional parameters. */
2283
- export interface NetworkExperimentProfilesListOptionalParams extends coreClient.OperationOptions {
2324
+ export interface PoliciesListOptionalParams extends coreClient.OperationOptions {
2284
2325
  }
2285
2326
  /** Contains response data for the list operation. */
2286
- export type NetworkExperimentProfilesListResponse = ProfileList;
2327
+ export type PoliciesListResponse = WebApplicationFirewallPolicyList;
2287
2328
  /** Optional parameters. */
2288
- export interface NetworkExperimentProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2329
+ export interface PoliciesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2289
2330
  }
2290
- /** Contains response data for the listByResourceGroup operation. */
2291
- export type NetworkExperimentProfilesListByResourceGroupResponse = ProfileList;
2331
+ /** Contains response data for the listBySubscription operation. */
2332
+ export type PoliciesListBySubscriptionResponse = WebApplicationFirewallPolicyList;
2292
2333
  /** Optional parameters. */
2293
- export interface NetworkExperimentProfilesGetOptionalParams extends coreClient.OperationOptions {
2334
+ export interface PoliciesGetOptionalParams extends coreClient.OperationOptions {
2294
2335
  }
2295
2336
  /** Contains response data for the get operation. */
2296
- export type NetworkExperimentProfilesGetResponse = Profile;
2337
+ export type PoliciesGetResponse = WebApplicationFirewallPolicy;
2297
2338
  /** Optional parameters. */
2298
- export interface NetworkExperimentProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2339
+ export interface PoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2299
2340
  /** Delay to wait until next poll, in milliseconds. */
2300
2341
  updateIntervalInMs?: number;
2301
2342
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2302
2343
  resumeFrom?: string;
2303
2344
  }
2304
2345
  /** Contains response data for the createOrUpdate operation. */
2305
- export type NetworkExperimentProfilesCreateOrUpdateResponse = Profile;
2346
+ export type PoliciesCreateOrUpdateResponse = WebApplicationFirewallPolicy;
2306
2347
  /** Optional parameters. */
2307
- export interface NetworkExperimentProfilesUpdateOptionalParams extends coreClient.OperationOptions {
2348
+ export interface PoliciesUpdateOptionalParams extends coreClient.OperationOptions {
2308
2349
  /** Delay to wait until next poll, in milliseconds. */
2309
2350
  updateIntervalInMs?: number;
2310
2351
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2311
2352
  resumeFrom?: string;
2312
2353
  }
2313
2354
  /** Contains response data for the update operation. */
2314
- export type NetworkExperimentProfilesUpdateResponse = Profile;
2355
+ export type PoliciesUpdateResponse = WebApplicationFirewallPolicy;
2315
2356
  /** Optional parameters. */
2316
- export interface NetworkExperimentProfilesDeleteOptionalParams extends coreClient.OperationOptions {
2357
+ export interface PoliciesDeleteOptionalParams extends coreClient.OperationOptions {
2317
2358
  /** Delay to wait until next poll, in milliseconds. */
2318
2359
  updateIntervalInMs?: number;
2319
2360
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2320
2361
  resumeFrom?: string;
2321
2362
  }
2322
2363
  /** Optional parameters. */
2323
- export interface NetworkExperimentProfilesListNextOptionalParams extends coreClient.OperationOptions {
2364
+ export interface PoliciesListNextOptionalParams extends coreClient.OperationOptions {
2324
2365
  }
2325
2366
  /** Contains response data for the listNext operation. */
2326
- export type NetworkExperimentProfilesListNextResponse = ProfileList;
2367
+ export type PoliciesListNextResponse = WebApplicationFirewallPolicyList;
2327
2368
  /** Optional parameters. */
2328
- export interface NetworkExperimentProfilesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2369
+ export interface PoliciesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2329
2370
  }
2330
- /** Contains response data for the listByResourceGroupNext operation. */
2331
- export type NetworkExperimentProfilesListByResourceGroupNextResponse = ProfileList;
2371
+ /** Contains response data for the listBySubscriptionNext operation. */
2372
+ export type PoliciesListBySubscriptionNextResponse = WebApplicationFirewallPolicyList;
2332
2373
  /** Optional parameters. */
2333
- export interface PreconfiguredEndpointsListOptionalParams extends coreClient.OperationOptions {
2374
+ export interface ManagedRuleSetsListOptionalParams extends coreClient.OperationOptions {
2334
2375
  }
2335
2376
  /** Contains response data for the list operation. */
2336
- export type PreconfiguredEndpointsListResponse = PreconfiguredEndpointList;
2377
+ export type ManagedRuleSetsListResponse = ManagedRuleSetDefinitionList;
2337
2378
  /** Optional parameters. */
2338
- export interface PreconfiguredEndpointsListNextOptionalParams extends coreClient.OperationOptions {
2379
+ export interface ManagedRuleSetsListNextOptionalParams extends coreClient.OperationOptions {
2339
2380
  }
2340
2381
  /** Contains response data for the listNext operation. */
2341
- export type PreconfiguredEndpointsListNextResponse = PreconfiguredEndpointList;
2342
- /** Optional parameters. */
2343
- export interface ExperimentsListByProfileOptionalParams extends coreClient.OperationOptions {
2344
- }
2345
- /** Contains response data for the listByProfile operation. */
2346
- export type ExperimentsListByProfileResponse = ExperimentList;
2347
- /** Optional parameters. */
2348
- export interface ExperimentsGetOptionalParams extends coreClient.OperationOptions {
2349
- }
2350
- /** Contains response data for the get operation. */
2351
- export type ExperimentsGetResponse = Experiment;
2352
- /** Optional parameters. */
2353
- export interface ExperimentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2354
- /** Delay to wait until next poll, in milliseconds. */
2355
- updateIntervalInMs?: number;
2356
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2357
- resumeFrom?: string;
2358
- }
2359
- /** Contains response data for the createOrUpdate operation. */
2360
- export type ExperimentsCreateOrUpdateResponse = Experiment;
2361
- /** Optional parameters. */
2362
- export interface ExperimentsUpdateOptionalParams extends coreClient.OperationOptions {
2363
- /** Delay to wait until next poll, in milliseconds. */
2364
- updateIntervalInMs?: number;
2365
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2366
- resumeFrom?: string;
2367
- }
2368
- /** Contains response data for the update operation. */
2369
- export type ExperimentsUpdateResponse = Experiment;
2370
- /** Optional parameters. */
2371
- export interface ExperimentsDeleteOptionalParams extends coreClient.OperationOptions {
2372
- /** Delay to wait until next poll, in milliseconds. */
2373
- updateIntervalInMs?: number;
2374
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2375
- resumeFrom?: string;
2376
- }
2377
- /** Optional parameters. */
2378
- export interface ExperimentsListByProfileNextOptionalParams extends coreClient.OperationOptions {
2379
- }
2380
- /** Contains response data for the listByProfileNext operation. */
2381
- export type ExperimentsListByProfileNextResponse = ExperimentList;
2382
- /** Optional parameters. */
2383
- export interface ReportsGetLatencyScorecardsOptionalParams extends coreClient.OperationOptions {
2384
- /** The end DateTime of the Latency Scorecard in UTC */
2385
- endDateTimeUTC?: string;
2386
- /** The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
2387
- country?: string;
2388
- }
2389
- /** Contains response data for the getLatencyScorecards operation. */
2390
- export type ReportsGetLatencyScorecardsResponse = LatencyScorecard;
2391
- /** Optional parameters. */
2392
- export interface ReportsGetTimeseriesOptionalParams extends coreClient.OperationOptions {
2393
- /** The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
2394
- country?: string;
2395
- /** The specific endpoint */
2396
- endpoint?: string;
2397
- }
2398
- /** Contains response data for the getTimeseries operation. */
2399
- export type ReportsGetTimeseriesResponse = Timeseries;
2382
+ export type ManagedRuleSetsListNextResponse = ManagedRuleSetDefinitionList;
2400
2383
  /** Optional parameters. */
2401
2384
  export interface FrontDoorNameAvailabilityCheckOptionalParams extends coreClient.OperationOptions {
2402
2385
  }
@@ -2521,46 +2504,123 @@ export interface RulesEnginesListByFrontDoorNextOptionalParams extends coreClien
2521
2504
  /** Contains response data for the listByFrontDoorNext operation. */
2522
2505
  export type RulesEnginesListByFrontDoorNextResponse = RulesEngineListResult;
2523
2506
  /** Optional parameters. */
2524
- export interface PoliciesListOptionalParams extends coreClient.OperationOptions {
2507
+ export interface NetworkExperimentProfilesListOptionalParams extends coreClient.OperationOptions {
2525
2508
  }
2526
2509
  /** Contains response data for the list operation. */
2527
- export type PoliciesListResponse = WebApplicationFirewallPolicyList;
2510
+ export type NetworkExperimentProfilesListResponse = ProfileList;
2528
2511
  /** Optional parameters. */
2529
- export interface PoliciesGetOptionalParams extends coreClient.OperationOptions {
2512
+ export interface NetworkExperimentProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2513
+ }
2514
+ /** Contains response data for the listByResourceGroup operation. */
2515
+ export type NetworkExperimentProfilesListByResourceGroupResponse = ProfileList;
2516
+ /** Optional parameters. */
2517
+ export interface NetworkExperimentProfilesGetOptionalParams extends coreClient.OperationOptions {
2530
2518
  }
2531
2519
  /** Contains response data for the get operation. */
2532
- export type PoliciesGetResponse = WebApplicationFirewallPolicy;
2520
+ export type NetworkExperimentProfilesGetResponse = Profile;
2533
2521
  /** Optional parameters. */
2534
- export interface PoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2522
+ export interface NetworkExperimentProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2535
2523
  /** Delay to wait until next poll, in milliseconds. */
2536
2524
  updateIntervalInMs?: number;
2537
2525
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2538
2526
  resumeFrom?: string;
2539
2527
  }
2540
2528
  /** Contains response data for the createOrUpdate operation. */
2541
- export type PoliciesCreateOrUpdateResponse = WebApplicationFirewallPolicy;
2529
+ export type NetworkExperimentProfilesCreateOrUpdateResponse = Profile;
2542
2530
  /** Optional parameters. */
2543
- export interface PoliciesDeleteOptionalParams extends coreClient.OperationOptions {
2531
+ export interface NetworkExperimentProfilesUpdateOptionalParams extends coreClient.OperationOptions {
2544
2532
  /** Delay to wait until next poll, in milliseconds. */
2545
2533
  updateIntervalInMs?: number;
2546
2534
  /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2547
2535
  resumeFrom?: string;
2548
2536
  }
2537
+ /** Contains response data for the update operation. */
2538
+ export type NetworkExperimentProfilesUpdateResponse = Profile;
2549
2539
  /** Optional parameters. */
2550
- export interface PoliciesListNextOptionalParams extends coreClient.OperationOptions {
2540
+ export interface NetworkExperimentProfilesDeleteOptionalParams extends coreClient.OperationOptions {
2541
+ /** Delay to wait until next poll, in milliseconds. */
2542
+ updateIntervalInMs?: number;
2543
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2544
+ resumeFrom?: string;
2545
+ }
2546
+ /** Optional parameters. */
2547
+ export interface NetworkExperimentProfilesListNextOptionalParams extends coreClient.OperationOptions {
2551
2548
  }
2552
2549
  /** Contains response data for the listNext operation. */
2553
- export type PoliciesListNextResponse = WebApplicationFirewallPolicyList;
2550
+ export type NetworkExperimentProfilesListNextResponse = ProfileList;
2554
2551
  /** Optional parameters. */
2555
- export interface ManagedRuleSetsListOptionalParams extends coreClient.OperationOptions {
2552
+ export interface NetworkExperimentProfilesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2553
+ }
2554
+ /** Contains response data for the listByResourceGroupNext operation. */
2555
+ export type NetworkExperimentProfilesListByResourceGroupNextResponse = ProfileList;
2556
+ /** Optional parameters. */
2557
+ export interface PreconfiguredEndpointsListOptionalParams extends coreClient.OperationOptions {
2556
2558
  }
2557
2559
  /** Contains response data for the list operation. */
2558
- export type ManagedRuleSetsListResponse = ManagedRuleSetDefinitionList;
2560
+ export type PreconfiguredEndpointsListResponse = PreconfiguredEndpointList;
2559
2561
  /** Optional parameters. */
2560
- export interface ManagedRuleSetsListNextOptionalParams extends coreClient.OperationOptions {
2562
+ export interface PreconfiguredEndpointsListNextOptionalParams extends coreClient.OperationOptions {
2561
2563
  }
2562
2564
  /** Contains response data for the listNext operation. */
2563
- export type ManagedRuleSetsListNextResponse = ManagedRuleSetDefinitionList;
2565
+ export type PreconfiguredEndpointsListNextResponse = PreconfiguredEndpointList;
2566
+ /** Optional parameters. */
2567
+ export interface ExperimentsListByProfileOptionalParams extends coreClient.OperationOptions {
2568
+ }
2569
+ /** Contains response data for the listByProfile operation. */
2570
+ export type ExperimentsListByProfileResponse = ExperimentList;
2571
+ /** Optional parameters. */
2572
+ export interface ExperimentsGetOptionalParams extends coreClient.OperationOptions {
2573
+ }
2574
+ /** Contains response data for the get operation. */
2575
+ export type ExperimentsGetResponse = Experiment;
2576
+ /** Optional parameters. */
2577
+ export interface ExperimentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2578
+ /** Delay to wait until next poll, in milliseconds. */
2579
+ updateIntervalInMs?: number;
2580
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2581
+ resumeFrom?: string;
2582
+ }
2583
+ /** Contains response data for the createOrUpdate operation. */
2584
+ export type ExperimentsCreateOrUpdateResponse = Experiment;
2585
+ /** Optional parameters. */
2586
+ export interface ExperimentsUpdateOptionalParams extends coreClient.OperationOptions {
2587
+ /** Delay to wait until next poll, in milliseconds. */
2588
+ updateIntervalInMs?: number;
2589
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2590
+ resumeFrom?: string;
2591
+ }
2592
+ /** Contains response data for the update operation. */
2593
+ export type ExperimentsUpdateResponse = Experiment;
2594
+ /** Optional parameters. */
2595
+ export interface ExperimentsDeleteOptionalParams extends coreClient.OperationOptions {
2596
+ /** Delay to wait until next poll, in milliseconds. */
2597
+ updateIntervalInMs?: number;
2598
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2599
+ resumeFrom?: string;
2600
+ }
2601
+ /** Optional parameters. */
2602
+ export interface ExperimentsListByProfileNextOptionalParams extends coreClient.OperationOptions {
2603
+ }
2604
+ /** Contains response data for the listByProfileNext operation. */
2605
+ export type ExperimentsListByProfileNextResponse = ExperimentList;
2606
+ /** Optional parameters. */
2607
+ export interface ReportsGetLatencyScorecardsOptionalParams extends coreClient.OperationOptions {
2608
+ /** The end DateTime of the Latency Scorecard in UTC */
2609
+ endDateTimeUTC?: string;
2610
+ /** The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
2611
+ country?: string;
2612
+ }
2613
+ /** Contains response data for the getLatencyScorecards operation. */
2614
+ export type ReportsGetLatencyScorecardsResponse = LatencyScorecard;
2615
+ /** Optional parameters. */
2616
+ export interface ReportsGetTimeseriesOptionalParams extends coreClient.OperationOptions {
2617
+ /** The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html */
2618
+ country?: string;
2619
+ /** The specific endpoint */
2620
+ endpoint?: string;
2621
+ }
2622
+ /** Contains response data for the getTimeseries operation. */
2623
+ export type ReportsGetTimeseriesResponse = Timeseries;
2564
2624
  /** Optional parameters. */
2565
2625
  export interface FrontDoorManagementClientOptionalParams extends coreClient.ServiceClientOptions {
2566
2626
  /** server parameter */