@azure/arm-frontdoor 5.1.1-alpha.20230501.1 → 5.2.0-alpha.20230517.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) 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 +6 -5
  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/types/tsdoc-metadata.json +1 -1
  198. package/dist-esm/test/sampleTest.d.ts +0 -2
  199. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  200. package/dist-esm/test/sampleTest.js +0 -38
  201. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
6
 
7
7
  /**
8
8
  * Defines values for ActionType. \
@@ -12,7 +12,8 @@ import { PollOperationState } from '@azure/core-lro';
12
12
  * **Allow** \
13
13
  * **Block** \
14
14
  * **Log** \
15
- * **Redirect**
15
+ * **Redirect** \
16
+ * **AnomalyScoring**
16
17
  */
17
18
  export declare type ActionType = string;
18
19
 
@@ -38,7 +39,7 @@ export declare type Availability = string;
38
39
 
39
40
  /** 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. */
40
41
  export declare interface AzureAsyncOperationResult {
41
- /** Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. */
42
+ /** Status of the Azure async operation. */
42
43
  status?: NetworkOperationStatus;
43
44
  error?: ErrorModel;
44
45
  }
@@ -268,6 +269,26 @@ export declare interface CustomRuleList {
268
269
  rules?: CustomRule[];
269
270
  }
270
271
 
272
+ /** Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message. */
273
+ export declare interface DefaultErrorResponse {
274
+ /** Error model. */
275
+ error?: DefaultErrorResponseError;
276
+ }
277
+
278
+ /** Error model. */
279
+ export declare interface DefaultErrorResponseError {
280
+ /**
281
+ * Error code.
282
+ * NOTE: This property will not be serialized. It can only be populated by the server.
283
+ */
284
+ readonly code?: string;
285
+ /**
286
+ * Error message indicating why the operation failed.
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly message?: string;
290
+ }
291
+
271
292
  /**
272
293
  * Defines values for DynamicCompressionEnabled. \
273
294
  * {@link KnownDynamicCompressionEnabled} can be used interchangeably with DynamicCompressionEnabled,
@@ -297,7 +318,7 @@ export declare interface Endpoints {
297
318
  * which removes all folders and files in the directory.
298
319
  * @param options The options parameters.
299
320
  */
300
- beginPurgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
321
+ beginPurgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
301
322
  /**
302
323
  * Removes a content from Front Door.
303
324
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -431,7 +452,7 @@ export declare interface Experiments {
431
452
  * @param parameters The Experiment resource
432
453
  * @param options The options parameters.
433
454
  */
434
- beginCreateOrUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ExperimentsCreateOrUpdateResponse>, ExperimentsCreateOrUpdateResponse>>;
455
+ beginCreateOrUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: Experiment, options?: ExperimentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExperimentsCreateOrUpdateResponse>, ExperimentsCreateOrUpdateResponse>>;
435
456
  /**
436
457
  * Creates or updates an Experiment
437
458
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -449,7 +470,7 @@ export declare interface Experiments {
449
470
  * @param parameters The Experiment Update Model
450
471
  * @param options The options parameters.
451
472
  */
452
- beginUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ExperimentsUpdateResponse>, ExperimentsUpdateResponse>>;
473
+ beginUpdate(resourceGroupName: string, profileName: string, experimentName: string, parameters: ExperimentUpdateModel, options?: ExperimentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExperimentsUpdateResponse>, ExperimentsUpdateResponse>>;
453
474
  /**
454
475
  * Updates an Experiment
455
476
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -466,7 +487,7 @@ export declare interface Experiments {
466
487
  * @param experimentName The Experiment identifier associated with the Experiment
467
488
  * @param options The options parameters.
468
489
  */
469
- beginDelete(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
490
+ beginDelete(resourceGroupName: string, profileName: string, experimentName: string, options?: ExperimentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
470
491
  /**
471
492
  * Deletes an Experiment
472
493
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -597,6 +618,13 @@ export declare interface FrontDoor extends Resource {
597
618
  * NOTE: This property will not be serialized. It can only be populated by the server.
598
619
  */
599
620
  readonly rulesEngines?: RulesEngine[];
621
+ /**
622
+ * Key-Value pair representing additional properties for frontdoor.
623
+ * NOTE: This property will not be serialized. It can only be populated by the server.
624
+ */
625
+ readonly extendedProperties?: {
626
+ [propertyName: string]: string;
627
+ };
600
628
  }
601
629
 
602
630
  /**
@@ -671,18 +699,18 @@ export declare class FrontDoorManagementClient extends coreClient.ServiceClient
671
699
  * @param options The parameter options
672
700
  */
673
701
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: FrontDoorManagementClientOptionalParams);
674
- networkExperimentProfiles: NetworkExperimentProfiles;
675
- preconfiguredEndpoints: PreconfiguredEndpoints;
676
- experiments: Experiments;
677
- reports: Reports;
702
+ policies: Policies;
703
+ managedRuleSets: ManagedRuleSets;
678
704
  frontDoorNameAvailability: FrontDoorNameAvailability;
679
705
  frontDoorNameAvailabilityWithSubscription: FrontDoorNameAvailabilityWithSubscription;
680
706
  frontDoors: FrontDoors;
681
707
  frontendEndpoints: FrontendEndpoints;
682
708
  endpoints: Endpoints;
683
709
  rulesEngines: RulesEngines;
684
- policies: Policies;
685
- managedRuleSets: ManagedRuleSets;
710
+ networkExperimentProfiles: NetworkExperimentProfiles;
711
+ preconfiguredEndpoints: PreconfiguredEndpoints;
712
+ experiments: Experiments;
713
+ reports: Reports;
686
714
  }
687
715
 
688
716
  /** Optional parameters. */
@@ -754,6 +782,13 @@ export declare interface FrontDoorProperties extends FrontDoorUpdateParameters {
754
782
  * NOTE: This property will not be serialized. It can only be populated by the server.
755
783
  */
756
784
  readonly rulesEngines?: RulesEngine[];
785
+ /**
786
+ * Key-Value pair representing additional properties for frontdoor.
787
+ * NOTE: This property will not be serialized. It can only be populated by the server.
788
+ */
789
+ readonly extendedProperties?: {
790
+ [propertyName: string]: string;
791
+ };
757
792
  }
758
793
 
759
794
  /**
@@ -811,7 +846,9 @@ export declare type FrontDoorRedirectType = string;
811
846
  * **Enabled** \
812
847
  * **Disabling** \
813
848
  * **Disabled** \
814
- * **Deleting**
849
+ * **Deleting** \
850
+ * **Migrating** \
851
+ * **Migrated**
815
852
  */
816
853
  export declare type FrontDoorResourceState = string;
817
854
 
@@ -843,7 +880,7 @@ export declare interface FrontDoors {
843
880
  * @param frontDoorParameters Front Door properties needed to create a new Front Door.
844
881
  * @param options The options parameters.
845
882
  */
846
- beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, frontDoorParameters: FrontDoor, options?: FrontDoorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FrontDoorsCreateOrUpdateResponse>, FrontDoorsCreateOrUpdateResponse>>;
883
+ beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, frontDoorParameters: FrontDoor, options?: FrontDoorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FrontDoorsCreateOrUpdateResponse>, FrontDoorsCreateOrUpdateResponse>>;
847
884
  /**
848
885
  * Creates a new Front Door with a Front Door name under the specified subscription and resource group.
849
886
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -858,7 +895,7 @@ export declare interface FrontDoors {
858
895
  * @param frontDoorName Name of the Front Door which is globally unique.
859
896
  * @param options The options parameters.
860
897
  */
861
- beginDelete(resourceGroupName: string, frontDoorName: string, options?: FrontDoorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
898
+ beginDelete(resourceGroupName: string, frontDoorName: string, options?: FrontDoorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
862
899
  /**
863
900
  * Deletes an existing Front Door with the specified parameters.
864
901
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -1060,7 +1097,7 @@ export declare interface FrontendEndpoints {
1060
1097
  * @param customHttpsConfiguration The configuration specifying how to enable HTTPS
1061
1098
  * @param options The options parameters.
1062
1099
  */
1063
- beginEnableHttps(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, customHttpsConfiguration: CustomHttpsConfiguration, options?: FrontendEndpointsEnableHttpsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1100
+ beginEnableHttps(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, customHttpsConfiguration: CustomHttpsConfiguration, options?: FrontendEndpointsEnableHttpsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1064
1101
  /**
1065
1102
  * Enables a frontendEndpoint for HTTPS traffic
1066
1103
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -1077,7 +1114,7 @@ export declare interface FrontendEndpoints {
1077
1114
  * @param frontendEndpointName Name of the Frontend endpoint which is unique within the Front Door.
1078
1115
  * @param options The options parameters.
1079
1116
  */
1080
- beginDisableHttps(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, options?: FrontendEndpointsDisableHttpsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1117
+ beginDisableHttps(resourceGroupName: string, frontDoorName: string, frontendEndpointName: string, options?: FrontendEndpointsDisableHttpsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1081
1118
  /**
1082
1119
  * Disables a frontendEndpoint for HTTPS traffic
1083
1120
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -1155,11 +1192,11 @@ export declare interface FrontendEndpointUpdateParametersWebApplicationFirewallP
1155
1192
  }
1156
1193
 
1157
1194
  /**
1158
- * Given a result page from a pageable operation, returns a
1159
- * continuation token that can be used to begin paging from
1195
+ * Given the last `.value` produced by the `byPage` iterator,
1196
+ * returns a continuation token that can be used to begin paging from
1160
1197
  * that point later.
1161
- * @param page A result object from calling .byPage() on a paged operation.
1162
- * @returns The continuation token that can be passed into byPage().
1198
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
1199
+ * @returns The continuation token that can be passed into byPage() during future calls.
1163
1200
  */
1164
1201
  export declare function getContinuationToken(page: unknown): string | undefined;
1165
1202
 
@@ -1269,7 +1306,9 @@ export declare enum KnownActionType {
1269
1306
  /** Log */
1270
1307
  Log = "Log",
1271
1308
  /** Redirect */
1272
- Redirect = "Redirect"
1309
+ Redirect = "Redirect",
1310
+ /** AnomalyScoring */
1311
+ AnomalyScoring = "AnomalyScoring"
1273
1312
  }
1274
1313
 
1275
1314
  /** Known values of {@link AggregationInterval} that the service accepts. */
@@ -1465,7 +1504,11 @@ export declare enum KnownFrontDoorResourceState {
1465
1504
  /** Disabled */
1466
1505
  Disabled = "Disabled",
1467
1506
  /** Deleting */
1468
- Deleting = "Deleting"
1507
+ Deleting = "Deleting",
1508
+ /** Migrating */
1509
+ Migrating = "Migrating",
1510
+ /** Migrated */
1511
+ Migrated = "Migrated"
1469
1512
  }
1470
1513
 
1471
1514
  /** Known values of {@link FrontDoorTlsProtocolType} that the service accepts. */
@@ -2122,7 +2165,7 @@ export declare interface ManagedRuleSet {
2122
2165
  ruleSetType: string;
2123
2166
  /** Defines the version of the rule set to use. */
2124
2167
  ruleSetVersion: string;
2125
- /** Defines the action to take when a managed rule set score threshold is met. */
2168
+ /** Defines the rule set action. */
2126
2169
  ruleSetAction?: ManagedRuleSetActionType;
2127
2170
  /** Describes the exclusions that are applied to all rules in the set. */
2128
2171
  exclusions?: ManagedRuleExclusion[];
@@ -2290,7 +2333,7 @@ export declare interface NetworkExperimentProfiles {
2290
2333
  * @param parameters An Network Experiment Profile
2291
2334
  * @param options The options parameters.
2292
2335
  */
2293
- beginCreateOrUpdate(profileName: string, resourceGroupName: string, parameters: Profile, options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<NetworkExperimentProfilesCreateOrUpdateResponse>, NetworkExperimentProfilesCreateOrUpdateResponse>>;
2336
+ beginCreateOrUpdate(profileName: string, resourceGroupName: string, parameters: Profile, options?: NetworkExperimentProfilesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkExperimentProfilesCreateOrUpdateResponse>, NetworkExperimentProfilesCreateOrUpdateResponse>>;
2294
2337
  /**
2295
2338
  * Creates an NetworkExperiment Profile
2296
2339
  * @param profileName The Profile identifier associated with the Tenant and Partner
@@ -2306,7 +2349,7 @@ export declare interface NetworkExperimentProfiles {
2306
2349
  * @param parameters The Profile Update Model
2307
2350
  * @param options The options parameters.
2308
2351
  */
2309
- beginUpdate(resourceGroupName: string, profileName: string, parameters: ProfileUpdateModel, options?: NetworkExperimentProfilesUpdateOptionalParams): Promise<PollerLike<PollOperationState<NetworkExperimentProfilesUpdateResponse>, NetworkExperimentProfilesUpdateResponse>>;
2352
+ beginUpdate(resourceGroupName: string, profileName: string, parameters: ProfileUpdateModel, options?: NetworkExperimentProfilesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkExperimentProfilesUpdateResponse>, NetworkExperimentProfilesUpdateResponse>>;
2310
2353
  /**
2311
2354
  * Updates an NetworkExperimentProfiles
2312
2355
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -2321,7 +2364,7 @@ export declare interface NetworkExperimentProfiles {
2321
2364
  * @param profileName The Profile identifier associated with the Tenant and Partner
2322
2365
  * @param options The options parameters.
2323
2366
  */
2324
- beginDelete(resourceGroupName: string, profileName: string, options?: NetworkExperimentProfilesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2367
+ beginDelete(resourceGroupName: string, profileName: string, options?: NetworkExperimentProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2325
2368
  /**
2326
2369
  * Deletes an NetworkExperiment Profile by ProfileName
2327
2370
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -2449,6 +2492,11 @@ export declare interface Policies {
2449
2492
  * @param options The options parameters.
2450
2493
  */
2451
2494
  list(resourceGroupName: string, options?: PoliciesListOptionalParams): PagedAsyncIterableIterator<WebApplicationFirewallPolicy>;
2495
+ /**
2496
+ * Lists all of the protection policies within a subscription.
2497
+ * @param options The options parameters.
2498
+ */
2499
+ listBySubscription(options?: PoliciesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WebApplicationFirewallPolicy>;
2452
2500
  /**
2453
2501
  * Retrieve protection policy with specified name within a resource group.
2454
2502
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -2463,7 +2511,7 @@ export declare interface Policies {
2463
2511
  * @param parameters Policy to be created.
2464
2512
  * @param options The options parameters.
2465
2513
  */
2466
- beginCreateOrUpdate(resourceGroupName: string, policyName: string, parameters: WebApplicationFirewallPolicy, options?: PoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PoliciesCreateOrUpdateResponse>, PoliciesCreateOrUpdateResponse>>;
2514
+ beginCreateOrUpdate(resourceGroupName: string, policyName: string, parameters: WebApplicationFirewallPolicy, options?: PoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PoliciesCreateOrUpdateResponse>, PoliciesCreateOrUpdateResponse>>;
2467
2515
  /**
2468
2516
  * Create or update policy with specified rule set name within a resource group.
2469
2517
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -2472,13 +2520,31 @@ export declare interface Policies {
2472
2520
  * @param options The options parameters.
2473
2521
  */
2474
2522
  beginCreateOrUpdateAndWait(resourceGroupName: string, policyName: string, parameters: WebApplicationFirewallPolicy, options?: PoliciesCreateOrUpdateOptionalParams): Promise<PoliciesCreateOrUpdateResponse>;
2523
+ /**
2524
+ * Patch a specific frontdoor webApplicationFirewall policy for tags update under the specified
2525
+ * subscription and resource group.
2526
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
2527
+ * @param policyName The name of the Web Application Firewall Policy.
2528
+ * @param parameters FrontdoorWebApplicationFirewallPolicy parameters to be patched.
2529
+ * @param options The options parameters.
2530
+ */
2531
+ beginUpdate(resourceGroupName: string, policyName: string, parameters: TagsObject, options?: PoliciesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PoliciesUpdateResponse>, PoliciesUpdateResponse>>;
2532
+ /**
2533
+ * Patch a specific frontdoor webApplicationFirewall policy for tags update under the specified
2534
+ * subscription and resource group.
2535
+ * @param resourceGroupName Name of the Resource group within the Azure subscription.
2536
+ * @param policyName The name of the Web Application Firewall Policy.
2537
+ * @param parameters FrontdoorWebApplicationFirewallPolicy parameters to be patched.
2538
+ * @param options The options parameters.
2539
+ */
2540
+ beginUpdateAndWait(resourceGroupName: string, policyName: string, parameters: TagsObject, options?: PoliciesUpdateOptionalParams): Promise<PoliciesUpdateResponse>;
2475
2541
  /**
2476
2542
  * Deletes Policy
2477
2543
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
2478
2544
  * @param policyName The name of the Web Application Firewall Policy.
2479
2545
  * @param options The options parameters.
2480
2546
  */
2481
- beginDelete(resourceGroupName: string, policyName: string, options?: PoliciesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2547
+ beginDelete(resourceGroupName: string, policyName: string, options?: PoliciesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
2482
2548
  /**
2483
2549
  * Deletes Policy
2484
2550
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -2514,6 +2580,20 @@ export declare interface PoliciesGetOptionalParams extends coreClient.OperationO
2514
2580
  /** Contains response data for the get operation. */
2515
2581
  export declare type PoliciesGetResponse = WebApplicationFirewallPolicy;
2516
2582
 
2583
+ /** Optional parameters. */
2584
+ export declare interface PoliciesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2585
+ }
2586
+
2587
+ /** Contains response data for the listBySubscriptionNext operation. */
2588
+ export declare type PoliciesListBySubscriptionNextResponse = WebApplicationFirewallPolicyList;
2589
+
2590
+ /** Optional parameters. */
2591
+ export declare interface PoliciesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2592
+ }
2593
+
2594
+ /** Contains response data for the listBySubscription operation. */
2595
+ export declare type PoliciesListBySubscriptionResponse = WebApplicationFirewallPolicyList;
2596
+
2517
2597
  /** Optional parameters. */
2518
2598
  export declare interface PoliciesListNextOptionalParams extends coreClient.OperationOptions {
2519
2599
  }
@@ -2528,6 +2608,17 @@ export declare interface PoliciesListOptionalParams extends coreClient.Operation
2528
2608
  /** Contains response data for the list operation. */
2529
2609
  export declare type PoliciesListResponse = WebApplicationFirewallPolicyList;
2530
2610
 
2611
+ /** Optional parameters. */
2612
+ export declare interface PoliciesUpdateOptionalParams extends coreClient.OperationOptions {
2613
+ /** Delay to wait until next poll, in milliseconds. */
2614
+ updateIntervalInMs?: number;
2615
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2616
+ resumeFrom?: string;
2617
+ }
2618
+
2619
+ /** Contains response data for the update operation. */
2620
+ export declare type PoliciesUpdateResponse = WebApplicationFirewallPolicy;
2621
+
2531
2622
  /**
2532
2623
  * Defines values for PolicyEnabledState. \
2533
2624
  * {@link KnownPolicyEnabledState} can be used interchangeably with PolicyEnabledState,
@@ -3031,7 +3122,7 @@ export declare interface RulesEngines {
3031
3122
  * Engine Configuration.
3032
3123
  * @param options The options parameters.
3033
3124
  */
3034
- beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: RulesEngine, options?: RulesEnginesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<RulesEnginesCreateOrUpdateResponse>, RulesEnginesCreateOrUpdateResponse>>;
3125
+ beginCreateOrUpdate(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, rulesEngineParameters: RulesEngine, options?: RulesEnginesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RulesEnginesCreateOrUpdateResponse>, RulesEnginesCreateOrUpdateResponse>>;
3035
3126
  /**
3036
3127
  * Creates a new Rules Engine Configuration with the specified name within the specified Front Door.
3037
3128
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -3049,7 +3140,7 @@ export declare interface RulesEngines {
3049
3140
  * @param rulesEngineName Name of the Rules Engine which is unique within the Front Door.
3050
3141
  * @param options The options parameters.
3051
3142
  */
3052
- beginDelete(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: RulesEnginesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3143
+ beginDelete(resourceGroupName: string, frontDoorName: string, rulesEngineName: string, options?: RulesEnginesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
3053
3144
  /**
3054
3145
  * Deletes an existing Rules Engine Configuration with the specified parameters.
3055
3146
  * @param resourceGroupName Name of the Resource group within the Azure subscription.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.6"
8
+ "packageVersion": "7.34.8"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sampleTest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __awaiter } from "tslib";
9
- import { Recorder } from "@azure-tools/test-recorder";
10
- const replaceableVariables = {
11
- AZURE_CLIENT_ID: "azure_client_id",
12
- AZURE_CLIENT_SECRET: "azure_client_secret",
13
- AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
14
- SUBSCRIPTION_ID: "azure_subscription_id"
15
- };
16
- const recorderOptions = {
17
- envSetupForPlayback: replaceableVariables
18
- };
19
- describe("My test", () => {
20
- let recorder;
21
- beforeEach(function () {
22
- return __awaiter(this, void 0, void 0, function* () {
23
- recorder = new Recorder(this.currentTest);
24
- yield recorder.start(recorderOptions);
25
- });
26
- });
27
- afterEach(function () {
28
- return __awaiter(this, void 0, void 0, function* () {
29
- yield recorder.stop();
30
- });
31
- });
32
- it("sample test", function () {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- console.log("Hi, I'm a test!");
35
- });
36
- });
37
- });
38
- //# sourceMappingURL=sampleTest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}