@azure/arm-frontdoor 5.0.2-alpha.20221101.1 → 5.1.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 (62) hide show
  1. package/CHANGELOG.md +27 -10
  2. package/dist/index.js +424 -88
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/src/frontDoorManagementClient.d.ts.map +1 -1
  7. package/dist-esm/src/frontDoorManagementClient.js +20 -18
  8. package/dist-esm/src/frontDoorManagementClient.js.map +1 -1
  9. package/dist-esm/src/index.d.ts +1 -0
  10. package/dist-esm/src/index.d.ts.map +1 -1
  11. package/dist-esm/src/index.js +1 -0
  12. package/dist-esm/src/index.js.map +1 -1
  13. package/dist-esm/src/models/index.d.ts +235 -44
  14. package/dist-esm/src/models/index.d.ts.map +1 -1
  15. package/dist-esm/src/models/index.js +191 -0
  16. package/dist-esm/src/models/index.js.map +1 -1
  17. package/dist-esm/src/operations/experiments.d.ts.map +1 -1
  18. package/dist-esm/src/operations/experiments.js +19 -7
  19. package/dist-esm/src/operations/experiments.js.map +1 -1
  20. package/dist-esm/src/operations/frontDoors.d.ts.map +1 -1
  21. package/dist-esm/src/operations/frontDoors.js +37 -14
  22. package/dist-esm/src/operations/frontDoors.js.map +1 -1
  23. package/dist-esm/src/operations/frontendEndpoints.d.ts.map +1 -1
  24. package/dist-esm/src/operations/frontendEndpoints.js +19 -7
  25. package/dist-esm/src/operations/frontendEndpoints.js.map +1 -1
  26. package/dist-esm/src/operations/managedRuleSets.d.ts.map +1 -1
  27. package/dist-esm/src/operations/managedRuleSets.js +19 -7
  28. package/dist-esm/src/operations/managedRuleSets.js.map +1 -1
  29. package/dist-esm/src/operations/networkExperimentProfiles.d.ts.map +1 -1
  30. package/dist-esm/src/operations/networkExperimentProfiles.js +37 -14
  31. package/dist-esm/src/operations/networkExperimentProfiles.js.map +1 -1
  32. package/dist-esm/src/operations/policies.d.ts.map +1 -1
  33. package/dist-esm/src/operations/policies.js +19 -7
  34. package/dist-esm/src/operations/policies.js.map +1 -1
  35. package/dist-esm/src/operations/preconfiguredEndpoints.d.ts.map +1 -1
  36. package/dist-esm/src/operations/preconfiguredEndpoints.js +19 -7
  37. package/dist-esm/src/operations/preconfiguredEndpoints.js.map +1 -1
  38. package/dist-esm/src/operations/rulesEngines.d.ts.map +1 -1
  39. package/dist-esm/src/operations/rulesEngines.js +19 -7
  40. package/dist-esm/src/operations/rulesEngines.js.map +1 -1
  41. package/dist-esm/src/pagingHelper.d.ts +13 -0
  42. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  43. package/dist-esm/src/pagingHelper.js +32 -0
  44. package/dist-esm/src/pagingHelper.js.map +1 -0
  45. package/dist-esm/test/sampleTest.js +11 -13
  46. package/dist-esm/test/sampleTest.js.map +1 -1
  47. package/package.json +13 -9
  48. package/review/arm-frontdoor.api.md +107 -295
  49. package/src/frontDoorManagementClient.ts +26 -20
  50. package/src/index.ts +1 -0
  51. package/src/models/index.ts +238 -44
  52. package/src/operations/experiments.ts +26 -12
  53. package/src/operations/frontDoors.ts +45 -16
  54. package/src/operations/frontendEndpoints.ts +26 -12
  55. package/src/operations/managedRuleSets.ts +21 -8
  56. package/src/operations/networkExperimentProfiles.ts +45 -16
  57. package/src/operations/policies.ts +21 -8
  58. package/src/operations/preconfiguredEndpoints.ts +26 -8
  59. package/src/operations/rulesEngines.ts +26 -12
  60. package/src/pagingHelper.ts +39 -0
  61. package/types/arm-frontdoor.d.ts +244 -44
  62. package/types/tsdoc-metadata.json +1 -1
@@ -46,14 +46,14 @@ export interface Backend {
46
46
  export type BackendEnabledState = string;
47
47
 
48
48
  // @public
49
- export type BackendPool = SubResource & {
50
- name?: string;
51
- readonly type?: string;
49
+ export interface BackendPool extends SubResource {
52
50
  backends?: Backend[];
53
- loadBalancingSettings?: SubResource;
54
51
  healthProbeSettings?: SubResource;
52
+ loadBalancingSettings?: SubResource;
53
+ name?: string;
55
54
  readonly resourceState?: FrontDoorResourceState;
56
- };
55
+ readonly type?: string;
56
+ }
57
57
 
58
58
  // @public
59
59
  export interface BackendPoolListResult {
@@ -62,9 +62,9 @@ export interface BackendPoolListResult {
62
62
  }
63
63
 
64
64
  // @public
65
- export type BackendPoolProperties = BackendPoolUpdateParameters & {
65
+ export interface BackendPoolProperties extends BackendPoolUpdateParameters {
66
66
  readonly resourceState?: FrontDoorResourceState;
67
- };
67
+ }
68
68
 
69
69
  // @public
70
70
  export interface BackendPoolsSettings {
@@ -195,15 +195,15 @@ export interface ErrorResponse {
195
195
  }
196
196
 
197
197
  // @public
198
- export type Experiment = Resource & {
198
+ export interface Experiment extends Resource {
199
199
  description?: string;
200
+ enabledState?: State;
200
201
  endpointA?: Endpoint;
201
202
  endpointB?: Endpoint;
202
- enabledState?: State;
203
203
  readonly resourceState?: NetworkExperimentResourceState;
204
- readonly status?: string;
205
204
  readonly scriptFileUri?: string;
206
- };
205
+ readonly status?: string;
206
+ }
207
207
 
208
208
  // @public
209
209
  export interface ExperimentList {
@@ -278,30 +278,30 @@ export interface ExperimentUpdateModel {
278
278
  }
279
279
 
280
280
  // @public
281
- export type ForwardingConfiguration = RouteConfiguration & {
282
- odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration";
281
+ export interface ForwardingConfiguration extends RouteConfiguration {
282
+ backendPool?: SubResource;
283
+ cacheConfiguration?: CacheConfiguration;
283
284
  customForwardingPath?: string;
284
285
  forwardingProtocol?: FrontDoorForwardingProtocol;
285
- cacheConfiguration?: CacheConfiguration;
286
- backendPool?: SubResource;
287
- };
286
+ odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration";
287
+ }
288
288
 
289
289
  // @public
290
- export type FrontDoor = Resource & {
291
- friendlyName?: string;
292
- routingRules?: RoutingRule[];
293
- loadBalancingSettings?: LoadBalancingSettingsModel[];
294
- healthProbeSettings?: HealthProbeSettingsModel[];
290
+ export interface FrontDoor extends Resource {
295
291
  backendPools?: BackendPool[];
296
- frontendEndpoints?: FrontendEndpoint[];
297
292
  backendPoolsSettings?: BackendPoolsSettings;
298
- enabledState?: FrontDoorEnabledState;
299
- readonly resourceState?: FrontDoorResourceState;
300
- readonly provisioningState?: string;
301
293
  readonly cname?: string;
294
+ enabledState?: FrontDoorEnabledState;
295
+ friendlyName?: string;
302
296
  readonly frontdoorId?: string;
297
+ frontendEndpoints?: FrontendEndpoint[];
298
+ healthProbeSettings?: HealthProbeSettingsModel[];
299
+ loadBalancingSettings?: LoadBalancingSettingsModel[];
300
+ readonly provisioningState?: string;
301
+ readonly resourceState?: FrontDoorResourceState;
302
+ routingRules?: RoutingRule[];
303
303
  readonly rulesEngines?: RulesEngine[];
304
- };
304
+ }
305
305
 
306
306
  // @public
307
307
  export type FrontDoorCertificateSource = string;
@@ -388,13 +388,13 @@ export interface FrontDoorNameAvailabilityWithSubscriptionCheckOptionalParams ex
388
388
  export type FrontDoorNameAvailabilityWithSubscriptionCheckResponse = CheckNameAvailabilityOutput;
389
389
 
390
390
  // @public
391
- export type FrontDoorProperties = FrontDoorUpdateParameters & {
392
- readonly resourceState?: FrontDoorResourceState;
393
- readonly provisioningState?: string;
391
+ export interface FrontDoorProperties extends FrontDoorUpdateParameters {
394
392
  readonly cname?: string;
395
393
  readonly frontdoorId?: string;
394
+ readonly provisioningState?: string;
395
+ readonly resourceState?: FrontDoorResourceState;
396
396
  readonly rulesEngines?: RulesEngine[];
397
- };
397
+ }
398
398
 
399
399
  // @public
400
400
  export type FrontDoorProtocol = string;
@@ -496,18 +496,18 @@ export interface FrontDoorUpdateParameters {
496
496
  }
497
497
 
498
498
  // @public
499
- export type FrontendEndpoint = SubResource & {
500
- name?: string;
501
- readonly type?: string;
499
+ export interface FrontendEndpoint extends SubResource {
500
+ readonly customHttpsConfiguration?: CustomHttpsConfiguration;
501
+ readonly customHttpsProvisioningState?: CustomHttpsProvisioningState;
502
+ readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate;
502
503
  hostName?: string;
504
+ name?: string;
505
+ readonly resourceState?: FrontDoorResourceState;
503
506
  sessionAffinityEnabledState?: SessionAffinityEnabledState;
504
507
  sessionAffinityTtlSeconds?: number;
508
+ readonly type?: string;
505
509
  webApplicationFirewallPolicyLink?: FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink;
506
- readonly resourceState?: FrontDoorResourceState;
507
- readonly customHttpsProvisioningState?: CustomHttpsProvisioningState;
508
- readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate;
509
- readonly customHttpsConfiguration?: CustomHttpsConfiguration;
510
- };
510
+ }
511
511
 
512
512
  // @public
513
513
  export interface FrontendEndpointLink {
@@ -515,12 +515,12 @@ export interface FrontendEndpointLink {
515
515
  }
516
516
 
517
517
  // @public
518
- export type FrontendEndpointProperties = FrontendEndpointUpdateParameters & {
519
- readonly resourceState?: FrontDoorResourceState;
518
+ export interface FrontendEndpointProperties extends FrontendEndpointUpdateParameters {
519
+ readonly customHttpsConfiguration?: CustomHttpsConfiguration;
520
520
  readonly customHttpsProvisioningState?: CustomHttpsProvisioningState;
521
521
  readonly customHttpsProvisioningSubstate?: CustomHttpsProvisioningSubstate;
522
- readonly customHttpsConfiguration?: CustomHttpsConfiguration;
523
- };
522
+ readonly resourceState?: FrontDoorResourceState;
523
+ }
524
524
 
525
525
  // @public
526
526
  export interface FrontendEndpoints {
@@ -584,6 +584,9 @@ export interface FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLin
584
584
  id?: string;
585
585
  }
586
586
 
587
+ // @public
588
+ export function getContinuationToken(page: unknown): string | undefined;
589
+
587
590
  // @public
588
591
  export interface HeaderAction {
589
592
  headerActionType: HeaderActionType;
@@ -604,21 +607,21 @@ export interface HealthProbeSettingsListResult {
604
607
  }
605
608
 
606
609
  // @public
607
- export type HealthProbeSettingsModel = SubResource & {
610
+ export interface HealthProbeSettingsModel extends SubResource {
611
+ enabledState?: HealthProbeEnabled;
612
+ healthProbeMethod?: FrontDoorHealthProbeMethod;
613
+ intervalInSeconds?: number;
608
614
  name?: string;
609
- readonly type?: string;
610
615
  path?: string;
611
616
  protocol?: FrontDoorProtocol;
612
- intervalInSeconds?: number;
613
- healthProbeMethod?: FrontDoorHealthProbeMethod;
614
- enabledState?: HealthProbeEnabled;
615
617
  readonly resourceState?: FrontDoorResourceState;
616
- };
618
+ readonly type?: string;
619
+ }
617
620
 
618
621
  // @public
619
- export type HealthProbeSettingsProperties = HealthProbeSettingsUpdateParameters & {
622
+ export interface HealthProbeSettingsProperties extends HealthProbeSettingsUpdateParameters {
620
623
  readonly resourceState?: FrontDoorResourceState;
621
- };
624
+ }
622
625
 
623
626
  // @public
624
627
  export interface HealthProbeSettingsUpdateParameters {
@@ -636,583 +639,392 @@ export interface KeyVaultCertificateSourceParametersVault {
636
639
 
637
640
  // @public
638
641
  export enum KnownActionType {
639
- // (undocumented)
640
642
  Allow = "Allow",
641
- // (undocumented)
642
643
  Block = "Block",
643
- // (undocumented)
644
644
  Log = "Log",
645
- // (undocumented)
646
645
  Redirect = "Redirect"
647
646
  }
648
647
 
649
648
  // @public
650
649
  export enum KnownAggregationInterval {
651
- // (undocumented)
652
650
  Daily = "Daily",
653
- // (undocumented)
654
651
  Hourly = "Hourly"
655
652
  }
656
653
 
657
654
  // @public
658
655
  export enum KnownAvailability {
659
- // (undocumented)
660
656
  Available = "Available",
661
- // (undocumented)
662
657
  Unavailable = "Unavailable"
663
658
  }
664
659
 
665
660
  // @public
666
661
  export enum KnownBackendEnabledState {
667
- // (undocumented)
668
662
  Disabled = "Disabled",
669
- // (undocumented)
670
663
  Enabled = "Enabled"
671
664
  }
672
665
 
673
666
  // @public
674
667
  export enum KnownCustomHttpsProvisioningState {
675
- // (undocumented)
676
668
  Disabled = "Disabled",
677
- // (undocumented)
678
669
  Disabling = "Disabling",
679
- // (undocumented)
680
670
  Enabled = "Enabled",
681
- // (undocumented)
682
671
  Enabling = "Enabling",
683
- // (undocumented)
684
672
  Failed = "Failed"
685
673
  }
686
674
 
687
675
  // @public
688
676
  export enum KnownCustomHttpsProvisioningSubstate {
689
- // (undocumented)
690
677
  CertificateDeleted = "CertificateDeleted",
691
- // (undocumented)
692
678
  CertificateDeployed = "CertificateDeployed",
693
- // (undocumented)
694
679
  DeletingCertificate = "DeletingCertificate",
695
- // (undocumented)
696
680
  DeployingCertificate = "DeployingCertificate",
697
- // (undocumented)
698
681
  DomainControlValidationRequestApproved = "DomainControlValidationRequestApproved",
699
- // (undocumented)
700
682
  DomainControlValidationRequestRejected = "DomainControlValidationRequestRejected",
701
- // (undocumented)
702
683
  DomainControlValidationRequestTimedOut = "DomainControlValidationRequestTimedOut",
703
- // (undocumented)
704
684
  IssuingCertificate = "IssuingCertificate",
705
- // (undocumented)
706
685
  PendingDomainControlValidationREquestApproval = "PendingDomainControlValidationREquestApproval",
707
- // (undocumented)
708
686
  SubmittingDomainControlValidationRequest = "SubmittingDomainControlValidationRequest"
709
687
  }
710
688
 
711
689
  // @public
712
690
  export enum KnownCustomRuleEnabledState {
713
- // (undocumented)
714
691
  Disabled = "Disabled",
715
- // (undocumented)
716
692
  Enabled = "Enabled"
717
693
  }
718
694
 
719
695
  // @public
720
696
  export enum KnownDynamicCompressionEnabled {
721
- // (undocumented)
722
697
  Disabled = "Disabled",
723
- // (undocumented)
724
698
  Enabled = "Enabled"
725
699
  }
726
700
 
727
701
  // @public
728
702
  export enum KnownEndpointType {
729
- // (undocumented)
730
703
  AFD = "AFD",
731
- // (undocumented)
732
704
  ATM = "ATM",
733
- // (undocumented)
734
705
  AzureRegion = "AzureRegion",
735
- // (undocumented)
736
706
  CDN = "CDN"
737
707
  }
738
708
 
739
709
  // @public
740
710
  export enum KnownEnforceCertificateNameCheckEnabledState {
741
- // (undocumented)
742
711
  Disabled = "Disabled",
743
- // (undocumented)
744
712
  Enabled = "Enabled"
745
713
  }
746
714
 
747
715
  // @public
748
716
  export enum KnownFrontDoorCertificateSource {
749
- // (undocumented)
750
717
  AzureKeyVault = "AzureKeyVault",
751
- // (undocumented)
752
718
  FrontDoor = "FrontDoor"
753
719
  }
754
720
 
755
721
  // @public
756
722
  export enum KnownFrontDoorCertificateType {
757
- // (undocumented)
758
723
  Dedicated = "Dedicated"
759
724
  }
760
725
 
761
726
  // @public
762
727
  export enum KnownFrontDoorEnabledState {
763
- // (undocumented)
764
728
  Disabled = "Disabled",
765
- // (undocumented)
766
729
  Enabled = "Enabled"
767
730
  }
768
731
 
769
732
  // @public
770
733
  export enum KnownFrontDoorForwardingProtocol {
771
- // (undocumented)
772
734
  HttpOnly = "HttpOnly",
773
- // (undocumented)
774
735
  HttpsOnly = "HttpsOnly",
775
- // (undocumented)
776
736
  MatchRequest = "MatchRequest"
777
737
  }
778
738
 
779
739
  // @public
780
740
  export enum KnownFrontDoorHealthProbeMethod {
781
- // (undocumented)
782
741
  GET = "GET",
783
- // (undocumented)
784
742
  Head = "HEAD"
785
743
  }
786
744
 
787
745
  // @public
788
746
  export enum KnownFrontDoorProtocol {
789
- // (undocumented)
790
747
  Http = "Http",
791
- // (undocumented)
792
748
  Https = "Https"
793
749
  }
794
750
 
795
751
  // @public
796
752
  export enum KnownFrontDoorQuery {
797
- // (undocumented)
798
753
  StripAll = "StripAll",
799
- // (undocumented)
800
754
  StripAllExcept = "StripAllExcept",
801
- // (undocumented)
802
755
  StripNone = "StripNone",
803
- // (undocumented)
804
756
  StripOnly = "StripOnly"
805
757
  }
806
758
 
807
759
  // @public
808
760
  export enum KnownFrontDoorRedirectProtocol {
809
- // (undocumented)
810
761
  HttpOnly = "HttpOnly",
811
- // (undocumented)
812
762
  HttpsOnly = "HttpsOnly",
813
- // (undocumented)
814
763
  MatchRequest = "MatchRequest"
815
764
  }
816
765
 
817
766
  // @public
818
767
  export enum KnownFrontDoorRedirectType {
819
- // (undocumented)
820
768
  Found = "Found",
821
- // (undocumented)
822
769
  Moved = "Moved",
823
- // (undocumented)
824
770
  PermanentRedirect = "PermanentRedirect",
825
- // (undocumented)
826
771
  TemporaryRedirect = "TemporaryRedirect"
827
772
  }
828
773
 
829
774
  // @public
830
775
  export enum KnownFrontDoorResourceState {
831
- // (undocumented)
832
776
  Creating = "Creating",
833
- // (undocumented)
834
777
  Deleting = "Deleting",
835
- // (undocumented)
836
778
  Disabled = "Disabled",
837
- // (undocumented)
838
779
  Disabling = "Disabling",
839
- // (undocumented)
840
780
  Enabled = "Enabled",
841
- // (undocumented)
842
781
  Enabling = "Enabling"
843
782
  }
844
783
 
845
784
  // @public
846
785
  export enum KnownFrontDoorTlsProtocolType {
847
- // (undocumented)
848
786
  ServerNameIndication = "ServerNameIndication"
849
787
  }
850
788
 
851
789
  // @public
852
790
  export enum KnownHeaderActionType {
853
- // (undocumented)
854
791
  Append = "Append",
855
- // (undocumented)
856
792
  Delete = "Delete",
857
- // (undocumented)
858
793
  Overwrite = "Overwrite"
859
794
  }
860
795
 
861
796
  // @public
862
797
  export enum KnownHealthProbeEnabled {
863
- // (undocumented)
864
798
  Disabled = "Disabled",
865
- // (undocumented)
866
799
  Enabled = "Enabled"
867
800
  }
868
801
 
869
802
  // @public
870
803
  export enum KnownLatencyScorecardAggregationInterval {
871
- // (undocumented)
872
804
  Daily = "Daily",
873
- // (undocumented)
874
805
  Monthly = "Monthly",
875
- // (undocumented)
876
806
  Weekly = "Weekly"
877
807
  }
878
808
 
879
809
  // @public
880
810
  export enum KnownManagedRuleEnabledState {
881
- // (undocumented)
882
811
  Disabled = "Disabled",
883
- // (undocumented)
884
812
  Enabled = "Enabled"
885
813
  }
886
814
 
887
815
  // @public
888
816
  export enum KnownManagedRuleExclusionMatchVariable {
889
- // (undocumented)
890
817
  QueryStringArgNames = "QueryStringArgNames",
891
- // (undocumented)
892
818
  RequestBodyJsonArgNames = "RequestBodyJsonArgNames",
893
- // (undocumented)
894
819
  RequestBodyPostArgNames = "RequestBodyPostArgNames",
895
- // (undocumented)
896
820
  RequestCookieNames = "RequestCookieNames",
897
- // (undocumented)
898
821
  RequestHeaderNames = "RequestHeaderNames"
899
822
  }
900
823
 
901
824
  // @public
902
825
  export enum KnownManagedRuleExclusionSelectorMatchOperator {
903
- // (undocumented)
904
826
  Contains = "Contains",
905
- // (undocumented)
906
827
  EndsWith = "EndsWith",
907
- // (undocumented)
908
828
  Equals = "Equals",
909
- // (undocumented)
910
829
  EqualsAny = "EqualsAny",
911
- // (undocumented)
912
830
  StartsWith = "StartsWith"
913
831
  }
914
832
 
915
833
  // @public
916
834
  export enum KnownManagedRuleSetActionType {
917
- // (undocumented)
918
835
  Block = "Block",
919
- // (undocumented)
920
836
  Log = "Log",
921
- // (undocumented)
922
837
  Redirect = "Redirect"
923
838
  }
924
839
 
925
840
  // @public
926
841
  export enum KnownMatchProcessingBehavior {
927
- // (undocumented)
928
842
  Continue = "Continue",
929
- // (undocumented)
930
843
  Stop = "Stop"
931
844
  }
932
845
 
933
846
  // @public
934
847
  export enum KnownMatchVariable {
935
- // (undocumented)
936
848
  Cookies = "Cookies",
937
- // (undocumented)
938
849
  PostArgs = "PostArgs",
939
- // (undocumented)
940
850
  QueryString = "QueryString",
941
- // (undocumented)
942
851
  RemoteAddr = "RemoteAddr",
943
- // (undocumented)
944
852
  RequestBody = "RequestBody",
945
- // (undocumented)
946
853
  RequestHeader = "RequestHeader",
947
- // (undocumented)
948
854
  RequestMethod = "RequestMethod",
949
- // (undocumented)
950
855
  RequestUri = "RequestUri",
951
- // (undocumented)
952
856
  SocketAddr = "SocketAddr"
953
857
  }
954
858
 
955
859
  // @public
956
860
  export enum KnownMinimumTLSVersion {
957
- // (undocumented)
958
861
  One0 = "1.0",
959
- // (undocumented)
960
862
  One2 = "1.2"
961
863
  }
962
864
 
963
865
  // @public
964
866
  export enum KnownNetworkExperimentResourceState {
965
- // (undocumented)
966
867
  Creating = "Creating",
967
- // (undocumented)
968
868
  Deleting = "Deleting",
969
- // (undocumented)
970
869
  Disabled = "Disabled",
971
- // (undocumented)
972
870
  Disabling = "Disabling",
973
- // (undocumented)
974
871
  Enabled = "Enabled",
975
- // (undocumented)
976
872
  Enabling = "Enabling"
977
873
  }
978
874
 
979
875
  // @public
980
876
  export enum KnownNetworkOperationStatus {
981
- // (undocumented)
982
877
  Failed = "Failed",
983
- // (undocumented)
984
878
  InProgress = "InProgress",
985
- // (undocumented)
986
879
  Succeeded = "Succeeded"
987
880
  }
988
881
 
989
882
  // @public
990
883
  export enum KnownOperator {
991
- // (undocumented)
992
884
  Any = "Any",
993
- // (undocumented)
994
885
  BeginsWith = "BeginsWith",
995
- // (undocumented)
996
886
  Contains = "Contains",
997
- // (undocumented)
998
887
  EndsWith = "EndsWith",
999
- // (undocumented)
1000
888
  Equal = "Equal",
1001
- // (undocumented)
1002
889
  GeoMatch = "GeoMatch",
1003
- // (undocumented)
1004
890
  GreaterThan = "GreaterThan",
1005
- // (undocumented)
1006
891
  GreaterThanOrEqual = "GreaterThanOrEqual",
1007
- // (undocumented)
1008
892
  IPMatch = "IPMatch",
1009
- // (undocumented)
1010
893
  LessThan = "LessThan",
1011
- // (undocumented)
1012
894
  LessThanOrEqual = "LessThanOrEqual",
1013
- // (undocumented)
1014
895
  RegEx = "RegEx"
1015
896
  }
1016
897
 
1017
898
  // @public
1018
899
  export enum KnownPolicyEnabledState {
1019
- // (undocumented)
1020
900
  Disabled = "Disabled",
1021
- // (undocumented)
1022
901
  Enabled = "Enabled"
1023
902
  }
1024
903
 
1025
904
  // @public
1026
905
  export enum KnownPolicyMode {
1027
- // (undocumented)
1028
906
  Detection = "Detection",
1029
- // (undocumented)
1030
907
  Prevention = "Prevention"
1031
908
  }
1032
909
 
1033
910
  // @public
1034
911
  export enum KnownPolicyRequestBodyCheck {
1035
- // (undocumented)
1036
912
  Disabled = "Disabled",
1037
- // (undocumented)
1038
913
  Enabled = "Enabled"
1039
914
  }
1040
915
 
1041
916
  // @public
1042
917
  export enum KnownPolicyResourceState {
1043
- // (undocumented)
1044
918
  Creating = "Creating",
1045
- // (undocumented)
1046
919
  Deleting = "Deleting",
1047
- // (undocumented)
1048
920
  Disabled = "Disabled",
1049
- // (undocumented)
1050
921
  Disabling = "Disabling",
1051
- // (undocumented)
1052
922
  Enabled = "Enabled",
1053
- // (undocumented)
1054
923
  Enabling = "Enabling"
1055
924
  }
1056
925
 
1057
926
  // @public
1058
927
  export enum KnownPrivateEndpointStatus {
1059
- // (undocumented)
1060
928
  Approved = "Approved",
1061
- // (undocumented)
1062
929
  Disconnected = "Disconnected",
1063
- // (undocumented)
1064
930
  Pending = "Pending",
1065
- // (undocumented)
1066
931
  Rejected = "Rejected",
1067
- // (undocumented)
1068
932
  Timeout = "Timeout"
1069
933
  }
1070
934
 
1071
935
  // @public
1072
936
  export enum KnownRoutingRuleEnabledState {
1073
- // (undocumented)
1074
937
  Disabled = "Disabled",
1075
- // (undocumented)
1076
938
  Enabled = "Enabled"
1077
939
  }
1078
940
 
1079
941
  // @public
1080
942
  export enum KnownRulesEngineMatchVariable {
1081
- // (undocumented)
1082
943
  IsMobile = "IsMobile",
1083
- // (undocumented)
1084
944
  PostArgs = "PostArgs",
1085
- // (undocumented)
1086
945
  QueryString = "QueryString",
1087
- // (undocumented)
1088
946
  RemoteAddr = "RemoteAddr",
1089
- // (undocumented)
1090
947
  RequestBody = "RequestBody",
1091
- // (undocumented)
1092
948
  RequestFilename = "RequestFilename",
1093
- // (undocumented)
1094
949
  RequestFilenameExtension = "RequestFilenameExtension",
1095
- // (undocumented)
1096
950
  RequestHeader = "RequestHeader",
1097
- // (undocumented)
1098
951
  RequestMethod = "RequestMethod",
1099
- // (undocumented)
1100
952
  RequestPath = "RequestPath",
1101
- // (undocumented)
1102
953
  RequestScheme = "RequestScheme",
1103
- // (undocumented)
1104
954
  RequestUri = "RequestUri"
1105
955
  }
1106
956
 
1107
957
  // @public
1108
958
  export enum KnownRulesEngineOperator {
1109
- // (undocumented)
1110
959
  Any = "Any",
1111
- // (undocumented)
1112
960
  BeginsWith = "BeginsWith",
1113
- // (undocumented)
1114
961
  Contains = "Contains",
1115
- // (undocumented)
1116
962
  EndsWith = "EndsWith",
1117
- // (undocumented)
1118
963
  Equal = "Equal",
1119
- // (undocumented)
1120
964
  GeoMatch = "GeoMatch",
1121
- // (undocumented)
1122
965
  GreaterThan = "GreaterThan",
1123
- // (undocumented)
1124
966
  GreaterThanOrEqual = "GreaterThanOrEqual",
1125
- // (undocumented)
1126
967
  IPMatch = "IPMatch",
1127
- // (undocumented)
1128
968
  LessThan = "LessThan",
1129
- // (undocumented)
1130
969
  LessThanOrEqual = "LessThanOrEqual"
1131
970
  }
1132
971
 
1133
972
  // @public
1134
973
  export enum KnownRuleType {
1135
- // (undocumented)
1136
974
  MatchRule = "MatchRule",
1137
- // (undocumented)
1138
975
  RateLimitRule = "RateLimitRule"
1139
976
  }
1140
977
 
1141
978
  // @public
1142
979
  export enum KnownSessionAffinityEnabledState {
1143
- // (undocumented)
1144
980
  Disabled = "Disabled",
1145
- // (undocumented)
1146
981
  Enabled = "Enabled"
1147
982
  }
1148
983
 
1149
984
  // @public
1150
985
  export enum KnownSkuName {
1151
- // (undocumented)
1152
986
  ClassicAzureFrontDoor = "Classic_AzureFrontDoor",
1153
- // (undocumented)
1154
987
  PremiumAzureFrontDoor = "Premium_AzureFrontDoor",
1155
- // (undocumented)
1156
988
  StandardAzureFrontDoor = "Standard_AzureFrontDoor"
1157
989
  }
1158
990
 
1159
991
  // @public
1160
992
  export enum KnownState {
1161
- // (undocumented)
1162
993
  Disabled = "Disabled",
1163
- // (undocumented)
1164
994
  Enabled = "Enabled"
1165
995
  }
1166
996
 
1167
997
  // @public
1168
998
  export enum KnownTimeseriesAggregationInterval {
1169
- // (undocumented)
1170
999
  Daily = "Daily",
1171
- // (undocumented)
1172
1000
  Hourly = "Hourly"
1173
1001
  }
1174
1002
 
1175
1003
  // @public
1176
1004
  export enum KnownTimeseriesType {
1177
- // (undocumented)
1178
1005
  LatencyP50 = "LatencyP50",
1179
- // (undocumented)
1180
1006
  LatencyP75 = "LatencyP75",
1181
- // (undocumented)
1182
1007
  LatencyP95 = "LatencyP95",
1183
- // (undocumented)
1184
1008
  MeasurementCounts = "MeasurementCounts"
1185
1009
  }
1186
1010
 
1187
1011
  // @public
1188
1012
  export enum KnownTransform {
1189
- // (undocumented)
1190
1013
  Lowercase = "Lowercase",
1191
- // (undocumented)
1192
1014
  RemoveNulls = "RemoveNulls",
1193
- // (undocumented)
1194
1015
  Trim = "Trim",
1195
- // (undocumented)
1196
1016
  Uppercase = "Uppercase",
1197
- // (undocumented)
1198
1017
  UrlDecode = "UrlDecode",
1199
- // (undocumented)
1200
1018
  UrlEncode = "UrlEncode"
1201
1019
  }
1202
1020
 
1203
1021
  // @public
1204
1022
  export enum KnownTransformType {
1205
- // (undocumented)
1206
1023
  Lowercase = "Lowercase",
1207
- // (undocumented)
1208
1024
  RemoveNulls = "RemoveNulls",
1209
- // (undocumented)
1210
1025
  Trim = "Trim",
1211
- // (undocumented)
1212
1026
  Uppercase = "Uppercase",
1213
- // (undocumented)
1214
1027
  UrlDecode = "UrlDecode",
1215
- // (undocumented)
1216
1028
  UrlEncode = "UrlEncode"
1217
1029
  }
1218
1030
 
@@ -1231,17 +1043,17 @@ export interface LatencyMetric {
1231
1043
  }
1232
1044
 
1233
1045
  // @public
1234
- export type LatencyScorecard = Resource & {
1235
- readonly idPropertiesId?: string;
1236
- readonly namePropertiesName?: string;
1046
+ export interface LatencyScorecard extends Resource {
1047
+ readonly country?: string;
1237
1048
  readonly description?: string;
1049
+ readonly endDateTimeUTC?: Date;
1238
1050
  readonly endpointA?: string;
1239
1051
  readonly endpointB?: string;
1240
- readonly startDateTimeUTC?: Date;
1241
- readonly endDateTimeUTC?: Date;
1242
- readonly country?: string;
1052
+ readonly idPropertiesId?: string;
1243
1053
  latencyMetrics?: LatencyMetric[];
1244
- };
1054
+ readonly namePropertiesName?: string;
1055
+ readonly startDateTimeUTC?: Date;
1056
+ }
1245
1057
 
1246
1058
  // @public
1247
1059
  export type LatencyScorecardAggregationInterval = string;
@@ -1253,19 +1065,19 @@ export interface LoadBalancingSettingsListResult {
1253
1065
  }
1254
1066
 
1255
1067
  // @public
1256
- export type LoadBalancingSettingsModel = SubResource & {
1068
+ export interface LoadBalancingSettingsModel extends SubResource {
1069
+ additionalLatencyMilliseconds?: number;
1257
1070
  name?: string;
1258
- readonly type?: string;
1071
+ readonly resourceState?: FrontDoorResourceState;
1259
1072
  sampleSize?: number;
1260
1073
  successfulSamplesRequired?: number;
1261
- additionalLatencyMilliseconds?: number;
1262
- readonly resourceState?: FrontDoorResourceState;
1263
- };
1074
+ readonly type?: string;
1075
+ }
1264
1076
 
1265
1077
  // @public
1266
- export type LoadBalancingSettingsProperties = LoadBalancingSettingsUpdateParameters & {
1078
+ export interface LoadBalancingSettingsProperties extends LoadBalancingSettingsUpdateParameters {
1267
1079
  readonly resourceState?: FrontDoorResourceState;
1268
- };
1080
+ }
1269
1081
 
1270
1082
  // @public
1271
1083
  export interface LoadBalancingSettingsUpdateParameters {
@@ -1333,13 +1145,13 @@ export interface ManagedRuleSet {
1333
1145
  export type ManagedRuleSetActionType = string;
1334
1146
 
1335
1147
  // @public
1336
- export type ManagedRuleSetDefinition = Resource & {
1148
+ export interface ManagedRuleSetDefinition extends Resource {
1337
1149
  readonly provisioningState?: string;
1150
+ readonly ruleGroups?: ManagedRuleGroupDefinition[];
1338
1151
  readonly ruleSetId?: string;
1339
1152
  readonly ruleSetType?: string;
1340
1153
  readonly ruleSetVersion?: string;
1341
- readonly ruleGroups?: ManagedRuleGroupDefinition[];
1342
- };
1154
+ }
1343
1155
 
1344
1156
  // @public
1345
1157
  export interface ManagedRuleSetDefinitionList {
@@ -1540,12 +1352,12 @@ export interface PolicySettings {
1540
1352
  }
1541
1353
 
1542
1354
  // @public
1543
- export type PreconfiguredEndpoint = Resource & {
1355
+ export interface PreconfiguredEndpoint extends Resource {
1356
+ backend?: string;
1544
1357
  description?: string;
1545
1358
  endpoint?: string;
1546
1359
  endpointType?: EndpointType;
1547
- backend?: string;
1548
- };
1360
+ }
1549
1361
 
1550
1362
  // @public
1551
1363
  export interface PreconfiguredEndpointList {
@@ -1576,11 +1388,11 @@ export type PreconfiguredEndpointsListResponse = PreconfiguredEndpointList;
1576
1388
  export type PrivateEndpointStatus = string;
1577
1389
 
1578
1390
  // @public
1579
- export type Profile = Resource & {
1391
+ export interface Profile extends Resource {
1392
+ enabledState?: State;
1580
1393
  etag?: string;
1581
1394
  readonly resourceState?: NetworkExperimentResourceState;
1582
- enabledState?: State;
1583
- };
1395
+ }
1584
1396
 
1585
1397
  // @public
1586
1398
  export interface ProfileList {
@@ -1602,15 +1414,15 @@ export interface PurgeParameters {
1602
1414
  }
1603
1415
 
1604
1416
  // @public
1605
- export type RedirectConfiguration = RouteConfiguration & {
1606
- odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration";
1607
- redirectType?: FrontDoorRedirectType;
1608
- redirectProtocol?: FrontDoorRedirectProtocol;
1417
+ export interface RedirectConfiguration extends RouteConfiguration {
1418
+ customFragment?: string;
1609
1419
  customHost?: string;
1610
1420
  customPath?: string;
1611
- customFragment?: string;
1612
1421
  customQueryString?: string;
1613
- };
1422
+ odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration";
1423
+ redirectProtocol?: FrontDoorRedirectProtocol;
1424
+ redirectType?: FrontDoorRedirectType;
1425
+ }
1614
1426
 
1615
1427
  // @public
1616
1428
  export interface Reports {
@@ -1659,18 +1471,18 @@ export interface RouteConfiguration {
1659
1471
  export type RouteConfigurationUnion = RouteConfiguration | ForwardingConfiguration | RedirectConfiguration;
1660
1472
 
1661
1473
  // @public
1662
- export type RoutingRule = SubResource & {
1663
- name?: string;
1664
- readonly type?: string;
1665
- frontendEndpoints?: SubResource[];
1474
+ export interface RoutingRule extends SubResource {
1666
1475
  acceptedProtocols?: FrontDoorProtocol[];
1667
- patternsToMatch?: string[];
1668
1476
  enabledState?: RoutingRuleEnabledState;
1477
+ frontendEndpoints?: SubResource[];
1478
+ name?: string;
1479
+ patternsToMatch?: string[];
1480
+ readonly resourceState?: FrontDoorResourceState;
1669
1481
  routeConfiguration?: RouteConfigurationUnion;
1670
1482
  rulesEngine?: SubResource;
1483
+ readonly type?: string;
1671
1484
  webApplicationFirewallPolicyLink?: RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink;
1672
- readonly resourceState?: FrontDoorResourceState;
1673
- };
1485
+ }
1674
1486
 
1675
1487
  // @public
1676
1488
  export type RoutingRuleEnabledState = string;
@@ -1687,9 +1499,9 @@ export interface RoutingRuleListResult {
1687
1499
  }
1688
1500
 
1689
1501
  // @public
1690
- export type RoutingRuleProperties = RoutingRuleUpdateParameters & {
1502
+ export interface RoutingRuleProperties extends RoutingRuleUpdateParameters {
1691
1503
  readonly resourceState?: FrontDoorResourceState;
1692
- };
1504
+ }
1693
1505
 
1694
1506
  // @public
1695
1507
  export interface RoutingRuleUpdateParameters {
@@ -1746,9 +1558,9 @@ export type RulesEngineMatchVariable = string;
1746
1558
  export type RulesEngineOperator = string;
1747
1559
 
1748
1560
  // @public
1749
- export type RulesEngineProperties = RulesEngineUpdateParameters & {
1561
+ export interface RulesEngineProperties extends RulesEngineUpdateParameters {
1750
1562
  readonly resourceState?: FrontDoorResourceState;
1751
- };
1563
+ }
1752
1564
 
1753
1565
  // @public
1754
1566
  export interface RulesEngineRule {
@@ -1845,15 +1657,15 @@ export interface TagsObject {
1845
1657
  }
1846
1658
 
1847
1659
  // @public
1848
- export type Timeseries = Resource & {
1849
- endpoint?: string;
1850
- startDateTimeUTC?: string;
1851
- endDateTimeUTC?: string;
1660
+ export interface Timeseries extends Resource {
1852
1661
  aggregationInterval?: AggregationInterval;
1853
- timeseriesType?: TimeseriesType;
1854
1662
  country?: string;
1663
+ endDateTimeUTC?: string;
1664
+ endpoint?: string;
1665
+ startDateTimeUTC?: string;
1855
1666
  timeseriesData?: TimeseriesDataPoint[];
1856
- };
1667
+ timeseriesType?: TimeseriesType;
1668
+ }
1857
1669
 
1858
1670
  // @public
1859
1671
  export type TimeseriesAggregationInterval = string;
@@ -1886,18 +1698,18 @@ export interface ValidateCustomDomainOutput {
1886
1698
  }
1887
1699
 
1888
1700
  // @public
1889
- export type WebApplicationFirewallPolicy = Resource & {
1890
- etag?: string;
1891
- sku?: Sku;
1892
- policySettings?: PolicySettings;
1701
+ export interface WebApplicationFirewallPolicy extends Resource {
1893
1702
  customRules?: CustomRuleList;
1894
- managedRules?: ManagedRuleSetList;
1703
+ etag?: string;
1895
1704
  readonly frontendEndpointLinks?: FrontendEndpointLink[];
1896
- readonly routingRuleLinks?: RoutingRuleLink[];
1897
- readonly securityPolicyLinks?: SecurityPolicyLink[];
1705
+ managedRules?: ManagedRuleSetList;
1706
+ policySettings?: PolicySettings;
1898
1707
  readonly provisioningState?: string;
1899
1708
  readonly resourceState?: PolicyResourceState;
1900
- };
1709
+ readonly routingRuleLinks?: RoutingRuleLink[];
1710
+ readonly securityPolicyLinks?: SecurityPolicyLink[];
1711
+ sku?: Sku;
1712
+ }
1901
1713
 
1902
1714
  // @public
1903
1715
  export interface WebApplicationFirewallPolicyList {