@pulumi/azure-native 2.20.0 → 2.20.1-alpha.1701422329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alertsmanagement/alertProcessingRuleByName.d.ts +3 -1
- package/alertsmanagement/alertProcessingRuleByName.js +4 -2
- package/alertsmanagement/getAlertProcessingRuleByName.d.ts +6 -2
- package/alertsmanagement/getAlertProcessingRuleByName.js +7 -3
- package/alertsmanagement/index.d.ts +2 -1
- package/alertsmanagement/index.js +4 -2
- package/alertsmanagement/v20210808/alertProcessingRuleByName.d.ts +83 -0
- package/alertsmanagement/v20210808/alertProcessingRuleByName.js +74 -0
- package/alertsmanagement/v20210808/getAlertProcessingRuleByName.d.ts +65 -0
- package/alertsmanagement/v20210808/getAlertProcessingRuleByName.js +26 -0
- package/alertsmanagement/v20210808/index.d.ts +7 -0
- package/alertsmanagement/v20210808/index.js +41 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/enums/alertsmanagement/index.d.ts +2 -10
- package/types/enums/alertsmanagement/index.js +4 -7
- package/types/enums/alertsmanagement/v20210808/index.d.ts +57 -0
- package/types/enums/alertsmanagement/v20210808/index.js +43 -0
- package/types/input.d.ts +160 -40
- package/types/input.js +12 -9
- package/types/output.d.ts +189 -40
- package/types/output.js +12 -9
package/types/output.d.ts
CHANGED
|
@@ -1867,7 +1867,7 @@ export declare namespace alertsmanagement {
|
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Actions to be applied.
|
|
1869
1869
|
*/
|
|
1870
|
-
actions: (outputs.alertsmanagement.AddActionGroupsResponse | outputs.alertsmanagement.
|
|
1870
|
+
actions: (outputs.alertsmanagement.AddActionGroupsResponse | outputs.alertsmanagement.RemoveAllActionGroupsResponse)[];
|
|
1871
1871
|
/**
|
|
1872
1872
|
* Conditions on which alerts will be filtered.
|
|
1873
1873
|
*/
|
|
@@ -1947,45 +1947,6 @@ export declare namespace alertsmanagement {
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
targetResourceType?: outputs.alertsmanagement.ConditionResponse;
|
|
1949
1949
|
}
|
|
1950
|
-
/**
|
|
1951
|
-
* Add logic for alerts correlation.
|
|
1952
|
-
*/
|
|
1953
|
-
interface CorrelateAlertsResponse {
|
|
1954
|
-
/**
|
|
1955
|
-
* Action that should be applied.
|
|
1956
|
-
* Expected value is 'CorrelateAlerts'.
|
|
1957
|
-
*/
|
|
1958
|
-
actionType: "CorrelateAlerts";
|
|
1959
|
-
/**
|
|
1960
|
-
* The list of conditions for the alerts correlations.
|
|
1961
|
-
*/
|
|
1962
|
-
correlateBy: outputs.alertsmanagement.CorrelateByResponse[];
|
|
1963
|
-
/**
|
|
1964
|
-
* The required duration (in ISO8601 format) for the alerts correlation.
|
|
1965
|
-
*/
|
|
1966
|
-
correlationInterval: string;
|
|
1967
|
-
/**
|
|
1968
|
-
* Indicates how to handle child alerts notifications.
|
|
1969
|
-
*/
|
|
1970
|
-
notificationsForCorrelatedAlerts?: string;
|
|
1971
|
-
/**
|
|
1972
|
-
* The priority of this correlation.
|
|
1973
|
-
*/
|
|
1974
|
-
priority: number;
|
|
1975
|
-
}
|
|
1976
|
-
/**
|
|
1977
|
-
* correlateAlertsResponseProvideDefaults sets the appropriate defaults for CorrelateAlertsResponse
|
|
1978
|
-
*/
|
|
1979
|
-
function correlateAlertsResponseProvideDefaults(val: CorrelateAlertsResponse): CorrelateAlertsResponse;
|
|
1980
|
-
/**
|
|
1981
|
-
* The logic for the correlation.
|
|
1982
|
-
*/
|
|
1983
|
-
interface CorrelateByResponse {
|
|
1984
|
-
/**
|
|
1985
|
-
* The JPath of the property that the alerts should be correlated by.
|
|
1986
|
-
*/
|
|
1987
|
-
field?: string;
|
|
1988
|
-
}
|
|
1989
1950
|
/**
|
|
1990
1951
|
* Daily recurrence object.
|
|
1991
1952
|
*/
|
|
@@ -2726,6 +2687,194 @@ export declare namespace alertsmanagement {
|
|
|
2726
2687
|
duration?: string;
|
|
2727
2688
|
}
|
|
2728
2689
|
}
|
|
2690
|
+
namespace v20210808 {
|
|
2691
|
+
/**
|
|
2692
|
+
* Add action groups to alert processing rule.
|
|
2693
|
+
*/
|
|
2694
|
+
interface AddActionGroupsResponse {
|
|
2695
|
+
/**
|
|
2696
|
+
* List of action group Ids to add to alert processing rule.
|
|
2697
|
+
*/
|
|
2698
|
+
actionGroupIds: string[];
|
|
2699
|
+
/**
|
|
2700
|
+
* Action that should be applied.
|
|
2701
|
+
* Expected value is 'AddActionGroups'.
|
|
2702
|
+
*/
|
|
2703
|
+
actionType: "AddActionGroups";
|
|
2704
|
+
}
|
|
2705
|
+
/**
|
|
2706
|
+
* Alert processing rule properties defining scopes, conditions and scheduling logic for alert processing rule.
|
|
2707
|
+
*/
|
|
2708
|
+
interface AlertProcessingRulePropertiesResponse {
|
|
2709
|
+
/**
|
|
2710
|
+
* Actions to be applied.
|
|
2711
|
+
*/
|
|
2712
|
+
actions: (outputs.alertsmanagement.v20210808.AddActionGroupsResponse | outputs.alertsmanagement.v20210808.RemoveAllActionGroupsResponse)[];
|
|
2713
|
+
/**
|
|
2714
|
+
* Conditions on which alerts will be filtered.
|
|
2715
|
+
*/
|
|
2716
|
+
conditions?: outputs.alertsmanagement.v20210808.ConditionResponse[];
|
|
2717
|
+
/**
|
|
2718
|
+
* Description of alert processing rule.
|
|
2719
|
+
*/
|
|
2720
|
+
description?: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* Indicates if the given alert processing rule is enabled or disabled.
|
|
2723
|
+
*/
|
|
2724
|
+
enabled?: boolean;
|
|
2725
|
+
/**
|
|
2726
|
+
* Scheduling for alert processing rule.
|
|
2727
|
+
*/
|
|
2728
|
+
schedule?: outputs.alertsmanagement.v20210808.ScheduleResponse;
|
|
2729
|
+
/**
|
|
2730
|
+
* Scopes on which alert processing rule will apply.
|
|
2731
|
+
*/
|
|
2732
|
+
scopes: string[];
|
|
2733
|
+
}
|
|
2734
|
+
/**
|
|
2735
|
+
* alertProcessingRulePropertiesResponseProvideDefaults sets the appropriate defaults for AlertProcessingRulePropertiesResponse
|
|
2736
|
+
*/
|
|
2737
|
+
function alertProcessingRulePropertiesResponseProvideDefaults(val: AlertProcessingRulePropertiesResponse): AlertProcessingRulePropertiesResponse;
|
|
2738
|
+
/**
|
|
2739
|
+
* Condition to trigger an alert processing rule.
|
|
2740
|
+
*/
|
|
2741
|
+
interface ConditionResponse {
|
|
2742
|
+
/**
|
|
2743
|
+
* Field for a given condition.
|
|
2744
|
+
*/
|
|
2745
|
+
field?: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* Operator for a given condition.
|
|
2748
|
+
*/
|
|
2749
|
+
operator?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* List of values to match for a given condition.
|
|
2752
|
+
*/
|
|
2753
|
+
values?: string[];
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Daily recurrence object.
|
|
2757
|
+
*/
|
|
2758
|
+
interface DailyRecurrenceResponse {
|
|
2759
|
+
/**
|
|
2760
|
+
* End time for recurrence.
|
|
2761
|
+
*/
|
|
2762
|
+
endTime: string;
|
|
2763
|
+
/**
|
|
2764
|
+
* Specifies when the recurrence should be applied.
|
|
2765
|
+
* Expected value is 'Daily'.
|
|
2766
|
+
*/
|
|
2767
|
+
recurrenceType: "Daily";
|
|
2768
|
+
/**
|
|
2769
|
+
* Start time for recurrence.
|
|
2770
|
+
*/
|
|
2771
|
+
startTime: string;
|
|
2772
|
+
}
|
|
2773
|
+
/**
|
|
2774
|
+
* Monthly recurrence object.
|
|
2775
|
+
*/
|
|
2776
|
+
interface MonthlyRecurrenceResponse {
|
|
2777
|
+
/**
|
|
2778
|
+
* Specifies the values for monthly recurrence pattern.
|
|
2779
|
+
*/
|
|
2780
|
+
daysOfMonth: number[];
|
|
2781
|
+
/**
|
|
2782
|
+
* End time for recurrence.
|
|
2783
|
+
*/
|
|
2784
|
+
endTime?: string;
|
|
2785
|
+
/**
|
|
2786
|
+
* Specifies when the recurrence should be applied.
|
|
2787
|
+
* Expected value is 'Monthly'.
|
|
2788
|
+
*/
|
|
2789
|
+
recurrenceType: "Monthly";
|
|
2790
|
+
/**
|
|
2791
|
+
* Start time for recurrence.
|
|
2792
|
+
*/
|
|
2793
|
+
startTime?: string;
|
|
2794
|
+
}
|
|
2795
|
+
/**
|
|
2796
|
+
* Indicates if all action groups should be removed.
|
|
2797
|
+
*/
|
|
2798
|
+
interface RemoveAllActionGroupsResponse {
|
|
2799
|
+
/**
|
|
2800
|
+
* Action that should be applied.
|
|
2801
|
+
* Expected value is 'RemoveAllActionGroups'.
|
|
2802
|
+
*/
|
|
2803
|
+
actionType: "RemoveAllActionGroups";
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Scheduling configuration for a given alert processing rule.
|
|
2807
|
+
*/
|
|
2808
|
+
interface ScheduleResponse {
|
|
2809
|
+
/**
|
|
2810
|
+
* Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
|
|
2811
|
+
*/
|
|
2812
|
+
effectiveFrom?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
|
|
2815
|
+
*/
|
|
2816
|
+
effectiveUntil?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* List of recurrences.
|
|
2819
|
+
*/
|
|
2820
|
+
recurrences?: (outputs.alertsmanagement.v20210808.DailyRecurrenceResponse | outputs.alertsmanagement.v20210808.MonthlyRecurrenceResponse | outputs.alertsmanagement.v20210808.WeeklyRecurrenceResponse)[];
|
|
2821
|
+
/**
|
|
2822
|
+
* Scheduling time zone.
|
|
2823
|
+
*/
|
|
2824
|
+
timeZone?: string;
|
|
2825
|
+
}
|
|
2826
|
+
/**
|
|
2827
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
2828
|
+
*/
|
|
2829
|
+
interface SystemDataResponse {
|
|
2830
|
+
/**
|
|
2831
|
+
* The timestamp of resource creation (UTC).
|
|
2832
|
+
*/
|
|
2833
|
+
createdAt?: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* The identity that created the resource.
|
|
2836
|
+
*/
|
|
2837
|
+
createdBy?: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* The type of identity that created the resource.
|
|
2840
|
+
*/
|
|
2841
|
+
createdByType?: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* The timestamp of resource last modification (UTC)
|
|
2844
|
+
*/
|
|
2845
|
+
lastModifiedAt?: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* The identity that last modified the resource.
|
|
2848
|
+
*/
|
|
2849
|
+
lastModifiedBy?: string;
|
|
2850
|
+
/**
|
|
2851
|
+
* The type of identity that last modified the resource.
|
|
2852
|
+
*/
|
|
2853
|
+
lastModifiedByType?: string;
|
|
2854
|
+
}
|
|
2855
|
+
/**
|
|
2856
|
+
* Weekly recurrence object.
|
|
2857
|
+
*/
|
|
2858
|
+
interface WeeklyRecurrenceResponse {
|
|
2859
|
+
/**
|
|
2860
|
+
* Specifies the values for weekly recurrence pattern.
|
|
2861
|
+
*/
|
|
2862
|
+
daysOfWeek: string[];
|
|
2863
|
+
/**
|
|
2864
|
+
* End time for recurrence.
|
|
2865
|
+
*/
|
|
2866
|
+
endTime?: string;
|
|
2867
|
+
/**
|
|
2868
|
+
* Specifies when the recurrence should be applied.
|
|
2869
|
+
* Expected value is 'Weekly'.
|
|
2870
|
+
*/
|
|
2871
|
+
recurrenceType: "Weekly";
|
|
2872
|
+
/**
|
|
2873
|
+
* Start time for recurrence.
|
|
2874
|
+
*/
|
|
2875
|
+
startTime?: string;
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2729
2878
|
namespace v20230301 {
|
|
2730
2879
|
/**
|
|
2731
2880
|
* An alert action. Only relevant for alerts.
|