pulumi-checkly 2.2.1__py3-none-any.whl → 2.3.0__py3-none-any.whl
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.
- pulumi_checkly/__init__.py +27 -0
- pulumi_checkly/_inputs.py +1925 -194
- pulumi_checkly/dashboard.py +396 -66
- pulumi_checkly/heartbeat_check.py +0 -4
- pulumi_checkly/heartbeat_monitor.py +480 -0
- pulumi_checkly/outputs.py +1518 -152
- pulumi_checkly/pulumi-plugin.json +1 -1
- pulumi_checkly/tcp_check.py +0 -4
- pulumi_checkly/tcp_monitor.py +1171 -0
- pulumi_checkly/url_monitor.py +1045 -0
- {pulumi_checkly-2.2.1.dist-info → pulumi_checkly-2.3.0.dist-info}/METADATA +1 -1
- {pulumi_checkly-2.2.1.dist-info → pulumi_checkly-2.3.0.dist-info}/RECORD +14 -11
- {pulumi_checkly-2.2.1.dist-info → pulumi_checkly-2.3.0.dist-info}/WHEEL +0 -0
- {pulumi_checkly-2.2.1.dist-info → pulumi_checkly-2.3.0.dist-info}/top_level.txt +0 -0
pulumi_checkly/_inputs.py
CHANGED
@@ -93,6 +93,22 @@ __all__ = [
|
|
93
93
|
'HeartbeatCheckAlertSettingsTimeBasedEscalationArgsDict',
|
94
94
|
'HeartbeatCheckHeartbeatArgs',
|
95
95
|
'HeartbeatCheckHeartbeatArgsDict',
|
96
|
+
'HeartbeatMonitorAlertChannelSubscriptionArgs',
|
97
|
+
'HeartbeatMonitorAlertChannelSubscriptionArgsDict',
|
98
|
+
'HeartbeatMonitorAlertSettingsArgs',
|
99
|
+
'HeartbeatMonitorAlertSettingsArgsDict',
|
100
|
+
'HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgs',
|
101
|
+
'HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgsDict',
|
102
|
+
'HeartbeatMonitorAlertSettingsReminderArgs',
|
103
|
+
'HeartbeatMonitorAlertSettingsReminderArgsDict',
|
104
|
+
'HeartbeatMonitorAlertSettingsRunBasedEscalationArgs',
|
105
|
+
'HeartbeatMonitorAlertSettingsRunBasedEscalationArgsDict',
|
106
|
+
'HeartbeatMonitorAlertSettingsSslCertificateArgs',
|
107
|
+
'HeartbeatMonitorAlertSettingsSslCertificateArgsDict',
|
108
|
+
'HeartbeatMonitorAlertSettingsTimeBasedEscalationArgs',
|
109
|
+
'HeartbeatMonitorAlertSettingsTimeBasedEscalationArgsDict',
|
110
|
+
'HeartbeatMonitorHeartbeatArgs',
|
111
|
+
'HeartbeatMonitorHeartbeatArgsDict',
|
96
112
|
'StatusPageCardArgs',
|
97
113
|
'StatusPageCardArgsDict',
|
98
114
|
'StatusPageCardServiceAttachmentArgs',
|
@@ -115,6 +131,42 @@ __all__ = [
|
|
115
131
|
'TcpCheckRequestAssertionArgsDict',
|
116
132
|
'TcpCheckRetryStrategyArgs',
|
117
133
|
'TcpCheckRetryStrategyArgsDict',
|
134
|
+
'TcpMonitorAlertChannelSubscriptionArgs',
|
135
|
+
'TcpMonitorAlertChannelSubscriptionArgsDict',
|
136
|
+
'TcpMonitorAlertSettingsArgs',
|
137
|
+
'TcpMonitorAlertSettingsArgsDict',
|
138
|
+
'TcpMonitorAlertSettingsParallelRunFailureThresholdArgs',
|
139
|
+
'TcpMonitorAlertSettingsParallelRunFailureThresholdArgsDict',
|
140
|
+
'TcpMonitorAlertSettingsReminderArgs',
|
141
|
+
'TcpMonitorAlertSettingsReminderArgsDict',
|
142
|
+
'TcpMonitorAlertSettingsRunBasedEscalationArgs',
|
143
|
+
'TcpMonitorAlertSettingsRunBasedEscalationArgsDict',
|
144
|
+
'TcpMonitorAlertSettingsTimeBasedEscalationArgs',
|
145
|
+
'TcpMonitorAlertSettingsTimeBasedEscalationArgsDict',
|
146
|
+
'TcpMonitorRequestArgs',
|
147
|
+
'TcpMonitorRequestArgsDict',
|
148
|
+
'TcpMonitorRequestAssertionArgs',
|
149
|
+
'TcpMonitorRequestAssertionArgsDict',
|
150
|
+
'TcpMonitorRetryStrategyArgs',
|
151
|
+
'TcpMonitorRetryStrategyArgsDict',
|
152
|
+
'UrlMonitorAlertChannelSubscriptionArgs',
|
153
|
+
'UrlMonitorAlertChannelSubscriptionArgsDict',
|
154
|
+
'UrlMonitorAlertSettingsArgs',
|
155
|
+
'UrlMonitorAlertSettingsArgsDict',
|
156
|
+
'UrlMonitorAlertSettingsParallelRunFailureThresholdArgs',
|
157
|
+
'UrlMonitorAlertSettingsParallelRunFailureThresholdArgsDict',
|
158
|
+
'UrlMonitorAlertSettingsReminderArgs',
|
159
|
+
'UrlMonitorAlertSettingsReminderArgsDict',
|
160
|
+
'UrlMonitorAlertSettingsRunBasedEscalationArgs',
|
161
|
+
'UrlMonitorAlertSettingsRunBasedEscalationArgsDict',
|
162
|
+
'UrlMonitorAlertSettingsTimeBasedEscalationArgs',
|
163
|
+
'UrlMonitorAlertSettingsTimeBasedEscalationArgsDict',
|
164
|
+
'UrlMonitorRequestArgs',
|
165
|
+
'UrlMonitorRequestArgsDict',
|
166
|
+
'UrlMonitorRequestAssertionArgs',
|
167
|
+
'UrlMonitorRequestAssertionArgsDict',
|
168
|
+
'UrlMonitorRetryStrategyArgs',
|
169
|
+
'UrlMonitorRetryStrategyArgsDict',
|
118
170
|
]
|
119
171
|
|
120
172
|
MYPY = False
|
@@ -2550,105 +2602,1747 @@ class HeartbeatCheckHeartbeatArgs:
|
|
2550
2602
|
pulumi.set(self, "ping_token", value)
|
2551
2603
|
|
2552
2604
|
|
2605
|
+
if not MYPY:
|
2606
|
+
class HeartbeatMonitorAlertChannelSubscriptionArgsDict(TypedDict):
|
2607
|
+
activated: pulumi.Input[bool]
|
2608
|
+
channel_id: pulumi.Input[int]
|
2609
|
+
elif False:
|
2610
|
+
HeartbeatMonitorAlertChannelSubscriptionArgsDict: TypeAlias = Mapping[str, Any]
|
2611
|
+
|
2612
|
+
@pulumi.input_type
|
2613
|
+
class HeartbeatMonitorAlertChannelSubscriptionArgs:
|
2614
|
+
def __init__(__self__, *,
|
2615
|
+
activated: pulumi.Input[bool],
|
2616
|
+
channel_id: pulumi.Input[int]):
|
2617
|
+
pulumi.set(__self__, "activated", activated)
|
2618
|
+
pulumi.set(__self__, "channel_id", channel_id)
|
2619
|
+
|
2620
|
+
@property
|
2621
|
+
@pulumi.getter
|
2622
|
+
def activated(self) -> pulumi.Input[bool]:
|
2623
|
+
return pulumi.get(self, "activated")
|
2624
|
+
|
2625
|
+
@activated.setter
|
2626
|
+
def activated(self, value: pulumi.Input[bool]):
|
2627
|
+
pulumi.set(self, "activated", value)
|
2628
|
+
|
2629
|
+
@property
|
2630
|
+
@pulumi.getter(name="channelId")
|
2631
|
+
def channel_id(self) -> pulumi.Input[int]:
|
2632
|
+
return pulumi.get(self, "channel_id")
|
2633
|
+
|
2634
|
+
@channel_id.setter
|
2635
|
+
def channel_id(self, value: pulumi.Input[int]):
|
2636
|
+
pulumi.set(self, "channel_id", value)
|
2637
|
+
|
2638
|
+
|
2639
|
+
if not MYPY:
|
2640
|
+
class HeartbeatMonitorAlertSettingsArgsDict(TypedDict):
|
2641
|
+
escalation_type: NotRequired[pulumi.Input[str]]
|
2642
|
+
"""
|
2643
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
2644
|
+
"""
|
2645
|
+
parallel_run_failure_thresholds: NotRequired[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgsDict']]]]
|
2646
|
+
reminders: NotRequired[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsReminderArgsDict']]]]
|
2647
|
+
run_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsRunBasedEscalationArgsDict']]]]
|
2648
|
+
ssl_certificates: NotRequired[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsSslCertificateArgsDict']]]]
|
2649
|
+
time_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsTimeBasedEscalationArgsDict']]]]
|
2650
|
+
elif False:
|
2651
|
+
HeartbeatMonitorAlertSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
2652
|
+
|
2653
|
+
@pulumi.input_type
|
2654
|
+
class HeartbeatMonitorAlertSettingsArgs:
|
2655
|
+
def __init__(__self__, *,
|
2656
|
+
escalation_type: Optional[pulumi.Input[str]] = None,
|
2657
|
+
parallel_run_failure_thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgs']]]] = None,
|
2658
|
+
reminders: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsReminderArgs']]]] = None,
|
2659
|
+
run_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsRunBasedEscalationArgs']]]] = None,
|
2660
|
+
ssl_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsSslCertificateArgs']]]] = None,
|
2661
|
+
time_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsTimeBasedEscalationArgs']]]] = None):
|
2662
|
+
"""
|
2663
|
+
:param pulumi.Input[str] escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
2664
|
+
"""
|
2665
|
+
if escalation_type is not None:
|
2666
|
+
pulumi.set(__self__, "escalation_type", escalation_type)
|
2667
|
+
if parallel_run_failure_thresholds is not None:
|
2668
|
+
pulumi.set(__self__, "parallel_run_failure_thresholds", parallel_run_failure_thresholds)
|
2669
|
+
if reminders is not None:
|
2670
|
+
pulumi.set(__self__, "reminders", reminders)
|
2671
|
+
if run_based_escalations is not None:
|
2672
|
+
pulumi.set(__self__, "run_based_escalations", run_based_escalations)
|
2673
|
+
if ssl_certificates is not None:
|
2674
|
+
warnings.warn("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""", DeprecationWarning)
|
2675
|
+
pulumi.log.warn("""ssl_certificates is deprecated: This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
|
2676
|
+
if ssl_certificates is not None:
|
2677
|
+
pulumi.set(__self__, "ssl_certificates", ssl_certificates)
|
2678
|
+
if time_based_escalations is not None:
|
2679
|
+
pulumi.set(__self__, "time_based_escalations", time_based_escalations)
|
2680
|
+
|
2681
|
+
@property
|
2682
|
+
@pulumi.getter(name="escalationType")
|
2683
|
+
def escalation_type(self) -> Optional[pulumi.Input[str]]:
|
2684
|
+
"""
|
2685
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
2686
|
+
"""
|
2687
|
+
return pulumi.get(self, "escalation_type")
|
2688
|
+
|
2689
|
+
@escalation_type.setter
|
2690
|
+
def escalation_type(self, value: Optional[pulumi.Input[str]]):
|
2691
|
+
pulumi.set(self, "escalation_type", value)
|
2692
|
+
|
2693
|
+
@property
|
2694
|
+
@pulumi.getter(name="parallelRunFailureThresholds")
|
2695
|
+
def parallel_run_failure_thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]:
|
2696
|
+
return pulumi.get(self, "parallel_run_failure_thresholds")
|
2697
|
+
|
2698
|
+
@parallel_run_failure_thresholds.setter
|
2699
|
+
def parallel_run_failure_thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]):
|
2700
|
+
pulumi.set(self, "parallel_run_failure_thresholds", value)
|
2701
|
+
|
2702
|
+
@property
|
2703
|
+
@pulumi.getter
|
2704
|
+
def reminders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsReminderArgs']]]]:
|
2705
|
+
return pulumi.get(self, "reminders")
|
2706
|
+
|
2707
|
+
@reminders.setter
|
2708
|
+
def reminders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsReminderArgs']]]]):
|
2709
|
+
pulumi.set(self, "reminders", value)
|
2710
|
+
|
2711
|
+
@property
|
2712
|
+
@pulumi.getter(name="runBasedEscalations")
|
2713
|
+
def run_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsRunBasedEscalationArgs']]]]:
|
2714
|
+
return pulumi.get(self, "run_based_escalations")
|
2715
|
+
|
2716
|
+
@run_based_escalations.setter
|
2717
|
+
def run_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsRunBasedEscalationArgs']]]]):
|
2718
|
+
pulumi.set(self, "run_based_escalations", value)
|
2719
|
+
|
2720
|
+
@property
|
2721
|
+
@pulumi.getter(name="sslCertificates")
|
2722
|
+
@_utilities.deprecated("""This property is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.""")
|
2723
|
+
def ssl_certificates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsSslCertificateArgs']]]]:
|
2724
|
+
return pulumi.get(self, "ssl_certificates")
|
2725
|
+
|
2726
|
+
@ssl_certificates.setter
|
2727
|
+
def ssl_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsSslCertificateArgs']]]]):
|
2728
|
+
pulumi.set(self, "ssl_certificates", value)
|
2729
|
+
|
2730
|
+
@property
|
2731
|
+
@pulumi.getter(name="timeBasedEscalations")
|
2732
|
+
def time_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsTimeBasedEscalationArgs']]]]:
|
2733
|
+
return pulumi.get(self, "time_based_escalations")
|
2734
|
+
|
2735
|
+
@time_based_escalations.setter
|
2736
|
+
def time_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HeartbeatMonitorAlertSettingsTimeBasedEscalationArgs']]]]):
|
2737
|
+
pulumi.set(self, "time_based_escalations", value)
|
2738
|
+
|
2739
|
+
|
2740
|
+
if not MYPY:
|
2741
|
+
class HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgsDict(TypedDict):
|
2742
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
2743
|
+
"""
|
2744
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
2745
|
+
"""
|
2746
|
+
percentage: NotRequired[pulumi.Input[int]]
|
2747
|
+
"""
|
2748
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
2749
|
+
"""
|
2750
|
+
elif False:
|
2751
|
+
HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgsDict: TypeAlias = Mapping[str, Any]
|
2752
|
+
|
2753
|
+
@pulumi.input_type
|
2754
|
+
class HeartbeatMonitorAlertSettingsParallelRunFailureThresholdArgs:
|
2755
|
+
def __init__(__self__, *,
|
2756
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
2757
|
+
percentage: Optional[pulumi.Input[int]] = None):
|
2758
|
+
"""
|
2759
|
+
:param pulumi.Input[bool] enabled: Applicable only for checks scheduled in parallel in multiple locations.
|
2760
|
+
:param pulumi.Input[int] percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
2761
|
+
"""
|
2762
|
+
if enabled is not None:
|
2763
|
+
pulumi.set(__self__, "enabled", enabled)
|
2764
|
+
if percentage is not None:
|
2765
|
+
pulumi.set(__self__, "percentage", percentage)
|
2766
|
+
|
2767
|
+
@property
|
2768
|
+
@pulumi.getter
|
2769
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
2770
|
+
"""
|
2771
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
2772
|
+
"""
|
2773
|
+
return pulumi.get(self, "enabled")
|
2774
|
+
|
2775
|
+
@enabled.setter
|
2776
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
2777
|
+
pulumi.set(self, "enabled", value)
|
2778
|
+
|
2779
|
+
@property
|
2780
|
+
@pulumi.getter
|
2781
|
+
def percentage(self) -> Optional[pulumi.Input[int]]:
|
2782
|
+
"""
|
2783
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
2784
|
+
"""
|
2785
|
+
return pulumi.get(self, "percentage")
|
2786
|
+
|
2787
|
+
@percentage.setter
|
2788
|
+
def percentage(self, value: Optional[pulumi.Input[int]]):
|
2789
|
+
pulumi.set(self, "percentage", value)
|
2790
|
+
|
2791
|
+
|
2792
|
+
if not MYPY:
|
2793
|
+
class HeartbeatMonitorAlertSettingsReminderArgsDict(TypedDict):
|
2794
|
+
amount: NotRequired[pulumi.Input[int]]
|
2795
|
+
"""
|
2796
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
2797
|
+
"""
|
2798
|
+
interval: NotRequired[pulumi.Input[int]]
|
2799
|
+
"""
|
2800
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2801
|
+
"""
|
2802
|
+
elif False:
|
2803
|
+
HeartbeatMonitorAlertSettingsReminderArgsDict: TypeAlias = Mapping[str, Any]
|
2804
|
+
|
2805
|
+
@pulumi.input_type
|
2806
|
+
class HeartbeatMonitorAlertSettingsReminderArgs:
|
2807
|
+
def __init__(__self__, *,
|
2808
|
+
amount: Optional[pulumi.Input[int]] = None,
|
2809
|
+
interval: Optional[pulumi.Input[int]] = None):
|
2810
|
+
"""
|
2811
|
+
:param pulumi.Input[int] amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
2812
|
+
:param pulumi.Input[int] interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2813
|
+
"""
|
2814
|
+
if amount is not None:
|
2815
|
+
pulumi.set(__self__, "amount", amount)
|
2816
|
+
if interval is not None:
|
2817
|
+
pulumi.set(__self__, "interval", interval)
|
2818
|
+
|
2819
|
+
@property
|
2820
|
+
@pulumi.getter
|
2821
|
+
def amount(self) -> Optional[pulumi.Input[int]]:
|
2822
|
+
"""
|
2823
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
2824
|
+
"""
|
2825
|
+
return pulumi.get(self, "amount")
|
2826
|
+
|
2827
|
+
@amount.setter
|
2828
|
+
def amount(self, value: Optional[pulumi.Input[int]]):
|
2829
|
+
pulumi.set(self, "amount", value)
|
2830
|
+
|
2831
|
+
@property
|
2832
|
+
@pulumi.getter
|
2833
|
+
def interval(self) -> Optional[pulumi.Input[int]]:
|
2834
|
+
"""
|
2835
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2836
|
+
"""
|
2837
|
+
return pulumi.get(self, "interval")
|
2838
|
+
|
2839
|
+
@interval.setter
|
2840
|
+
def interval(self, value: Optional[pulumi.Input[int]]):
|
2841
|
+
pulumi.set(self, "interval", value)
|
2842
|
+
|
2843
|
+
|
2844
|
+
if not MYPY:
|
2845
|
+
class HeartbeatMonitorAlertSettingsRunBasedEscalationArgsDict(TypedDict):
|
2846
|
+
failed_run_threshold: NotRequired[pulumi.Input[int]]
|
2847
|
+
"""
|
2848
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
2849
|
+
"""
|
2850
|
+
elif False:
|
2851
|
+
HeartbeatMonitorAlertSettingsRunBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
2852
|
+
|
2853
|
+
@pulumi.input_type
|
2854
|
+
class HeartbeatMonitorAlertSettingsRunBasedEscalationArgs:
|
2855
|
+
def __init__(__self__, *,
|
2856
|
+
failed_run_threshold: Optional[pulumi.Input[int]] = None):
|
2857
|
+
"""
|
2858
|
+
:param pulumi.Input[int] failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
2859
|
+
"""
|
2860
|
+
if failed_run_threshold is not None:
|
2861
|
+
pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
|
2862
|
+
|
2863
|
+
@property
|
2864
|
+
@pulumi.getter(name="failedRunThreshold")
|
2865
|
+
def failed_run_threshold(self) -> Optional[pulumi.Input[int]]:
|
2866
|
+
"""
|
2867
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
2868
|
+
"""
|
2869
|
+
return pulumi.get(self, "failed_run_threshold")
|
2870
|
+
|
2871
|
+
@failed_run_threshold.setter
|
2872
|
+
def failed_run_threshold(self, value: Optional[pulumi.Input[int]]):
|
2873
|
+
pulumi.set(self, "failed_run_threshold", value)
|
2874
|
+
|
2875
|
+
|
2876
|
+
if not MYPY:
|
2877
|
+
class HeartbeatMonitorAlertSettingsSslCertificateArgsDict(TypedDict):
|
2878
|
+
alert_threshold: NotRequired[pulumi.Input[int]]
|
2879
|
+
"""
|
2880
|
+
How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
|
2881
|
+
"""
|
2882
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
2883
|
+
"""
|
2884
|
+
Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
|
2885
|
+
"""
|
2886
|
+
elif False:
|
2887
|
+
HeartbeatMonitorAlertSettingsSslCertificateArgsDict: TypeAlias = Mapping[str, Any]
|
2888
|
+
|
2889
|
+
@pulumi.input_type
|
2890
|
+
class HeartbeatMonitorAlertSettingsSslCertificateArgs:
|
2891
|
+
def __init__(__self__, *,
|
2892
|
+
alert_threshold: Optional[pulumi.Input[int]] = None,
|
2893
|
+
enabled: Optional[pulumi.Input[bool]] = None):
|
2894
|
+
"""
|
2895
|
+
:param pulumi.Input[int] alert_threshold: How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
|
2896
|
+
:param pulumi.Input[bool] enabled: Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
|
2897
|
+
"""
|
2898
|
+
if alert_threshold is not None:
|
2899
|
+
pulumi.set(__self__, "alert_threshold", alert_threshold)
|
2900
|
+
if enabled is not None:
|
2901
|
+
pulumi.set(__self__, "enabled", enabled)
|
2902
|
+
|
2903
|
+
@property
|
2904
|
+
@pulumi.getter(name="alertThreshold")
|
2905
|
+
def alert_threshold(self) -> Optional[pulumi.Input[int]]:
|
2906
|
+
"""
|
2907
|
+
How long before SSL certificate expiry to send alerts. Possible values `3`, `7`, `14`, `30`. (Default `3`).
|
2908
|
+
"""
|
2909
|
+
return pulumi.get(self, "alert_threshold")
|
2910
|
+
|
2911
|
+
@alert_threshold.setter
|
2912
|
+
def alert_threshold(self, value: Optional[pulumi.Input[int]]):
|
2913
|
+
pulumi.set(self, "alert_threshold", value)
|
2914
|
+
|
2915
|
+
@property
|
2916
|
+
@pulumi.getter
|
2917
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
2918
|
+
"""
|
2919
|
+
Determines if alert notifications should be sent for expiring SSL certificates. Possible values `true`, and `false`. (Default `false`).
|
2920
|
+
"""
|
2921
|
+
return pulumi.get(self, "enabled")
|
2922
|
+
|
2923
|
+
@enabled.setter
|
2924
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
2925
|
+
pulumi.set(self, "enabled", value)
|
2926
|
+
|
2927
|
+
|
2928
|
+
if not MYPY:
|
2929
|
+
class HeartbeatMonitorAlertSettingsTimeBasedEscalationArgsDict(TypedDict):
|
2930
|
+
minutes_failing_threshold: NotRequired[pulumi.Input[int]]
|
2931
|
+
"""
|
2932
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2933
|
+
"""
|
2934
|
+
elif False:
|
2935
|
+
HeartbeatMonitorAlertSettingsTimeBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
2936
|
+
|
2937
|
+
@pulumi.input_type
|
2938
|
+
class HeartbeatMonitorAlertSettingsTimeBasedEscalationArgs:
|
2939
|
+
def __init__(__self__, *,
|
2940
|
+
minutes_failing_threshold: Optional[pulumi.Input[int]] = None):
|
2941
|
+
"""
|
2942
|
+
:param pulumi.Input[int] minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2943
|
+
"""
|
2944
|
+
if minutes_failing_threshold is not None:
|
2945
|
+
pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
|
2946
|
+
|
2947
|
+
@property
|
2948
|
+
@pulumi.getter(name="minutesFailingThreshold")
|
2949
|
+
def minutes_failing_threshold(self) -> Optional[pulumi.Input[int]]:
|
2950
|
+
"""
|
2951
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2952
|
+
"""
|
2953
|
+
return pulumi.get(self, "minutes_failing_threshold")
|
2954
|
+
|
2955
|
+
@minutes_failing_threshold.setter
|
2956
|
+
def minutes_failing_threshold(self, value: Optional[pulumi.Input[int]]):
|
2957
|
+
pulumi.set(self, "minutes_failing_threshold", value)
|
2958
|
+
|
2959
|
+
|
2960
|
+
if not MYPY:
|
2961
|
+
class HeartbeatMonitorHeartbeatArgsDict(TypedDict):
|
2962
|
+
grace: pulumi.Input[int]
|
2963
|
+
"""
|
2964
|
+
How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
|
2965
|
+
"""
|
2966
|
+
grace_unit: pulumi.Input[str]
|
2967
|
+
"""
|
2968
|
+
Possible values `seconds`, `minutes`, `hours` and `days`.
|
2969
|
+
"""
|
2970
|
+
period: pulumi.Input[int]
|
2971
|
+
"""
|
2972
|
+
How often you expect a ping to the ping URL.
|
2973
|
+
"""
|
2974
|
+
period_unit: pulumi.Input[str]
|
2975
|
+
"""
|
2976
|
+
Possible values `seconds`, `minutes`, `hours` and `days`.
|
2977
|
+
"""
|
2978
|
+
ping_token: NotRequired[pulumi.Input[str]]
|
2979
|
+
"""
|
2980
|
+
Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
|
2981
|
+
"""
|
2982
|
+
elif False:
|
2983
|
+
HeartbeatMonitorHeartbeatArgsDict: TypeAlias = Mapping[str, Any]
|
2984
|
+
|
2985
|
+
@pulumi.input_type
|
2986
|
+
class HeartbeatMonitorHeartbeatArgs:
|
2987
|
+
def __init__(__self__, *,
|
2988
|
+
grace: pulumi.Input[int],
|
2989
|
+
grace_unit: pulumi.Input[str],
|
2990
|
+
period: pulumi.Input[int],
|
2991
|
+
period_unit: pulumi.Input[str],
|
2992
|
+
ping_token: Optional[pulumi.Input[str]] = None):
|
2993
|
+
"""
|
2994
|
+
:param pulumi.Input[int] grace: How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
|
2995
|
+
:param pulumi.Input[str] grace_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
|
2996
|
+
:param pulumi.Input[int] period: How often you expect a ping to the ping URL.
|
2997
|
+
:param pulumi.Input[str] period_unit: Possible values `seconds`, `minutes`, `hours` and `days`.
|
2998
|
+
:param pulumi.Input[str] ping_token: Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
|
2999
|
+
"""
|
3000
|
+
pulumi.set(__self__, "grace", grace)
|
3001
|
+
pulumi.set(__self__, "grace_unit", grace_unit)
|
3002
|
+
pulumi.set(__self__, "period", period)
|
3003
|
+
pulumi.set(__self__, "period_unit", period_unit)
|
3004
|
+
if ping_token is not None:
|
3005
|
+
pulumi.set(__self__, "ping_token", ping_token)
|
3006
|
+
|
3007
|
+
@property
|
3008
|
+
@pulumi.getter
|
3009
|
+
def grace(self) -> pulumi.Input[int]:
|
3010
|
+
"""
|
3011
|
+
How long Checkly should wait before triggering any alerts when a ping does not arrive within the set period.
|
3012
|
+
"""
|
3013
|
+
return pulumi.get(self, "grace")
|
3014
|
+
|
3015
|
+
@grace.setter
|
3016
|
+
def grace(self, value: pulumi.Input[int]):
|
3017
|
+
pulumi.set(self, "grace", value)
|
3018
|
+
|
3019
|
+
@property
|
3020
|
+
@pulumi.getter(name="graceUnit")
|
3021
|
+
def grace_unit(self) -> pulumi.Input[str]:
|
3022
|
+
"""
|
3023
|
+
Possible values `seconds`, `minutes`, `hours` and `days`.
|
3024
|
+
"""
|
3025
|
+
return pulumi.get(self, "grace_unit")
|
3026
|
+
|
3027
|
+
@grace_unit.setter
|
3028
|
+
def grace_unit(self, value: pulumi.Input[str]):
|
3029
|
+
pulumi.set(self, "grace_unit", value)
|
3030
|
+
|
3031
|
+
@property
|
3032
|
+
@pulumi.getter
|
3033
|
+
def period(self) -> pulumi.Input[int]:
|
3034
|
+
"""
|
3035
|
+
How often you expect a ping to the ping URL.
|
3036
|
+
"""
|
3037
|
+
return pulumi.get(self, "period")
|
3038
|
+
|
3039
|
+
@period.setter
|
3040
|
+
def period(self, value: pulumi.Input[int]):
|
3041
|
+
pulumi.set(self, "period", value)
|
3042
|
+
|
3043
|
+
@property
|
3044
|
+
@pulumi.getter(name="periodUnit")
|
3045
|
+
def period_unit(self) -> pulumi.Input[str]:
|
3046
|
+
"""
|
3047
|
+
Possible values `seconds`, `minutes`, `hours` and `days`.
|
3048
|
+
"""
|
3049
|
+
return pulumi.get(self, "period_unit")
|
3050
|
+
|
3051
|
+
@period_unit.setter
|
3052
|
+
def period_unit(self, value: pulumi.Input[str]):
|
3053
|
+
pulumi.set(self, "period_unit", value)
|
3054
|
+
|
3055
|
+
@property
|
3056
|
+
@pulumi.getter(name="pingToken")
|
3057
|
+
def ping_token(self) -> Optional[pulumi.Input[str]]:
|
3058
|
+
"""
|
3059
|
+
Custom token to generate your ping URL. Checkly will expect a ping to `https://ping.checklyhq.com/[PING_TOKEN]`.
|
3060
|
+
"""
|
3061
|
+
return pulumi.get(self, "ping_token")
|
3062
|
+
|
3063
|
+
@ping_token.setter
|
3064
|
+
def ping_token(self, value: Optional[pulumi.Input[str]]):
|
3065
|
+
pulumi.set(self, "ping_token", value)
|
3066
|
+
|
3067
|
+
|
2553
3068
|
if not MYPY:
|
2554
3069
|
class StatusPageCardArgsDict(TypedDict):
|
2555
3070
|
name: pulumi.Input[str]
|
2556
3071
|
"""
|
2557
|
-
The name of the card.
|
3072
|
+
The name of the card.
|
3073
|
+
"""
|
3074
|
+
service_attachments: pulumi.Input[Sequence[pulumi.Input['StatusPageCardServiceAttachmentArgsDict']]]
|
3075
|
+
"""
|
3076
|
+
A list of services to attach to the card.
|
3077
|
+
"""
|
3078
|
+
elif False:
|
3079
|
+
StatusPageCardArgsDict: TypeAlias = Mapping[str, Any]
|
3080
|
+
|
3081
|
+
@pulumi.input_type
|
3082
|
+
class StatusPageCardArgs:
|
3083
|
+
def __init__(__self__, *,
|
3084
|
+
name: pulumi.Input[str],
|
3085
|
+
service_attachments: pulumi.Input[Sequence[pulumi.Input['StatusPageCardServiceAttachmentArgs']]]):
|
3086
|
+
"""
|
3087
|
+
:param pulumi.Input[str] name: The name of the card.
|
3088
|
+
:param pulumi.Input[Sequence[pulumi.Input['StatusPageCardServiceAttachmentArgs']]] service_attachments: A list of services to attach to the card.
|
3089
|
+
"""
|
3090
|
+
pulumi.set(__self__, "name", name)
|
3091
|
+
pulumi.set(__self__, "service_attachments", service_attachments)
|
3092
|
+
|
3093
|
+
@property
|
3094
|
+
@pulumi.getter
|
3095
|
+
def name(self) -> pulumi.Input[str]:
|
3096
|
+
"""
|
3097
|
+
The name of the card.
|
3098
|
+
"""
|
3099
|
+
return pulumi.get(self, "name")
|
3100
|
+
|
3101
|
+
@name.setter
|
3102
|
+
def name(self, value: pulumi.Input[str]):
|
3103
|
+
pulumi.set(self, "name", value)
|
3104
|
+
|
3105
|
+
@property
|
3106
|
+
@pulumi.getter(name="serviceAttachments")
|
3107
|
+
def service_attachments(self) -> pulumi.Input[Sequence[pulumi.Input['StatusPageCardServiceAttachmentArgs']]]:
|
3108
|
+
"""
|
3109
|
+
A list of services to attach to the card.
|
3110
|
+
"""
|
3111
|
+
return pulumi.get(self, "service_attachments")
|
3112
|
+
|
3113
|
+
@service_attachments.setter
|
3114
|
+
def service_attachments(self, value: pulumi.Input[Sequence[pulumi.Input['StatusPageCardServiceAttachmentArgs']]]):
|
3115
|
+
pulumi.set(self, "service_attachments", value)
|
3116
|
+
|
3117
|
+
|
3118
|
+
if not MYPY:
|
3119
|
+
class StatusPageCardServiceAttachmentArgsDict(TypedDict):
|
3120
|
+
service_id: pulumi.Input[str]
|
3121
|
+
"""
|
3122
|
+
The ID of the service.
|
3123
|
+
"""
|
3124
|
+
elif False:
|
3125
|
+
StatusPageCardServiceAttachmentArgsDict: TypeAlias = Mapping[str, Any]
|
3126
|
+
|
3127
|
+
@pulumi.input_type
|
3128
|
+
class StatusPageCardServiceAttachmentArgs:
|
3129
|
+
def __init__(__self__, *,
|
3130
|
+
service_id: pulumi.Input[str]):
|
3131
|
+
"""
|
3132
|
+
:param pulumi.Input[str] service_id: The ID of the service.
|
3133
|
+
"""
|
3134
|
+
pulumi.set(__self__, "service_id", service_id)
|
3135
|
+
|
3136
|
+
@property
|
3137
|
+
@pulumi.getter(name="serviceId")
|
3138
|
+
def service_id(self) -> pulumi.Input[str]:
|
3139
|
+
"""
|
3140
|
+
The ID of the service.
|
3141
|
+
"""
|
3142
|
+
return pulumi.get(self, "service_id")
|
3143
|
+
|
3144
|
+
@service_id.setter
|
3145
|
+
def service_id(self, value: pulumi.Input[str]):
|
3146
|
+
pulumi.set(self, "service_id", value)
|
3147
|
+
|
3148
|
+
|
3149
|
+
if not MYPY:
|
3150
|
+
class TcpCheckAlertChannelSubscriptionArgsDict(TypedDict):
|
3151
|
+
activated: pulumi.Input[bool]
|
3152
|
+
channel_id: pulumi.Input[int]
|
3153
|
+
elif False:
|
3154
|
+
TcpCheckAlertChannelSubscriptionArgsDict: TypeAlias = Mapping[str, Any]
|
3155
|
+
|
3156
|
+
@pulumi.input_type
|
3157
|
+
class TcpCheckAlertChannelSubscriptionArgs:
|
3158
|
+
def __init__(__self__, *,
|
3159
|
+
activated: pulumi.Input[bool],
|
3160
|
+
channel_id: pulumi.Input[int]):
|
3161
|
+
pulumi.set(__self__, "activated", activated)
|
3162
|
+
pulumi.set(__self__, "channel_id", channel_id)
|
3163
|
+
|
3164
|
+
@property
|
3165
|
+
@pulumi.getter
|
3166
|
+
def activated(self) -> pulumi.Input[bool]:
|
3167
|
+
return pulumi.get(self, "activated")
|
3168
|
+
|
3169
|
+
@activated.setter
|
3170
|
+
def activated(self, value: pulumi.Input[bool]):
|
3171
|
+
pulumi.set(self, "activated", value)
|
3172
|
+
|
3173
|
+
@property
|
3174
|
+
@pulumi.getter(name="channelId")
|
3175
|
+
def channel_id(self) -> pulumi.Input[int]:
|
3176
|
+
return pulumi.get(self, "channel_id")
|
3177
|
+
|
3178
|
+
@channel_id.setter
|
3179
|
+
def channel_id(self, value: pulumi.Input[int]):
|
3180
|
+
pulumi.set(self, "channel_id", value)
|
3181
|
+
|
3182
|
+
|
3183
|
+
if not MYPY:
|
3184
|
+
class TcpCheckAlertSettingsArgsDict(TypedDict):
|
3185
|
+
escalation_type: NotRequired[pulumi.Input[str]]
|
3186
|
+
"""
|
3187
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3188
|
+
"""
|
3189
|
+
parallel_run_failure_thresholds: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsParallelRunFailureThresholdArgsDict']]]]
|
3190
|
+
reminders: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsReminderArgsDict']]]]
|
3191
|
+
run_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsRunBasedEscalationArgsDict']]]]
|
3192
|
+
time_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsTimeBasedEscalationArgsDict']]]]
|
3193
|
+
elif False:
|
3194
|
+
TcpCheckAlertSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
3195
|
+
|
3196
|
+
@pulumi.input_type
|
3197
|
+
class TcpCheckAlertSettingsArgs:
|
3198
|
+
def __init__(__self__, *,
|
3199
|
+
escalation_type: Optional[pulumi.Input[str]] = None,
|
3200
|
+
parallel_run_failure_thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsParallelRunFailureThresholdArgs']]]] = None,
|
3201
|
+
reminders: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsReminderArgs']]]] = None,
|
3202
|
+
run_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsRunBasedEscalationArgs']]]] = None,
|
3203
|
+
time_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsTimeBasedEscalationArgs']]]] = None):
|
3204
|
+
"""
|
3205
|
+
:param pulumi.Input[str] escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3206
|
+
"""
|
3207
|
+
if escalation_type is not None:
|
3208
|
+
pulumi.set(__self__, "escalation_type", escalation_type)
|
3209
|
+
if parallel_run_failure_thresholds is not None:
|
3210
|
+
pulumi.set(__self__, "parallel_run_failure_thresholds", parallel_run_failure_thresholds)
|
3211
|
+
if reminders is not None:
|
3212
|
+
pulumi.set(__self__, "reminders", reminders)
|
3213
|
+
if run_based_escalations is not None:
|
3214
|
+
pulumi.set(__self__, "run_based_escalations", run_based_escalations)
|
3215
|
+
if time_based_escalations is not None:
|
3216
|
+
pulumi.set(__self__, "time_based_escalations", time_based_escalations)
|
3217
|
+
|
3218
|
+
@property
|
3219
|
+
@pulumi.getter(name="escalationType")
|
3220
|
+
def escalation_type(self) -> Optional[pulumi.Input[str]]:
|
3221
|
+
"""
|
3222
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3223
|
+
"""
|
3224
|
+
return pulumi.get(self, "escalation_type")
|
3225
|
+
|
3226
|
+
@escalation_type.setter
|
3227
|
+
def escalation_type(self, value: Optional[pulumi.Input[str]]):
|
3228
|
+
pulumi.set(self, "escalation_type", value)
|
3229
|
+
|
3230
|
+
@property
|
3231
|
+
@pulumi.getter(name="parallelRunFailureThresholds")
|
3232
|
+
def parallel_run_failure_thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsParallelRunFailureThresholdArgs']]]]:
|
3233
|
+
return pulumi.get(self, "parallel_run_failure_thresholds")
|
3234
|
+
|
3235
|
+
@parallel_run_failure_thresholds.setter
|
3236
|
+
def parallel_run_failure_thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsParallelRunFailureThresholdArgs']]]]):
|
3237
|
+
pulumi.set(self, "parallel_run_failure_thresholds", value)
|
3238
|
+
|
3239
|
+
@property
|
3240
|
+
@pulumi.getter
|
3241
|
+
def reminders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsReminderArgs']]]]:
|
3242
|
+
return pulumi.get(self, "reminders")
|
3243
|
+
|
3244
|
+
@reminders.setter
|
3245
|
+
def reminders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsReminderArgs']]]]):
|
3246
|
+
pulumi.set(self, "reminders", value)
|
3247
|
+
|
3248
|
+
@property
|
3249
|
+
@pulumi.getter(name="runBasedEscalations")
|
3250
|
+
def run_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsRunBasedEscalationArgs']]]]:
|
3251
|
+
return pulumi.get(self, "run_based_escalations")
|
3252
|
+
|
3253
|
+
@run_based_escalations.setter
|
3254
|
+
def run_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsRunBasedEscalationArgs']]]]):
|
3255
|
+
pulumi.set(self, "run_based_escalations", value)
|
3256
|
+
|
3257
|
+
@property
|
3258
|
+
@pulumi.getter(name="timeBasedEscalations")
|
3259
|
+
def time_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsTimeBasedEscalationArgs']]]]:
|
3260
|
+
return pulumi.get(self, "time_based_escalations")
|
3261
|
+
|
3262
|
+
@time_based_escalations.setter
|
3263
|
+
def time_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsTimeBasedEscalationArgs']]]]):
|
3264
|
+
pulumi.set(self, "time_based_escalations", value)
|
3265
|
+
|
3266
|
+
|
3267
|
+
if not MYPY:
|
3268
|
+
class TcpCheckAlertSettingsParallelRunFailureThresholdArgsDict(TypedDict):
|
3269
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
3270
|
+
"""
|
3271
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
3272
|
+
"""
|
3273
|
+
percentage: NotRequired[pulumi.Input[int]]
|
3274
|
+
"""
|
3275
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3276
|
+
"""
|
3277
|
+
elif False:
|
3278
|
+
TcpCheckAlertSettingsParallelRunFailureThresholdArgsDict: TypeAlias = Mapping[str, Any]
|
3279
|
+
|
3280
|
+
@pulumi.input_type
|
3281
|
+
class TcpCheckAlertSettingsParallelRunFailureThresholdArgs:
|
3282
|
+
def __init__(__self__, *,
|
3283
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
3284
|
+
percentage: Optional[pulumi.Input[int]] = None):
|
3285
|
+
"""
|
3286
|
+
:param pulumi.Input[bool] enabled: Applicable only for checks scheduled in parallel in multiple locations.
|
3287
|
+
:param pulumi.Input[int] percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3288
|
+
"""
|
3289
|
+
if enabled is not None:
|
3290
|
+
pulumi.set(__self__, "enabled", enabled)
|
3291
|
+
if percentage is not None:
|
3292
|
+
pulumi.set(__self__, "percentage", percentage)
|
3293
|
+
|
3294
|
+
@property
|
3295
|
+
@pulumi.getter
|
3296
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
3297
|
+
"""
|
3298
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
3299
|
+
"""
|
3300
|
+
return pulumi.get(self, "enabled")
|
3301
|
+
|
3302
|
+
@enabled.setter
|
3303
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
3304
|
+
pulumi.set(self, "enabled", value)
|
3305
|
+
|
3306
|
+
@property
|
3307
|
+
@pulumi.getter
|
3308
|
+
def percentage(self) -> Optional[pulumi.Input[int]]:
|
3309
|
+
"""
|
3310
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3311
|
+
"""
|
3312
|
+
return pulumi.get(self, "percentage")
|
3313
|
+
|
3314
|
+
@percentage.setter
|
3315
|
+
def percentage(self, value: Optional[pulumi.Input[int]]):
|
3316
|
+
pulumi.set(self, "percentage", value)
|
3317
|
+
|
3318
|
+
|
3319
|
+
if not MYPY:
|
3320
|
+
class TcpCheckAlertSettingsReminderArgsDict(TypedDict):
|
3321
|
+
amount: NotRequired[pulumi.Input[int]]
|
3322
|
+
"""
|
3323
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3324
|
+
"""
|
3325
|
+
interval: NotRequired[pulumi.Input[int]]
|
3326
|
+
"""
|
3327
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3328
|
+
"""
|
3329
|
+
elif False:
|
3330
|
+
TcpCheckAlertSettingsReminderArgsDict: TypeAlias = Mapping[str, Any]
|
3331
|
+
|
3332
|
+
@pulumi.input_type
|
3333
|
+
class TcpCheckAlertSettingsReminderArgs:
|
3334
|
+
def __init__(__self__, *,
|
3335
|
+
amount: Optional[pulumi.Input[int]] = None,
|
3336
|
+
interval: Optional[pulumi.Input[int]] = None):
|
3337
|
+
"""
|
3338
|
+
:param pulumi.Input[int] amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3339
|
+
:param pulumi.Input[int] interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3340
|
+
"""
|
3341
|
+
if amount is not None:
|
3342
|
+
pulumi.set(__self__, "amount", amount)
|
3343
|
+
if interval is not None:
|
3344
|
+
pulumi.set(__self__, "interval", interval)
|
3345
|
+
|
3346
|
+
@property
|
3347
|
+
@pulumi.getter
|
3348
|
+
def amount(self) -> Optional[pulumi.Input[int]]:
|
3349
|
+
"""
|
3350
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3351
|
+
"""
|
3352
|
+
return pulumi.get(self, "amount")
|
3353
|
+
|
3354
|
+
@amount.setter
|
3355
|
+
def amount(self, value: Optional[pulumi.Input[int]]):
|
3356
|
+
pulumi.set(self, "amount", value)
|
3357
|
+
|
3358
|
+
@property
|
3359
|
+
@pulumi.getter
|
3360
|
+
def interval(self) -> Optional[pulumi.Input[int]]:
|
3361
|
+
"""
|
3362
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3363
|
+
"""
|
3364
|
+
return pulumi.get(self, "interval")
|
3365
|
+
|
3366
|
+
@interval.setter
|
3367
|
+
def interval(self, value: Optional[pulumi.Input[int]]):
|
3368
|
+
pulumi.set(self, "interval", value)
|
3369
|
+
|
3370
|
+
|
3371
|
+
if not MYPY:
|
3372
|
+
class TcpCheckAlertSettingsRunBasedEscalationArgsDict(TypedDict):
|
3373
|
+
failed_run_threshold: NotRequired[pulumi.Input[int]]
|
3374
|
+
"""
|
3375
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3376
|
+
"""
|
3377
|
+
elif False:
|
3378
|
+
TcpCheckAlertSettingsRunBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
3379
|
+
|
3380
|
+
@pulumi.input_type
|
3381
|
+
class TcpCheckAlertSettingsRunBasedEscalationArgs:
|
3382
|
+
def __init__(__self__, *,
|
3383
|
+
failed_run_threshold: Optional[pulumi.Input[int]] = None):
|
3384
|
+
"""
|
3385
|
+
:param pulumi.Input[int] failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3386
|
+
"""
|
3387
|
+
if failed_run_threshold is not None:
|
3388
|
+
pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
|
3389
|
+
|
3390
|
+
@property
|
3391
|
+
@pulumi.getter(name="failedRunThreshold")
|
3392
|
+
def failed_run_threshold(self) -> Optional[pulumi.Input[int]]:
|
3393
|
+
"""
|
3394
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3395
|
+
"""
|
3396
|
+
return pulumi.get(self, "failed_run_threshold")
|
3397
|
+
|
3398
|
+
@failed_run_threshold.setter
|
3399
|
+
def failed_run_threshold(self, value: Optional[pulumi.Input[int]]):
|
3400
|
+
pulumi.set(self, "failed_run_threshold", value)
|
3401
|
+
|
3402
|
+
|
3403
|
+
if not MYPY:
|
3404
|
+
class TcpCheckAlertSettingsTimeBasedEscalationArgsDict(TypedDict):
|
3405
|
+
minutes_failing_threshold: NotRequired[pulumi.Input[int]]
|
3406
|
+
"""
|
3407
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3408
|
+
"""
|
3409
|
+
elif False:
|
3410
|
+
TcpCheckAlertSettingsTimeBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
3411
|
+
|
3412
|
+
@pulumi.input_type
|
3413
|
+
class TcpCheckAlertSettingsTimeBasedEscalationArgs:
|
3414
|
+
def __init__(__self__, *,
|
3415
|
+
minutes_failing_threshold: Optional[pulumi.Input[int]] = None):
|
3416
|
+
"""
|
3417
|
+
:param pulumi.Input[int] minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3418
|
+
"""
|
3419
|
+
if minutes_failing_threshold is not None:
|
3420
|
+
pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
|
3421
|
+
|
3422
|
+
@property
|
3423
|
+
@pulumi.getter(name="minutesFailingThreshold")
|
3424
|
+
def minutes_failing_threshold(self) -> Optional[pulumi.Input[int]]:
|
3425
|
+
"""
|
3426
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3427
|
+
"""
|
3428
|
+
return pulumi.get(self, "minutes_failing_threshold")
|
3429
|
+
|
3430
|
+
@minutes_failing_threshold.setter
|
3431
|
+
def minutes_failing_threshold(self, value: Optional[pulumi.Input[int]]):
|
3432
|
+
pulumi.set(self, "minutes_failing_threshold", value)
|
3433
|
+
|
3434
|
+
|
3435
|
+
if not MYPY:
|
3436
|
+
class TcpCheckRequestArgsDict(TypedDict):
|
3437
|
+
hostname: pulumi.Input[str]
|
3438
|
+
"""
|
3439
|
+
The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
3440
|
+
"""
|
3441
|
+
port: pulumi.Input[int]
|
3442
|
+
"""
|
3443
|
+
The port number to connect to.
|
3444
|
+
"""
|
3445
|
+
assertions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckRequestAssertionArgsDict']]]]
|
3446
|
+
"""
|
3447
|
+
A request can have multiple assertions.
|
3448
|
+
"""
|
3449
|
+
data: NotRequired[pulumi.Input[str]]
|
3450
|
+
"""
|
3451
|
+
The data to send to the target host.
|
3452
|
+
"""
|
3453
|
+
ip_family: NotRequired[pulumi.Input[str]]
|
3454
|
+
"""
|
3455
|
+
The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
3456
|
+
"""
|
3457
|
+
elif False:
|
3458
|
+
TcpCheckRequestArgsDict: TypeAlias = Mapping[str, Any]
|
3459
|
+
|
3460
|
+
@pulumi.input_type
|
3461
|
+
class TcpCheckRequestArgs:
|
3462
|
+
def __init__(__self__, *,
|
3463
|
+
hostname: pulumi.Input[str],
|
3464
|
+
port: pulumi.Input[int],
|
3465
|
+
assertions: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckRequestAssertionArgs']]]] = None,
|
3466
|
+
data: Optional[pulumi.Input[str]] = None,
|
3467
|
+
ip_family: Optional[pulumi.Input[str]] = None):
|
3468
|
+
"""
|
3469
|
+
:param pulumi.Input[str] hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
3470
|
+
:param pulumi.Input[int] port: The port number to connect to.
|
3471
|
+
:param pulumi.Input[Sequence[pulumi.Input['TcpCheckRequestAssertionArgs']]] assertions: A request can have multiple assertions.
|
3472
|
+
:param pulumi.Input[str] data: The data to send to the target host.
|
3473
|
+
:param pulumi.Input[str] ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
3474
|
+
"""
|
3475
|
+
pulumi.set(__self__, "hostname", hostname)
|
3476
|
+
pulumi.set(__self__, "port", port)
|
3477
|
+
if assertions is not None:
|
3478
|
+
pulumi.set(__self__, "assertions", assertions)
|
3479
|
+
if data is not None:
|
3480
|
+
pulumi.set(__self__, "data", data)
|
3481
|
+
if ip_family is not None:
|
3482
|
+
pulumi.set(__self__, "ip_family", ip_family)
|
3483
|
+
|
3484
|
+
@property
|
3485
|
+
@pulumi.getter
|
3486
|
+
def hostname(self) -> pulumi.Input[str]:
|
3487
|
+
"""
|
3488
|
+
The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
3489
|
+
"""
|
3490
|
+
return pulumi.get(self, "hostname")
|
3491
|
+
|
3492
|
+
@hostname.setter
|
3493
|
+
def hostname(self, value: pulumi.Input[str]):
|
3494
|
+
pulumi.set(self, "hostname", value)
|
3495
|
+
|
3496
|
+
@property
|
3497
|
+
@pulumi.getter
|
3498
|
+
def port(self) -> pulumi.Input[int]:
|
3499
|
+
"""
|
3500
|
+
The port number to connect to.
|
3501
|
+
"""
|
3502
|
+
return pulumi.get(self, "port")
|
3503
|
+
|
3504
|
+
@port.setter
|
3505
|
+
def port(self, value: pulumi.Input[int]):
|
3506
|
+
pulumi.set(self, "port", value)
|
3507
|
+
|
3508
|
+
@property
|
3509
|
+
@pulumi.getter
|
3510
|
+
def assertions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckRequestAssertionArgs']]]]:
|
3511
|
+
"""
|
3512
|
+
A request can have multiple assertions.
|
3513
|
+
"""
|
3514
|
+
return pulumi.get(self, "assertions")
|
3515
|
+
|
3516
|
+
@assertions.setter
|
3517
|
+
def assertions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpCheckRequestAssertionArgs']]]]):
|
3518
|
+
pulumi.set(self, "assertions", value)
|
3519
|
+
|
3520
|
+
@property
|
3521
|
+
@pulumi.getter
|
3522
|
+
def data(self) -> Optional[pulumi.Input[str]]:
|
3523
|
+
"""
|
3524
|
+
The data to send to the target host.
|
3525
|
+
"""
|
3526
|
+
return pulumi.get(self, "data")
|
3527
|
+
|
3528
|
+
@data.setter
|
3529
|
+
def data(self, value: Optional[pulumi.Input[str]]):
|
3530
|
+
pulumi.set(self, "data", value)
|
3531
|
+
|
3532
|
+
@property
|
3533
|
+
@pulumi.getter(name="ipFamily")
|
3534
|
+
def ip_family(self) -> Optional[pulumi.Input[str]]:
|
3535
|
+
"""
|
3536
|
+
The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
3537
|
+
"""
|
3538
|
+
return pulumi.get(self, "ip_family")
|
3539
|
+
|
3540
|
+
@ip_family.setter
|
3541
|
+
def ip_family(self, value: Optional[pulumi.Input[str]]):
|
3542
|
+
pulumi.set(self, "ip_family", value)
|
3543
|
+
|
3544
|
+
|
3545
|
+
if not MYPY:
|
3546
|
+
class TcpCheckRequestAssertionArgsDict(TypedDict):
|
3547
|
+
comparison: pulumi.Input[str]
|
3548
|
+
"""
|
3549
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
3550
|
+
"""
|
3551
|
+
source: pulumi.Input[str]
|
3552
|
+
"""
|
3553
|
+
The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
3554
|
+
"""
|
3555
|
+
property: NotRequired[pulumi.Input[str]]
|
3556
|
+
target: NotRequired[pulumi.Input[str]]
|
3557
|
+
elif False:
|
3558
|
+
TcpCheckRequestAssertionArgsDict: TypeAlias = Mapping[str, Any]
|
3559
|
+
|
3560
|
+
@pulumi.input_type
|
3561
|
+
class TcpCheckRequestAssertionArgs:
|
3562
|
+
def __init__(__self__, *,
|
3563
|
+
comparison: pulumi.Input[str],
|
3564
|
+
source: pulumi.Input[str],
|
3565
|
+
property: Optional[pulumi.Input[str]] = None,
|
3566
|
+
target: Optional[pulumi.Input[str]] = None):
|
3567
|
+
"""
|
3568
|
+
:param pulumi.Input[str] comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
3569
|
+
:param pulumi.Input[str] source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
3570
|
+
"""
|
3571
|
+
pulumi.set(__self__, "comparison", comparison)
|
3572
|
+
pulumi.set(__self__, "source", source)
|
3573
|
+
if property is not None:
|
3574
|
+
pulumi.set(__self__, "property", property)
|
3575
|
+
if target is not None:
|
3576
|
+
pulumi.set(__self__, "target", target)
|
3577
|
+
|
3578
|
+
@property
|
3579
|
+
@pulumi.getter
|
3580
|
+
def comparison(self) -> pulumi.Input[str]:
|
3581
|
+
"""
|
3582
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
3583
|
+
"""
|
3584
|
+
return pulumi.get(self, "comparison")
|
3585
|
+
|
3586
|
+
@comparison.setter
|
3587
|
+
def comparison(self, value: pulumi.Input[str]):
|
3588
|
+
pulumi.set(self, "comparison", value)
|
3589
|
+
|
3590
|
+
@property
|
3591
|
+
@pulumi.getter
|
3592
|
+
def source(self) -> pulumi.Input[str]:
|
3593
|
+
"""
|
3594
|
+
The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
3595
|
+
"""
|
3596
|
+
return pulumi.get(self, "source")
|
3597
|
+
|
3598
|
+
@source.setter
|
3599
|
+
def source(self, value: pulumi.Input[str]):
|
3600
|
+
pulumi.set(self, "source", value)
|
3601
|
+
|
3602
|
+
@property
|
3603
|
+
@pulumi.getter
|
3604
|
+
def target(self) -> Optional[pulumi.Input[str]]:
|
3605
|
+
return pulumi.get(self, "target")
|
3606
|
+
|
3607
|
+
@target.setter
|
3608
|
+
def target(self, value: Optional[pulumi.Input[str]]):
|
3609
|
+
pulumi.set(self, "target", value)
|
3610
|
+
|
3611
|
+
@property
|
3612
|
+
@pulumi.getter
|
3613
|
+
def property(self) -> Optional[pulumi.Input[str]]:
|
3614
|
+
return pulumi.get(self, "property")
|
3615
|
+
|
3616
|
+
@property.setter
|
3617
|
+
def property(self, value: Optional[pulumi.Input[str]]):
|
3618
|
+
pulumi.set(self, "property", value)
|
3619
|
+
|
3620
|
+
|
3621
|
+
if not MYPY:
|
3622
|
+
class TcpCheckRetryStrategyArgsDict(TypedDict):
|
3623
|
+
type: pulumi.Input[str]
|
3624
|
+
"""
|
3625
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
3626
|
+
"""
|
3627
|
+
base_backoff_seconds: NotRequired[pulumi.Input[int]]
|
3628
|
+
"""
|
3629
|
+
The number of seconds to wait before the first retry attempt.
|
3630
|
+
"""
|
3631
|
+
max_duration_seconds: NotRequired[pulumi.Input[int]]
|
3632
|
+
"""
|
3633
|
+
The total amount of time to continue retrying the check (maximum 600 seconds).
|
3634
|
+
"""
|
3635
|
+
max_retries: NotRequired[pulumi.Input[int]]
|
3636
|
+
"""
|
3637
|
+
The maximum number of times to retry the check. Value must be between 1 and 10.
|
3638
|
+
"""
|
3639
|
+
same_region: NotRequired[pulumi.Input[bool]]
|
3640
|
+
"""
|
3641
|
+
Whether retries should be run in the same region as the initial check run.
|
3642
|
+
"""
|
3643
|
+
elif False:
|
3644
|
+
TcpCheckRetryStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
3645
|
+
|
3646
|
+
@pulumi.input_type
|
3647
|
+
class TcpCheckRetryStrategyArgs:
|
3648
|
+
def __init__(__self__, *,
|
3649
|
+
type: pulumi.Input[str],
|
3650
|
+
base_backoff_seconds: Optional[pulumi.Input[int]] = None,
|
3651
|
+
max_duration_seconds: Optional[pulumi.Input[int]] = None,
|
3652
|
+
max_retries: Optional[pulumi.Input[int]] = None,
|
3653
|
+
same_region: Optional[pulumi.Input[bool]] = None):
|
3654
|
+
"""
|
3655
|
+
:param pulumi.Input[str] type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
3656
|
+
:param pulumi.Input[int] base_backoff_seconds: The number of seconds to wait before the first retry attempt.
|
3657
|
+
:param pulumi.Input[int] max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
|
3658
|
+
:param pulumi.Input[int] max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
|
3659
|
+
:param pulumi.Input[bool] same_region: Whether retries should be run in the same region as the initial check run.
|
3660
|
+
"""
|
3661
|
+
pulumi.set(__self__, "type", type)
|
3662
|
+
if base_backoff_seconds is not None:
|
3663
|
+
pulumi.set(__self__, "base_backoff_seconds", base_backoff_seconds)
|
3664
|
+
if max_duration_seconds is not None:
|
3665
|
+
pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
|
3666
|
+
if max_retries is not None:
|
3667
|
+
pulumi.set(__self__, "max_retries", max_retries)
|
3668
|
+
if same_region is not None:
|
3669
|
+
pulumi.set(__self__, "same_region", same_region)
|
3670
|
+
|
3671
|
+
@property
|
3672
|
+
@pulumi.getter
|
3673
|
+
def type(self) -> pulumi.Input[str]:
|
3674
|
+
"""
|
3675
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
3676
|
+
"""
|
3677
|
+
return pulumi.get(self, "type")
|
3678
|
+
|
3679
|
+
@type.setter
|
3680
|
+
def type(self, value: pulumi.Input[str]):
|
3681
|
+
pulumi.set(self, "type", value)
|
3682
|
+
|
3683
|
+
@property
|
3684
|
+
@pulumi.getter(name="baseBackoffSeconds")
|
3685
|
+
def base_backoff_seconds(self) -> Optional[pulumi.Input[int]]:
|
3686
|
+
"""
|
3687
|
+
The number of seconds to wait before the first retry attempt.
|
3688
|
+
"""
|
3689
|
+
return pulumi.get(self, "base_backoff_seconds")
|
3690
|
+
|
3691
|
+
@base_backoff_seconds.setter
|
3692
|
+
def base_backoff_seconds(self, value: Optional[pulumi.Input[int]]):
|
3693
|
+
pulumi.set(self, "base_backoff_seconds", value)
|
3694
|
+
|
3695
|
+
@property
|
3696
|
+
@pulumi.getter(name="maxDurationSeconds")
|
3697
|
+
def max_duration_seconds(self) -> Optional[pulumi.Input[int]]:
|
3698
|
+
"""
|
3699
|
+
The total amount of time to continue retrying the check (maximum 600 seconds).
|
3700
|
+
"""
|
3701
|
+
return pulumi.get(self, "max_duration_seconds")
|
3702
|
+
|
3703
|
+
@max_duration_seconds.setter
|
3704
|
+
def max_duration_seconds(self, value: Optional[pulumi.Input[int]]):
|
3705
|
+
pulumi.set(self, "max_duration_seconds", value)
|
3706
|
+
|
3707
|
+
@property
|
3708
|
+
@pulumi.getter(name="maxRetries")
|
3709
|
+
def max_retries(self) -> Optional[pulumi.Input[int]]:
|
3710
|
+
"""
|
3711
|
+
The maximum number of times to retry the check. Value must be between 1 and 10.
|
3712
|
+
"""
|
3713
|
+
return pulumi.get(self, "max_retries")
|
3714
|
+
|
3715
|
+
@max_retries.setter
|
3716
|
+
def max_retries(self, value: Optional[pulumi.Input[int]]):
|
3717
|
+
pulumi.set(self, "max_retries", value)
|
3718
|
+
|
3719
|
+
@property
|
3720
|
+
@pulumi.getter(name="sameRegion")
|
3721
|
+
def same_region(self) -> Optional[pulumi.Input[bool]]:
|
3722
|
+
"""
|
3723
|
+
Whether retries should be run in the same region as the initial check run.
|
3724
|
+
"""
|
3725
|
+
return pulumi.get(self, "same_region")
|
3726
|
+
|
3727
|
+
@same_region.setter
|
3728
|
+
def same_region(self, value: Optional[pulumi.Input[bool]]):
|
3729
|
+
pulumi.set(self, "same_region", value)
|
3730
|
+
|
3731
|
+
|
3732
|
+
if not MYPY:
|
3733
|
+
class TcpMonitorAlertChannelSubscriptionArgsDict(TypedDict):
|
3734
|
+
activated: pulumi.Input[bool]
|
3735
|
+
channel_id: pulumi.Input[int]
|
3736
|
+
elif False:
|
3737
|
+
TcpMonitorAlertChannelSubscriptionArgsDict: TypeAlias = Mapping[str, Any]
|
3738
|
+
|
3739
|
+
@pulumi.input_type
|
3740
|
+
class TcpMonitorAlertChannelSubscriptionArgs:
|
3741
|
+
def __init__(__self__, *,
|
3742
|
+
activated: pulumi.Input[bool],
|
3743
|
+
channel_id: pulumi.Input[int]):
|
3744
|
+
pulumi.set(__self__, "activated", activated)
|
3745
|
+
pulumi.set(__self__, "channel_id", channel_id)
|
3746
|
+
|
3747
|
+
@property
|
3748
|
+
@pulumi.getter
|
3749
|
+
def activated(self) -> pulumi.Input[bool]:
|
3750
|
+
return pulumi.get(self, "activated")
|
3751
|
+
|
3752
|
+
@activated.setter
|
3753
|
+
def activated(self, value: pulumi.Input[bool]):
|
3754
|
+
pulumi.set(self, "activated", value)
|
3755
|
+
|
3756
|
+
@property
|
3757
|
+
@pulumi.getter(name="channelId")
|
3758
|
+
def channel_id(self) -> pulumi.Input[int]:
|
3759
|
+
return pulumi.get(self, "channel_id")
|
3760
|
+
|
3761
|
+
@channel_id.setter
|
3762
|
+
def channel_id(self, value: pulumi.Input[int]):
|
3763
|
+
pulumi.set(self, "channel_id", value)
|
3764
|
+
|
3765
|
+
|
3766
|
+
if not MYPY:
|
3767
|
+
class TcpMonitorAlertSettingsArgsDict(TypedDict):
|
3768
|
+
escalation_type: NotRequired[pulumi.Input[str]]
|
3769
|
+
"""
|
3770
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3771
|
+
"""
|
3772
|
+
parallel_run_failure_thresholds: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsParallelRunFailureThresholdArgsDict']]]]
|
3773
|
+
reminders: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsReminderArgsDict']]]]
|
3774
|
+
run_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsRunBasedEscalationArgsDict']]]]
|
3775
|
+
time_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsTimeBasedEscalationArgsDict']]]]
|
3776
|
+
elif False:
|
3777
|
+
TcpMonitorAlertSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
3778
|
+
|
3779
|
+
@pulumi.input_type
|
3780
|
+
class TcpMonitorAlertSettingsArgs:
|
3781
|
+
def __init__(__self__, *,
|
3782
|
+
escalation_type: Optional[pulumi.Input[str]] = None,
|
3783
|
+
parallel_run_failure_thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsParallelRunFailureThresholdArgs']]]] = None,
|
3784
|
+
reminders: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsReminderArgs']]]] = None,
|
3785
|
+
run_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsRunBasedEscalationArgs']]]] = None,
|
3786
|
+
time_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsTimeBasedEscalationArgs']]]] = None):
|
3787
|
+
"""
|
3788
|
+
:param pulumi.Input[str] escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3789
|
+
"""
|
3790
|
+
if escalation_type is not None:
|
3791
|
+
pulumi.set(__self__, "escalation_type", escalation_type)
|
3792
|
+
if parallel_run_failure_thresholds is not None:
|
3793
|
+
pulumi.set(__self__, "parallel_run_failure_thresholds", parallel_run_failure_thresholds)
|
3794
|
+
if reminders is not None:
|
3795
|
+
pulumi.set(__self__, "reminders", reminders)
|
3796
|
+
if run_based_escalations is not None:
|
3797
|
+
pulumi.set(__self__, "run_based_escalations", run_based_escalations)
|
3798
|
+
if time_based_escalations is not None:
|
3799
|
+
pulumi.set(__self__, "time_based_escalations", time_based_escalations)
|
3800
|
+
|
3801
|
+
@property
|
3802
|
+
@pulumi.getter(name="escalationType")
|
3803
|
+
def escalation_type(self) -> Optional[pulumi.Input[str]]:
|
3804
|
+
"""
|
3805
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` or `TIME_BASED`.
|
3806
|
+
"""
|
3807
|
+
return pulumi.get(self, "escalation_type")
|
3808
|
+
|
3809
|
+
@escalation_type.setter
|
3810
|
+
def escalation_type(self, value: Optional[pulumi.Input[str]]):
|
3811
|
+
pulumi.set(self, "escalation_type", value)
|
3812
|
+
|
3813
|
+
@property
|
3814
|
+
@pulumi.getter(name="parallelRunFailureThresholds")
|
3815
|
+
def parallel_run_failure_thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]:
|
3816
|
+
return pulumi.get(self, "parallel_run_failure_thresholds")
|
3817
|
+
|
3818
|
+
@parallel_run_failure_thresholds.setter
|
3819
|
+
def parallel_run_failure_thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]):
|
3820
|
+
pulumi.set(self, "parallel_run_failure_thresholds", value)
|
3821
|
+
|
3822
|
+
@property
|
3823
|
+
@pulumi.getter
|
3824
|
+
def reminders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsReminderArgs']]]]:
|
3825
|
+
return pulumi.get(self, "reminders")
|
3826
|
+
|
3827
|
+
@reminders.setter
|
3828
|
+
def reminders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsReminderArgs']]]]):
|
3829
|
+
pulumi.set(self, "reminders", value)
|
3830
|
+
|
3831
|
+
@property
|
3832
|
+
@pulumi.getter(name="runBasedEscalations")
|
3833
|
+
def run_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsRunBasedEscalationArgs']]]]:
|
3834
|
+
return pulumi.get(self, "run_based_escalations")
|
3835
|
+
|
3836
|
+
@run_based_escalations.setter
|
3837
|
+
def run_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsRunBasedEscalationArgs']]]]):
|
3838
|
+
pulumi.set(self, "run_based_escalations", value)
|
3839
|
+
|
3840
|
+
@property
|
3841
|
+
@pulumi.getter(name="timeBasedEscalations")
|
3842
|
+
def time_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsTimeBasedEscalationArgs']]]]:
|
3843
|
+
return pulumi.get(self, "time_based_escalations")
|
3844
|
+
|
3845
|
+
@time_based_escalations.setter
|
3846
|
+
def time_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorAlertSettingsTimeBasedEscalationArgs']]]]):
|
3847
|
+
pulumi.set(self, "time_based_escalations", value)
|
3848
|
+
|
3849
|
+
|
3850
|
+
if not MYPY:
|
3851
|
+
class TcpMonitorAlertSettingsParallelRunFailureThresholdArgsDict(TypedDict):
|
3852
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
3853
|
+
"""
|
3854
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
3855
|
+
"""
|
3856
|
+
percentage: NotRequired[pulumi.Input[int]]
|
3857
|
+
"""
|
3858
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3859
|
+
"""
|
3860
|
+
elif False:
|
3861
|
+
TcpMonitorAlertSettingsParallelRunFailureThresholdArgsDict: TypeAlias = Mapping[str, Any]
|
3862
|
+
|
3863
|
+
@pulumi.input_type
|
3864
|
+
class TcpMonitorAlertSettingsParallelRunFailureThresholdArgs:
|
3865
|
+
def __init__(__self__, *,
|
3866
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
3867
|
+
percentage: Optional[pulumi.Input[int]] = None):
|
3868
|
+
"""
|
3869
|
+
:param pulumi.Input[bool] enabled: Applicable only for checks scheduled in parallel in multiple locations.
|
3870
|
+
:param pulumi.Input[int] percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3871
|
+
"""
|
3872
|
+
if enabled is not None:
|
3873
|
+
pulumi.set(__self__, "enabled", enabled)
|
3874
|
+
if percentage is not None:
|
3875
|
+
pulumi.set(__self__, "percentage", percentage)
|
3876
|
+
|
3877
|
+
@property
|
3878
|
+
@pulumi.getter
|
3879
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
3880
|
+
"""
|
3881
|
+
Applicable only for checks scheduled in parallel in multiple locations.
|
3882
|
+
"""
|
3883
|
+
return pulumi.get(self, "enabled")
|
3884
|
+
|
3885
|
+
@enabled.setter
|
3886
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
3887
|
+
pulumi.set(self, "enabled", value)
|
3888
|
+
|
3889
|
+
@property
|
3890
|
+
@pulumi.getter
|
3891
|
+
def percentage(self) -> Optional[pulumi.Input[int]]:
|
3892
|
+
"""
|
3893
|
+
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `100`, and `100`. (Default `10`).
|
3894
|
+
"""
|
3895
|
+
return pulumi.get(self, "percentage")
|
3896
|
+
|
3897
|
+
@percentage.setter
|
3898
|
+
def percentage(self, value: Optional[pulumi.Input[int]]):
|
3899
|
+
pulumi.set(self, "percentage", value)
|
3900
|
+
|
3901
|
+
|
3902
|
+
if not MYPY:
|
3903
|
+
class TcpMonitorAlertSettingsReminderArgsDict(TypedDict):
|
3904
|
+
amount: NotRequired[pulumi.Input[int]]
|
3905
|
+
"""
|
3906
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3907
|
+
"""
|
3908
|
+
interval: NotRequired[pulumi.Input[int]]
|
3909
|
+
"""
|
3910
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3911
|
+
"""
|
3912
|
+
elif False:
|
3913
|
+
TcpMonitorAlertSettingsReminderArgsDict: TypeAlias = Mapping[str, Any]
|
3914
|
+
|
3915
|
+
@pulumi.input_type
|
3916
|
+
class TcpMonitorAlertSettingsReminderArgs:
|
3917
|
+
def __init__(__self__, *,
|
3918
|
+
amount: Optional[pulumi.Input[int]] = None,
|
3919
|
+
interval: Optional[pulumi.Input[int]] = None):
|
3920
|
+
"""
|
3921
|
+
:param pulumi.Input[int] amount: How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3922
|
+
:param pulumi.Input[int] interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3923
|
+
"""
|
3924
|
+
if amount is not None:
|
3925
|
+
pulumi.set(__self__, "amount", amount)
|
3926
|
+
if interval is not None:
|
3927
|
+
pulumi.set(__self__, "interval", interval)
|
3928
|
+
|
3929
|
+
@property
|
3930
|
+
@pulumi.getter
|
3931
|
+
def amount(self) -> Optional[pulumi.Input[int]]:
|
3932
|
+
"""
|
3933
|
+
How many reminders to send out after the initial alert notification. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000`
|
3934
|
+
"""
|
3935
|
+
return pulumi.get(self, "amount")
|
3936
|
+
|
3937
|
+
@amount.setter
|
3938
|
+
def amount(self, value: Optional[pulumi.Input[int]]):
|
3939
|
+
pulumi.set(self, "amount", value)
|
3940
|
+
|
3941
|
+
@property
|
3942
|
+
@pulumi.getter
|
3943
|
+
def interval(self) -> Optional[pulumi.Input[int]]:
|
3944
|
+
"""
|
3945
|
+
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3946
|
+
"""
|
3947
|
+
return pulumi.get(self, "interval")
|
3948
|
+
|
3949
|
+
@interval.setter
|
3950
|
+
def interval(self, value: Optional[pulumi.Input[int]]):
|
3951
|
+
pulumi.set(self, "interval", value)
|
3952
|
+
|
3953
|
+
|
3954
|
+
if not MYPY:
|
3955
|
+
class TcpMonitorAlertSettingsRunBasedEscalationArgsDict(TypedDict):
|
3956
|
+
failed_run_threshold: NotRequired[pulumi.Input[int]]
|
3957
|
+
"""
|
3958
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3959
|
+
"""
|
3960
|
+
elif False:
|
3961
|
+
TcpMonitorAlertSettingsRunBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
3962
|
+
|
3963
|
+
@pulumi.input_type
|
3964
|
+
class TcpMonitorAlertSettingsRunBasedEscalationArgs:
|
3965
|
+
def __init__(__self__, *,
|
3966
|
+
failed_run_threshold: Optional[pulumi.Input[int]] = None):
|
3967
|
+
"""
|
3968
|
+
:param pulumi.Input[int] failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3969
|
+
"""
|
3970
|
+
if failed_run_threshold is not None:
|
3971
|
+
pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
|
3972
|
+
|
3973
|
+
@property
|
3974
|
+
@pulumi.getter(name="failedRunThreshold")
|
3975
|
+
def failed_run_threshold(self) -> Optional[pulumi.Input[int]]:
|
3976
|
+
"""
|
3977
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5. (Default `1`).
|
3978
|
+
"""
|
3979
|
+
return pulumi.get(self, "failed_run_threshold")
|
3980
|
+
|
3981
|
+
@failed_run_threshold.setter
|
3982
|
+
def failed_run_threshold(self, value: Optional[pulumi.Input[int]]):
|
3983
|
+
pulumi.set(self, "failed_run_threshold", value)
|
3984
|
+
|
3985
|
+
|
3986
|
+
if not MYPY:
|
3987
|
+
class TcpMonitorAlertSettingsTimeBasedEscalationArgsDict(TypedDict):
|
3988
|
+
minutes_failing_threshold: NotRequired[pulumi.Input[int]]
|
3989
|
+
"""
|
3990
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
3991
|
+
"""
|
3992
|
+
elif False:
|
3993
|
+
TcpMonitorAlertSettingsTimeBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
3994
|
+
|
3995
|
+
@pulumi.input_type
|
3996
|
+
class TcpMonitorAlertSettingsTimeBasedEscalationArgs:
|
3997
|
+
def __init__(__self__, *,
|
3998
|
+
minutes_failing_threshold: Optional[pulumi.Input[int]] = None):
|
3999
|
+
"""
|
4000
|
+
:param pulumi.Input[int] minutes_failing_threshold: After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
4001
|
+
"""
|
4002
|
+
if minutes_failing_threshold is not None:
|
4003
|
+
pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
|
4004
|
+
|
4005
|
+
@property
|
4006
|
+
@pulumi.getter(name="minutesFailingThreshold")
|
4007
|
+
def minutes_failing_threshold(self) -> Optional[pulumi.Input[int]]:
|
4008
|
+
"""
|
4009
|
+
After how many minutes after a check starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
4010
|
+
"""
|
4011
|
+
return pulumi.get(self, "minutes_failing_threshold")
|
4012
|
+
|
4013
|
+
@minutes_failing_threshold.setter
|
4014
|
+
def minutes_failing_threshold(self, value: Optional[pulumi.Input[int]]):
|
4015
|
+
pulumi.set(self, "minutes_failing_threshold", value)
|
4016
|
+
|
4017
|
+
|
4018
|
+
if not MYPY:
|
4019
|
+
class TcpMonitorRequestArgsDict(TypedDict):
|
4020
|
+
hostname: pulumi.Input[str]
|
4021
|
+
"""
|
4022
|
+
The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
2558
4023
|
"""
|
2559
|
-
|
4024
|
+
port: pulumi.Input[int]
|
2560
4025
|
"""
|
2561
|
-
|
4026
|
+
The port number to connect to.
|
4027
|
+
"""
|
4028
|
+
assertions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpMonitorRequestAssertionArgsDict']]]]
|
4029
|
+
"""
|
4030
|
+
A request can have multiple assertions.
|
4031
|
+
"""
|
4032
|
+
data: NotRequired[pulumi.Input[str]]
|
4033
|
+
"""
|
4034
|
+
The data to send to the target host.
|
4035
|
+
"""
|
4036
|
+
ip_family: NotRequired[pulumi.Input[str]]
|
4037
|
+
"""
|
4038
|
+
The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
2562
4039
|
"""
|
2563
4040
|
elif False:
|
2564
|
-
|
4041
|
+
TcpMonitorRequestArgsDict: TypeAlias = Mapping[str, Any]
|
2565
4042
|
|
2566
4043
|
@pulumi.input_type
|
2567
|
-
class
|
4044
|
+
class TcpMonitorRequestArgs:
|
2568
4045
|
def __init__(__self__, *,
|
2569
|
-
|
2570
|
-
|
4046
|
+
hostname: pulumi.Input[str],
|
4047
|
+
port: pulumi.Input[int],
|
4048
|
+
assertions: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorRequestAssertionArgs']]]] = None,
|
4049
|
+
data: Optional[pulumi.Input[str]] = None,
|
4050
|
+
ip_family: Optional[pulumi.Input[str]] = None):
|
2571
4051
|
"""
|
2572
|
-
:param pulumi.Input[str]
|
2573
|
-
:param pulumi.Input[
|
4052
|
+
:param pulumi.Input[str] hostname: The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
4053
|
+
:param pulumi.Input[int] port: The port number to connect to.
|
4054
|
+
:param pulumi.Input[Sequence[pulumi.Input['TcpMonitorRequestAssertionArgs']]] assertions: A request can have multiple assertions.
|
4055
|
+
:param pulumi.Input[str] data: The data to send to the target host.
|
4056
|
+
:param pulumi.Input[str] ip_family: The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
2574
4057
|
"""
|
2575
|
-
pulumi.set(__self__, "
|
2576
|
-
pulumi.set(__self__, "
|
4058
|
+
pulumi.set(__self__, "hostname", hostname)
|
4059
|
+
pulumi.set(__self__, "port", port)
|
4060
|
+
if assertions is not None:
|
4061
|
+
pulumi.set(__self__, "assertions", assertions)
|
4062
|
+
if data is not None:
|
4063
|
+
pulumi.set(__self__, "data", data)
|
4064
|
+
if ip_family is not None:
|
4065
|
+
pulumi.set(__self__, "ip_family", ip_family)
|
2577
4066
|
|
2578
4067
|
@property
|
2579
4068
|
@pulumi.getter
|
2580
|
-
def
|
4069
|
+
def hostname(self) -> pulumi.Input[str]:
|
2581
4070
|
"""
|
2582
|
-
The
|
4071
|
+
The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
2583
4072
|
"""
|
2584
|
-
return pulumi.get(self, "
|
4073
|
+
return pulumi.get(self, "hostname")
|
2585
4074
|
|
2586
|
-
@
|
2587
|
-
def
|
2588
|
-
pulumi.set(self, "
|
4075
|
+
@hostname.setter
|
4076
|
+
def hostname(self, value: pulumi.Input[str]):
|
4077
|
+
pulumi.set(self, "hostname", value)
|
2589
4078
|
|
2590
4079
|
@property
|
2591
|
-
@pulumi.getter
|
2592
|
-
def
|
4080
|
+
@pulumi.getter
|
4081
|
+
def port(self) -> pulumi.Input[int]:
|
2593
4082
|
"""
|
2594
|
-
|
4083
|
+
The port number to connect to.
|
2595
4084
|
"""
|
2596
|
-
return pulumi.get(self, "
|
4085
|
+
return pulumi.get(self, "port")
|
2597
4086
|
|
2598
|
-
@
|
2599
|
-
def
|
2600
|
-
pulumi.set(self, "
|
4087
|
+
@port.setter
|
4088
|
+
def port(self, value: pulumi.Input[int]):
|
4089
|
+
pulumi.set(self, "port", value)
|
4090
|
+
|
4091
|
+
@property
|
4092
|
+
@pulumi.getter
|
4093
|
+
def assertions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorRequestAssertionArgs']]]]:
|
4094
|
+
"""
|
4095
|
+
A request can have multiple assertions.
|
4096
|
+
"""
|
4097
|
+
return pulumi.get(self, "assertions")
|
4098
|
+
|
4099
|
+
@assertions.setter
|
4100
|
+
def assertions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TcpMonitorRequestAssertionArgs']]]]):
|
4101
|
+
pulumi.set(self, "assertions", value)
|
4102
|
+
|
4103
|
+
@property
|
4104
|
+
@pulumi.getter
|
4105
|
+
def data(self) -> Optional[pulumi.Input[str]]:
|
4106
|
+
"""
|
4107
|
+
The data to send to the target host.
|
4108
|
+
"""
|
4109
|
+
return pulumi.get(self, "data")
|
4110
|
+
|
4111
|
+
@data.setter
|
4112
|
+
def data(self, value: Optional[pulumi.Input[str]]):
|
4113
|
+
pulumi.set(self, "data", value)
|
4114
|
+
|
4115
|
+
@property
|
4116
|
+
@pulumi.getter(name="ipFamily")
|
4117
|
+
def ip_family(self) -> Optional[pulumi.Input[str]]:
|
4118
|
+
"""
|
4119
|
+
The IP family to use when executing the TCP check. The value can be either `IPv4` or `IPv6`.
|
4120
|
+
"""
|
4121
|
+
return pulumi.get(self, "ip_family")
|
4122
|
+
|
4123
|
+
@ip_family.setter
|
4124
|
+
def ip_family(self, value: Optional[pulumi.Input[str]]):
|
4125
|
+
pulumi.set(self, "ip_family", value)
|
2601
4126
|
|
2602
4127
|
|
2603
4128
|
if not MYPY:
|
2604
|
-
class
|
2605
|
-
|
4129
|
+
class TcpMonitorRequestAssertionArgsDict(TypedDict):
|
4130
|
+
comparison: pulumi.Input[str]
|
2606
4131
|
"""
|
2607
|
-
The
|
4132
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
4133
|
+
"""
|
4134
|
+
source: pulumi.Input[str]
|
4135
|
+
"""
|
4136
|
+
The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
2608
4137
|
"""
|
4138
|
+
property: NotRequired[pulumi.Input[str]]
|
4139
|
+
target: NotRequired[pulumi.Input[str]]
|
2609
4140
|
elif False:
|
2610
|
-
|
4141
|
+
TcpMonitorRequestAssertionArgsDict: TypeAlias = Mapping[str, Any]
|
4142
|
+
|
4143
|
+
@pulumi.input_type
|
4144
|
+
class TcpMonitorRequestAssertionArgs:
|
4145
|
+
def __init__(__self__, *,
|
4146
|
+
comparison: pulumi.Input[str],
|
4147
|
+
source: pulumi.Input[str],
|
4148
|
+
property: Optional[pulumi.Input[str]] = None,
|
4149
|
+
target: Optional[pulumi.Input[str]] = None):
|
4150
|
+
"""
|
4151
|
+
:param pulumi.Input[str] comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
4152
|
+
:param pulumi.Input[str] source: The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
4153
|
+
"""
|
4154
|
+
pulumi.set(__self__, "comparison", comparison)
|
4155
|
+
pulumi.set(__self__, "source", source)
|
4156
|
+
if property is not None:
|
4157
|
+
pulumi.set(__self__, "property", property)
|
4158
|
+
if target is not None:
|
4159
|
+
pulumi.set(__self__, "target", target)
|
4160
|
+
|
4161
|
+
@property
|
4162
|
+
@pulumi.getter
|
4163
|
+
def comparison(self) -> pulumi.Input[str]:
|
4164
|
+
"""
|
4165
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `HAS_KEY`, `NOT_HAS_KEY`, `HAS_VALUE`, `NOT_HAS_VALUE`, `IS_EMPTY`, `NOT_EMPTY`, `GREATER_THAN`, `LESS_THAN`, `CONTAINS`, `NOT_CONTAINS`, `IS_NULL`, and `NOT_NULL`.
|
4166
|
+
"""
|
4167
|
+
return pulumi.get(self, "comparison")
|
4168
|
+
|
4169
|
+
@comparison.setter
|
4170
|
+
def comparison(self, value: pulumi.Input[str]):
|
4171
|
+
pulumi.set(self, "comparison", value)
|
4172
|
+
|
4173
|
+
@property
|
4174
|
+
@pulumi.getter
|
4175
|
+
def source(self) -> pulumi.Input[str]:
|
4176
|
+
"""
|
4177
|
+
The source of the asserted value. Possible values are `RESPONSE_DATA` and `RESPONSE_TIME`.
|
4178
|
+
"""
|
4179
|
+
return pulumi.get(self, "source")
|
4180
|
+
|
4181
|
+
@source.setter
|
4182
|
+
def source(self, value: pulumi.Input[str]):
|
4183
|
+
pulumi.set(self, "source", value)
|
4184
|
+
|
4185
|
+
@property
|
4186
|
+
@pulumi.getter
|
4187
|
+
def target(self) -> Optional[pulumi.Input[str]]:
|
4188
|
+
return pulumi.get(self, "target")
|
4189
|
+
|
4190
|
+
@target.setter
|
4191
|
+
def target(self, value: Optional[pulumi.Input[str]]):
|
4192
|
+
pulumi.set(self, "target", value)
|
4193
|
+
|
4194
|
+
@property
|
4195
|
+
@pulumi.getter
|
4196
|
+
def property(self) -> Optional[pulumi.Input[str]]:
|
4197
|
+
return pulumi.get(self, "property")
|
4198
|
+
|
4199
|
+
@property.setter
|
4200
|
+
def property(self, value: Optional[pulumi.Input[str]]):
|
4201
|
+
pulumi.set(self, "property", value)
|
4202
|
+
|
4203
|
+
|
4204
|
+
if not MYPY:
|
4205
|
+
class TcpMonitorRetryStrategyArgsDict(TypedDict):
|
4206
|
+
type: pulumi.Input[str]
|
4207
|
+
"""
|
4208
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
4209
|
+
"""
|
4210
|
+
base_backoff_seconds: NotRequired[pulumi.Input[int]]
|
4211
|
+
"""
|
4212
|
+
The number of seconds to wait before the first retry attempt.
|
4213
|
+
"""
|
4214
|
+
max_duration_seconds: NotRequired[pulumi.Input[int]]
|
4215
|
+
"""
|
4216
|
+
The total amount of time to continue retrying the check (maximum 600 seconds).
|
4217
|
+
"""
|
4218
|
+
max_retries: NotRequired[pulumi.Input[int]]
|
4219
|
+
"""
|
4220
|
+
The maximum number of times to retry the check. Value must be between 1 and 10.
|
4221
|
+
"""
|
4222
|
+
same_region: NotRequired[pulumi.Input[bool]]
|
4223
|
+
"""
|
4224
|
+
Whether retries should be run in the same region as the initial check run.
|
4225
|
+
"""
|
4226
|
+
elif False:
|
4227
|
+
TcpMonitorRetryStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
4228
|
+
|
4229
|
+
@pulumi.input_type
|
4230
|
+
class TcpMonitorRetryStrategyArgs:
|
4231
|
+
def __init__(__self__, *,
|
4232
|
+
type: pulumi.Input[str],
|
4233
|
+
base_backoff_seconds: Optional[pulumi.Input[int]] = None,
|
4234
|
+
max_duration_seconds: Optional[pulumi.Input[int]] = None,
|
4235
|
+
max_retries: Optional[pulumi.Input[int]] = None,
|
4236
|
+
same_region: Optional[pulumi.Input[bool]] = None):
|
4237
|
+
"""
|
4238
|
+
:param pulumi.Input[str] type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
4239
|
+
:param pulumi.Input[int] base_backoff_seconds: The number of seconds to wait before the first retry attempt.
|
4240
|
+
:param pulumi.Input[int] max_duration_seconds: The total amount of time to continue retrying the check (maximum 600 seconds).
|
4241
|
+
:param pulumi.Input[int] max_retries: The maximum number of times to retry the check. Value must be between 1 and 10.
|
4242
|
+
:param pulumi.Input[bool] same_region: Whether retries should be run in the same region as the initial check run.
|
4243
|
+
"""
|
4244
|
+
pulumi.set(__self__, "type", type)
|
4245
|
+
if base_backoff_seconds is not None:
|
4246
|
+
pulumi.set(__self__, "base_backoff_seconds", base_backoff_seconds)
|
4247
|
+
if max_duration_seconds is not None:
|
4248
|
+
pulumi.set(__self__, "max_duration_seconds", max_duration_seconds)
|
4249
|
+
if max_retries is not None:
|
4250
|
+
pulumi.set(__self__, "max_retries", max_retries)
|
4251
|
+
if same_region is not None:
|
4252
|
+
pulumi.set(__self__, "same_region", same_region)
|
4253
|
+
|
4254
|
+
@property
|
4255
|
+
@pulumi.getter
|
4256
|
+
def type(self) -> pulumi.Input[str]:
|
4257
|
+
"""
|
4258
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, or `EXPONENTIAL`.
|
4259
|
+
"""
|
4260
|
+
return pulumi.get(self, "type")
|
4261
|
+
|
4262
|
+
@type.setter
|
4263
|
+
def type(self, value: pulumi.Input[str]):
|
4264
|
+
pulumi.set(self, "type", value)
|
4265
|
+
|
4266
|
+
@property
|
4267
|
+
@pulumi.getter(name="baseBackoffSeconds")
|
4268
|
+
def base_backoff_seconds(self) -> Optional[pulumi.Input[int]]:
|
4269
|
+
"""
|
4270
|
+
The number of seconds to wait before the first retry attempt.
|
4271
|
+
"""
|
4272
|
+
return pulumi.get(self, "base_backoff_seconds")
|
4273
|
+
|
4274
|
+
@base_backoff_seconds.setter
|
4275
|
+
def base_backoff_seconds(self, value: Optional[pulumi.Input[int]]):
|
4276
|
+
pulumi.set(self, "base_backoff_seconds", value)
|
4277
|
+
|
4278
|
+
@property
|
4279
|
+
@pulumi.getter(name="maxDurationSeconds")
|
4280
|
+
def max_duration_seconds(self) -> Optional[pulumi.Input[int]]:
|
4281
|
+
"""
|
4282
|
+
The total amount of time to continue retrying the check (maximum 600 seconds).
|
4283
|
+
"""
|
4284
|
+
return pulumi.get(self, "max_duration_seconds")
|
4285
|
+
|
4286
|
+
@max_duration_seconds.setter
|
4287
|
+
def max_duration_seconds(self, value: Optional[pulumi.Input[int]]):
|
4288
|
+
pulumi.set(self, "max_duration_seconds", value)
|
2611
4289
|
|
2612
|
-
@
|
2613
|
-
|
2614
|
-
def
|
2615
|
-
service_id: pulumi.Input[str]):
|
4290
|
+
@property
|
4291
|
+
@pulumi.getter(name="maxRetries")
|
4292
|
+
def max_retries(self) -> Optional[pulumi.Input[int]]:
|
2616
4293
|
"""
|
2617
|
-
|
4294
|
+
The maximum number of times to retry the check. Value must be between 1 and 10.
|
2618
4295
|
"""
|
2619
|
-
pulumi.
|
4296
|
+
return pulumi.get(self, "max_retries")
|
4297
|
+
|
4298
|
+
@max_retries.setter
|
4299
|
+
def max_retries(self, value: Optional[pulumi.Input[int]]):
|
4300
|
+
pulumi.set(self, "max_retries", value)
|
2620
4301
|
|
2621
4302
|
@property
|
2622
|
-
@pulumi.getter(name="
|
2623
|
-
def
|
4303
|
+
@pulumi.getter(name="sameRegion")
|
4304
|
+
def same_region(self) -> Optional[pulumi.Input[bool]]:
|
2624
4305
|
"""
|
2625
|
-
|
4306
|
+
Whether retries should be run in the same region as the initial check run.
|
2626
4307
|
"""
|
2627
|
-
return pulumi.get(self, "
|
4308
|
+
return pulumi.get(self, "same_region")
|
2628
4309
|
|
2629
|
-
@
|
2630
|
-
def
|
2631
|
-
pulumi.set(self, "
|
4310
|
+
@same_region.setter
|
4311
|
+
def same_region(self, value: Optional[pulumi.Input[bool]]):
|
4312
|
+
pulumi.set(self, "same_region", value)
|
2632
4313
|
|
2633
4314
|
|
2634
4315
|
if not MYPY:
|
2635
|
-
class
|
4316
|
+
class UrlMonitorAlertChannelSubscriptionArgsDict(TypedDict):
|
2636
4317
|
activated: pulumi.Input[bool]
|
4318
|
+
"""
|
4319
|
+
Whether an alert should be sent to this channel.
|
4320
|
+
"""
|
2637
4321
|
channel_id: pulumi.Input[int]
|
4322
|
+
"""
|
4323
|
+
The ID of the alert channel.
|
4324
|
+
"""
|
2638
4325
|
elif False:
|
2639
|
-
|
4326
|
+
UrlMonitorAlertChannelSubscriptionArgsDict: TypeAlias = Mapping[str, Any]
|
2640
4327
|
|
2641
4328
|
@pulumi.input_type
|
2642
|
-
class
|
4329
|
+
class UrlMonitorAlertChannelSubscriptionArgs:
|
2643
4330
|
def __init__(__self__, *,
|
2644
4331
|
activated: pulumi.Input[bool],
|
2645
4332
|
channel_id: pulumi.Input[int]):
|
4333
|
+
"""
|
4334
|
+
:param pulumi.Input[bool] activated: Whether an alert should be sent to this channel.
|
4335
|
+
:param pulumi.Input[int] channel_id: The ID of the alert channel.
|
4336
|
+
"""
|
2646
4337
|
pulumi.set(__self__, "activated", activated)
|
2647
4338
|
pulumi.set(__self__, "channel_id", channel_id)
|
2648
4339
|
|
2649
4340
|
@property
|
2650
4341
|
@pulumi.getter
|
2651
4342
|
def activated(self) -> pulumi.Input[bool]:
|
4343
|
+
"""
|
4344
|
+
Whether an alert should be sent to this channel.
|
4345
|
+
"""
|
2652
4346
|
return pulumi.get(self, "activated")
|
2653
4347
|
|
2654
4348
|
@activated.setter
|
@@ -2658,6 +4352,9 @@ class TcpCheckAlertChannelSubscriptionArgs:
|
|
2658
4352
|
@property
|
2659
4353
|
@pulumi.getter(name="channelId")
|
2660
4354
|
def channel_id(self) -> pulumi.Input[int]:
|
4355
|
+
"""
|
4356
|
+
The ID of the alert channel.
|
4357
|
+
"""
|
2661
4358
|
return pulumi.get(self, "channel_id")
|
2662
4359
|
|
2663
4360
|
@channel_id.setter
|
@@ -2666,31 +4363,46 @@ class TcpCheckAlertChannelSubscriptionArgs:
|
|
2666
4363
|
|
2667
4364
|
|
2668
4365
|
if not MYPY:
|
2669
|
-
class
|
2670
|
-
escalation_type:
|
4366
|
+
class UrlMonitorAlertSettingsArgsDict(TypedDict):
|
4367
|
+
escalation_type: pulumi.Input[str]
|
2671
4368
|
"""
|
2672
|
-
Determines what type of escalation to use. Possible values are `RUN_BASED`
|
4369
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
|
4370
|
+
"""
|
4371
|
+
parallel_run_failure_thresholds: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsParallelRunFailureThresholdArgsDict']]]]
|
4372
|
+
"""
|
4373
|
+
Configuration for parallel run failure threshold.
|
4374
|
+
"""
|
4375
|
+
reminders: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsReminderArgsDict']]]]
|
4376
|
+
"""
|
4377
|
+
Defines how often to send reminder notifications after initial alert.
|
4378
|
+
"""
|
4379
|
+
run_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsRunBasedEscalationArgsDict']]]]
|
4380
|
+
"""
|
4381
|
+
Configuration for run-based escalation.
|
4382
|
+
"""
|
4383
|
+
time_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsTimeBasedEscalationArgsDict']]]]
|
4384
|
+
"""
|
4385
|
+
Configuration for time-based escalation.
|
2673
4386
|
"""
|
2674
|
-
parallel_run_failure_thresholds: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsParallelRunFailureThresholdArgsDict']]]]
|
2675
|
-
reminders: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsReminderArgsDict']]]]
|
2676
|
-
run_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsRunBasedEscalationArgsDict']]]]
|
2677
|
-
time_based_escalations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TcpCheckAlertSettingsTimeBasedEscalationArgsDict']]]]
|
2678
4387
|
elif False:
|
2679
|
-
|
4388
|
+
UrlMonitorAlertSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
2680
4389
|
|
2681
4390
|
@pulumi.input_type
|
2682
|
-
class
|
4391
|
+
class UrlMonitorAlertSettingsArgs:
|
2683
4392
|
def __init__(__self__, *,
|
2684
|
-
escalation_type:
|
2685
|
-
parallel_run_failure_thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['
|
2686
|
-
reminders: Optional[pulumi.Input[Sequence[pulumi.Input['
|
2687
|
-
run_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['
|
2688
|
-
time_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['
|
2689
|
-
"""
|
2690
|
-
:param pulumi.Input[str] escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED`
|
2691
|
-
|
2692
|
-
|
2693
|
-
|
4393
|
+
escalation_type: pulumi.Input[str],
|
4394
|
+
parallel_run_failure_thresholds: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsParallelRunFailureThresholdArgs']]]] = None,
|
4395
|
+
reminders: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsReminderArgs']]]] = None,
|
4396
|
+
run_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsRunBasedEscalationArgs']]]] = None,
|
4397
|
+
time_based_escalations: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsTimeBasedEscalationArgs']]]] = None):
|
4398
|
+
"""
|
4399
|
+
:param pulumi.Input[str] escalation_type: Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
|
4400
|
+
:param pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsParallelRunFailureThresholdArgs']]] parallel_run_failure_thresholds: Configuration for parallel run failure threshold.
|
4401
|
+
:param pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsReminderArgs']]] reminders: Defines how often to send reminder notifications after initial alert.
|
4402
|
+
:param pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsRunBasedEscalationArgs']]] run_based_escalations: Configuration for run-based escalation.
|
4403
|
+
:param pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsTimeBasedEscalationArgs']]] time_based_escalations: Configuration for time-based escalation.
|
4404
|
+
"""
|
4405
|
+
pulumi.set(__self__, "escalation_type", escalation_type)
|
2694
4406
|
if parallel_run_failure_thresholds is not None:
|
2695
4407
|
pulumi.set(__self__, "parallel_run_failure_thresholds", parallel_run_failure_thresholds)
|
2696
4408
|
if reminders is not None:
|
@@ -2702,74 +4414,86 @@ class TcpCheckAlertSettingsArgs:
|
|
2702
4414
|
|
2703
4415
|
@property
|
2704
4416
|
@pulumi.getter(name="escalationType")
|
2705
|
-
def escalation_type(self) ->
|
4417
|
+
def escalation_type(self) -> pulumi.Input[str]:
|
2706
4418
|
"""
|
2707
|
-
Determines what type of escalation to use. Possible values are `RUN_BASED`
|
4419
|
+
Determines what type of escalation to use. Possible values are `RUN_BASED` and `TIME_BASED`.
|
2708
4420
|
"""
|
2709
4421
|
return pulumi.get(self, "escalation_type")
|
2710
4422
|
|
2711
4423
|
@escalation_type.setter
|
2712
|
-
def escalation_type(self, value:
|
4424
|
+
def escalation_type(self, value: pulumi.Input[str]):
|
2713
4425
|
pulumi.set(self, "escalation_type", value)
|
2714
4426
|
|
2715
4427
|
@property
|
2716
4428
|
@pulumi.getter(name="parallelRunFailureThresholds")
|
2717
|
-
def parallel_run_failure_thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
4429
|
+
def parallel_run_failure_thresholds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]:
|
4430
|
+
"""
|
4431
|
+
Configuration for parallel run failure threshold.
|
4432
|
+
"""
|
2718
4433
|
return pulumi.get(self, "parallel_run_failure_thresholds")
|
2719
4434
|
|
2720
4435
|
@parallel_run_failure_thresholds.setter
|
2721
|
-
def parallel_run_failure_thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
4436
|
+
def parallel_run_failure_thresholds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsParallelRunFailureThresholdArgs']]]]):
|
2722
4437
|
pulumi.set(self, "parallel_run_failure_thresholds", value)
|
2723
4438
|
|
2724
4439
|
@property
|
2725
4440
|
@pulumi.getter
|
2726
|
-
def reminders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
4441
|
+
def reminders(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsReminderArgs']]]]:
|
4442
|
+
"""
|
4443
|
+
Defines how often to send reminder notifications after initial alert.
|
4444
|
+
"""
|
2727
4445
|
return pulumi.get(self, "reminders")
|
2728
4446
|
|
2729
4447
|
@reminders.setter
|
2730
|
-
def reminders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
4448
|
+
def reminders(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsReminderArgs']]]]):
|
2731
4449
|
pulumi.set(self, "reminders", value)
|
2732
4450
|
|
2733
4451
|
@property
|
2734
4452
|
@pulumi.getter(name="runBasedEscalations")
|
2735
|
-
def run_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
4453
|
+
def run_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsRunBasedEscalationArgs']]]]:
|
4454
|
+
"""
|
4455
|
+
Configuration for run-based escalation.
|
4456
|
+
"""
|
2736
4457
|
return pulumi.get(self, "run_based_escalations")
|
2737
4458
|
|
2738
4459
|
@run_based_escalations.setter
|
2739
|
-
def run_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
4460
|
+
def run_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsRunBasedEscalationArgs']]]]):
|
2740
4461
|
pulumi.set(self, "run_based_escalations", value)
|
2741
4462
|
|
2742
4463
|
@property
|
2743
4464
|
@pulumi.getter(name="timeBasedEscalations")
|
2744
|
-
def time_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
4465
|
+
def time_based_escalations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsTimeBasedEscalationArgs']]]]:
|
4466
|
+
"""
|
4467
|
+
Configuration for time-based escalation.
|
4468
|
+
"""
|
2745
4469
|
return pulumi.get(self, "time_based_escalations")
|
2746
4470
|
|
2747
4471
|
@time_based_escalations.setter
|
2748
|
-
def time_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
4472
|
+
def time_based_escalations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorAlertSettingsTimeBasedEscalationArgs']]]]):
|
2749
4473
|
pulumi.set(self, "time_based_escalations", value)
|
2750
4474
|
|
2751
4475
|
|
2752
4476
|
if not MYPY:
|
2753
|
-
class
|
4477
|
+
class UrlMonitorAlertSettingsParallelRunFailureThresholdArgsDict(TypedDict):
|
2754
4478
|
enabled: NotRequired[pulumi.Input[bool]]
|
2755
4479
|
"""
|
2756
|
-
Applicable only for
|
4480
|
+
Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
|
2757
4481
|
"""
|
2758
4482
|
percentage: NotRequired[pulumi.Input[int]]
|
2759
4483
|
"""
|
2760
|
-
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
4484
|
+
Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
2761
4485
|
"""
|
2762
4486
|
elif False:
|
2763
|
-
|
4487
|
+
UrlMonitorAlertSettingsParallelRunFailureThresholdArgsDict: TypeAlias = Mapping[str, Any]
|
2764
4488
|
|
2765
4489
|
@pulumi.input_type
|
2766
|
-
class
|
4490
|
+
class UrlMonitorAlertSettingsParallelRunFailureThresholdArgs:
|
2767
4491
|
def __init__(__self__, *,
|
2768
4492
|
enabled: Optional[pulumi.Input[bool]] = None,
|
2769
4493
|
percentage: Optional[pulumi.Input[int]] = None):
|
2770
4494
|
"""
|
2771
|
-
:param pulumi.Input[bool] enabled: Applicable only for
|
2772
|
-
:param pulumi.Input[int] percentage: Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
4495
|
+
:param pulumi.Input[bool] enabled: Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
|
4496
|
+
:param pulumi.Input[int] percentage: Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
2773
4497
|
"""
|
2774
4498
|
if enabled is not None:
|
2775
4499
|
pulumi.set(__self__, "enabled", enabled)
|
@@ -2780,7 +4504,7 @@ class TcpCheckAlertSettingsParallelRunFailureThresholdArgs:
|
|
2780
4504
|
@pulumi.getter
|
2781
4505
|
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
2782
4506
|
"""
|
2783
|
-
Applicable only for
|
4507
|
+
Whether parallel run failure threshold is enabled. Applicable only for monitors scheduled in parallel in multiple locations. (Default `false`).
|
2784
4508
|
"""
|
2785
4509
|
return pulumi.get(self, "enabled")
|
2786
4510
|
|
@@ -2792,7 +4516,7 @@ class TcpCheckAlertSettingsParallelRunFailureThresholdArgs:
|
|
2792
4516
|
@pulumi.getter
|
2793
4517
|
def percentage(self) -> Optional[pulumi.Input[int]]:
|
2794
4518
|
"""
|
2795
|
-
Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `
|
4519
|
+
Percentage of runs that must fail to trigger alert. Possible values are `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90`, and `100`. (Default `10`).
|
2796
4520
|
"""
|
2797
4521
|
return pulumi.get(self, "percentage")
|
2798
4522
|
|
@@ -2802,26 +4526,26 @@ class TcpCheckAlertSettingsParallelRunFailureThresholdArgs:
|
|
2802
4526
|
|
2803
4527
|
|
2804
4528
|
if not MYPY:
|
2805
|
-
class
|
4529
|
+
class UrlMonitorAlertSettingsReminderArgsDict(TypedDict):
|
2806
4530
|
amount: NotRequired[pulumi.Input[int]]
|
2807
4531
|
"""
|
2808
|
-
|
4532
|
+
Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
2809
4533
|
"""
|
2810
4534
|
interval: NotRequired[pulumi.Input[int]]
|
2811
4535
|
"""
|
2812
|
-
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
4536
|
+
Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2813
4537
|
"""
|
2814
4538
|
elif False:
|
2815
|
-
|
4539
|
+
UrlMonitorAlertSettingsReminderArgsDict: TypeAlias = Mapping[str, Any]
|
2816
4540
|
|
2817
4541
|
@pulumi.input_type
|
2818
|
-
class
|
4542
|
+
class UrlMonitorAlertSettingsReminderArgs:
|
2819
4543
|
def __init__(__self__, *,
|
2820
4544
|
amount: Optional[pulumi.Input[int]] = None,
|
2821
4545
|
interval: Optional[pulumi.Input[int]] = None):
|
2822
4546
|
"""
|
2823
|
-
:param pulumi.Input[int] amount:
|
2824
|
-
:param pulumi.Input[int] interval: Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
4547
|
+
:param pulumi.Input[int] amount: Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
4548
|
+
:param pulumi.Input[int] interval: Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2825
4549
|
"""
|
2826
4550
|
if amount is not None:
|
2827
4551
|
pulumi.set(__self__, "amount", amount)
|
@@ -2832,7 +4556,7 @@ class TcpCheckAlertSettingsReminderArgs:
|
|
2832
4556
|
@pulumi.getter
|
2833
4557
|
def amount(self) -> Optional[pulumi.Input[int]]:
|
2834
4558
|
"""
|
2835
|
-
|
4559
|
+
Number of reminder notifications to send. Possible values are `0`, `1`, `2`, `3`, `4`, `5`, and `100000` (`0` to disable, `100000` for unlimited). (Default `0`).
|
2836
4560
|
"""
|
2837
4561
|
return pulumi.get(self, "amount")
|
2838
4562
|
|
@@ -2844,7 +4568,7 @@ class TcpCheckAlertSettingsReminderArgs:
|
|
2844
4568
|
@pulumi.getter
|
2845
4569
|
def interval(self) -> Optional[pulumi.Input[int]]:
|
2846
4570
|
"""
|
2847
|
-
Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
4571
|
+
Interval between reminder notifications in minutes. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2848
4572
|
"""
|
2849
4573
|
return pulumi.get(self, "interval")
|
2850
4574
|
|
@@ -2854,20 +4578,20 @@ class TcpCheckAlertSettingsReminderArgs:
|
|
2854
4578
|
|
2855
4579
|
|
2856
4580
|
if not MYPY:
|
2857
|
-
class
|
4581
|
+
class UrlMonitorAlertSettingsRunBasedEscalationArgsDict(TypedDict):
|
2858
4582
|
failed_run_threshold: NotRequired[pulumi.Input[int]]
|
2859
4583
|
"""
|
2860
|
-
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5
|
4584
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
|
2861
4585
|
"""
|
2862
4586
|
elif False:
|
2863
|
-
|
4587
|
+
UrlMonitorAlertSettingsRunBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
2864
4588
|
|
2865
4589
|
@pulumi.input_type
|
2866
|
-
class
|
4590
|
+
class UrlMonitorAlertSettingsRunBasedEscalationArgs:
|
2867
4591
|
def __init__(__self__, *,
|
2868
4592
|
failed_run_threshold: Optional[pulumi.Input[int]] = None):
|
2869
4593
|
"""
|
2870
|
-
:param pulumi.Input[int] failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5
|
4594
|
+
:param pulumi.Input[int] failed_run_threshold: After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
|
2871
4595
|
"""
|
2872
4596
|
if failed_run_threshold is not None:
|
2873
4597
|
pulumi.set(__self__, "failed_run_threshold", failed_run_threshold)
|
@@ -2876,7 +4600,7 @@ class TcpCheckAlertSettingsRunBasedEscalationArgs:
|
|
2876
4600
|
@pulumi.getter(name="failedRunThreshold")
|
2877
4601
|
def failed_run_threshold(self) -> Optional[pulumi.Input[int]]:
|
2878
4602
|
"""
|
2879
|
-
After how many failed consecutive check runs an alert notification should be sent. Possible values are between 1 and 5
|
4603
|
+
After how many failed consecutive check runs an alert notification should be sent. Possible values are between `1` and `5`. (Default `1`).
|
2880
4604
|
"""
|
2881
4605
|
return pulumi.get(self, "failed_run_threshold")
|
2882
4606
|
|
@@ -2886,20 +4610,20 @@ class TcpCheckAlertSettingsRunBasedEscalationArgs:
|
|
2886
4610
|
|
2887
4611
|
|
2888
4612
|
if not MYPY:
|
2889
|
-
class
|
4613
|
+
class UrlMonitorAlertSettingsTimeBasedEscalationArgsDict(TypedDict):
|
2890
4614
|
minutes_failing_threshold: NotRequired[pulumi.Input[int]]
|
2891
4615
|
"""
|
2892
|
-
After how many minutes after a
|
4616
|
+
After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2893
4617
|
"""
|
2894
4618
|
elif False:
|
2895
|
-
|
4619
|
+
UrlMonitorAlertSettingsTimeBasedEscalationArgsDict: TypeAlias = Mapping[str, Any]
|
2896
4620
|
|
2897
4621
|
@pulumi.input_type
|
2898
|
-
class
|
4622
|
+
class UrlMonitorAlertSettingsTimeBasedEscalationArgs:
|
2899
4623
|
def __init__(__self__, *,
|
2900
4624
|
minutes_failing_threshold: Optional[pulumi.Input[int]] = None):
|
2901
4625
|
"""
|
2902
|
-
:param pulumi.Input[int] minutes_failing_threshold: After how many minutes after a
|
4626
|
+
:param pulumi.Input[int] minutes_failing_threshold: After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2903
4627
|
"""
|
2904
4628
|
if minutes_failing_threshold is not None:
|
2905
4629
|
pulumi.set(__self__, "minutes_failing_threshold", minutes_failing_threshold)
|
@@ -2908,7 +4632,7 @@ class TcpCheckAlertSettingsTimeBasedEscalationArgs:
|
|
2908
4632
|
@pulumi.getter(name="minutesFailingThreshold")
|
2909
4633
|
def minutes_failing_threshold(self) -> Optional[pulumi.Input[int]]:
|
2910
4634
|
"""
|
2911
|
-
After how many minutes after a
|
4635
|
+
After how many minutes after a monitor starts failing an alert should be sent. Possible values are `5`, `10`, `15`, and `30`. (Default `5`).
|
2912
4636
|
"""
|
2913
4637
|
return pulumi.get(self, "minutes_failing_threshold")
|
2914
4638
|
|
@@ -2918,107 +4642,96 @@ class TcpCheckAlertSettingsTimeBasedEscalationArgs:
|
|
2918
4642
|
|
2919
4643
|
|
2920
4644
|
if not MYPY:
|
2921
|
-
class
|
2922
|
-
|
4645
|
+
class UrlMonitorRequestArgsDict(TypedDict):
|
4646
|
+
url: pulumi.Input[str]
|
2923
4647
|
"""
|
2924
|
-
The
|
4648
|
+
The URL to monitor. Must be a valid HTTP or HTTPS URL.
|
2925
4649
|
"""
|
2926
|
-
|
4650
|
+
assertions: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlMonitorRequestAssertionArgsDict']]]]
|
2927
4651
|
"""
|
2928
|
-
|
4652
|
+
Assertions to validate the HTTP response. URL monitors only support status code assertions.
|
2929
4653
|
"""
|
2930
|
-
|
4654
|
+
follow_redirects: NotRequired[pulumi.Input[bool]]
|
2931
4655
|
"""
|
2932
|
-
|
4656
|
+
Whether to follow HTTP redirects automatically. (Default `true`).
|
2933
4657
|
"""
|
2934
|
-
|
4658
|
+
ip_family: NotRequired[pulumi.Input[str]]
|
2935
4659
|
"""
|
2936
|
-
|
4660
|
+
IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
|
2937
4661
|
"""
|
2938
|
-
|
4662
|
+
skip_ssl: NotRequired[pulumi.Input[bool]]
|
2939
4663
|
"""
|
2940
|
-
|
4664
|
+
Whether to skip SSL certificate verification. (Default `false`).
|
2941
4665
|
"""
|
2942
4666
|
elif False:
|
2943
|
-
|
4667
|
+
UrlMonitorRequestArgsDict: TypeAlias = Mapping[str, Any]
|
2944
4668
|
|
2945
4669
|
@pulumi.input_type
|
2946
|
-
class
|
4670
|
+
class UrlMonitorRequestArgs:
|
2947
4671
|
def __init__(__self__, *,
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
4672
|
+
url: pulumi.Input[str],
|
4673
|
+
assertions: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorRequestAssertionArgs']]]] = None,
|
4674
|
+
follow_redirects: Optional[pulumi.Input[bool]] = None,
|
4675
|
+
ip_family: Optional[pulumi.Input[str]] = None,
|
4676
|
+
skip_ssl: Optional[pulumi.Input[bool]] = None):
|
2953
4677
|
"""
|
2954
|
-
:param pulumi.Input[str]
|
2955
|
-
:param pulumi.Input[
|
2956
|
-
:param pulumi.Input[
|
2957
|
-
:param pulumi.Input[str]
|
2958
|
-
:param pulumi.Input[
|
4678
|
+
:param pulumi.Input[str] url: The URL to monitor. Must be a valid HTTP or HTTPS URL.
|
4679
|
+
:param pulumi.Input[Sequence[pulumi.Input['UrlMonitorRequestAssertionArgs']]] assertions: Assertions to validate the HTTP response. URL monitors only support status code assertions.
|
4680
|
+
:param pulumi.Input[bool] follow_redirects: Whether to follow HTTP redirects automatically. (Default `true`).
|
4681
|
+
:param pulumi.Input[str] ip_family: IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
|
4682
|
+
:param pulumi.Input[bool] skip_ssl: Whether to skip SSL certificate verification. (Default `false`).
|
2959
4683
|
"""
|
2960
|
-
pulumi.set(__self__, "
|
2961
|
-
pulumi.set(__self__, "port", port)
|
4684
|
+
pulumi.set(__self__, "url", url)
|
2962
4685
|
if assertions is not None:
|
2963
4686
|
pulumi.set(__self__, "assertions", assertions)
|
2964
|
-
if
|
2965
|
-
pulumi.set(__self__, "
|
4687
|
+
if follow_redirects is not None:
|
4688
|
+
pulumi.set(__self__, "follow_redirects", follow_redirects)
|
2966
4689
|
if ip_family is not None:
|
2967
4690
|
pulumi.set(__self__, "ip_family", ip_family)
|
4691
|
+
if skip_ssl is not None:
|
4692
|
+
pulumi.set(__self__, "skip_ssl", skip_ssl)
|
2968
4693
|
|
2969
4694
|
@property
|
2970
4695
|
@pulumi.getter
|
2971
|
-
def
|
2972
|
-
"""
|
2973
|
-
The hostname or IP to connect to. Do not include a scheme or a port in this value.
|
2974
|
-
"""
|
2975
|
-
return pulumi.get(self, "hostname")
|
2976
|
-
|
2977
|
-
@hostname.setter
|
2978
|
-
def hostname(self, value: pulumi.Input[str]):
|
2979
|
-
pulumi.set(self, "hostname", value)
|
2980
|
-
|
2981
|
-
@property
|
2982
|
-
@pulumi.getter
|
2983
|
-
def port(self) -> pulumi.Input[int]:
|
4696
|
+
def url(self) -> pulumi.Input[str]:
|
2984
4697
|
"""
|
2985
|
-
The
|
4698
|
+
The URL to monitor. Must be a valid HTTP or HTTPS URL.
|
2986
4699
|
"""
|
2987
|
-
return pulumi.get(self, "
|
4700
|
+
return pulumi.get(self, "url")
|
2988
4701
|
|
2989
|
-
@
|
2990
|
-
def
|
2991
|
-
pulumi.set(self, "
|
4702
|
+
@url.setter
|
4703
|
+
def url(self, value: pulumi.Input[str]):
|
4704
|
+
pulumi.set(self, "url", value)
|
2992
4705
|
|
2993
4706
|
@property
|
2994
4707
|
@pulumi.getter
|
2995
|
-
def assertions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['
|
4708
|
+
def assertions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorRequestAssertionArgs']]]]:
|
2996
4709
|
"""
|
2997
|
-
|
4710
|
+
Assertions to validate the HTTP response. URL monitors only support status code assertions.
|
2998
4711
|
"""
|
2999
4712
|
return pulumi.get(self, "assertions")
|
3000
4713
|
|
3001
4714
|
@assertions.setter
|
3002
|
-
def assertions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['
|
4715
|
+
def assertions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['UrlMonitorRequestAssertionArgs']]]]):
|
3003
4716
|
pulumi.set(self, "assertions", value)
|
3004
4717
|
|
3005
4718
|
@property
|
3006
|
-
@pulumi.getter
|
3007
|
-
def
|
4719
|
+
@pulumi.getter(name="followRedirects")
|
4720
|
+
def follow_redirects(self) -> Optional[pulumi.Input[bool]]:
|
3008
4721
|
"""
|
3009
|
-
|
4722
|
+
Whether to follow HTTP redirects automatically. (Default `true`).
|
3010
4723
|
"""
|
3011
|
-
return pulumi.get(self, "
|
4724
|
+
return pulumi.get(self, "follow_redirects")
|
3012
4725
|
|
3013
|
-
@
|
3014
|
-
def
|
3015
|
-
pulumi.set(self, "
|
4726
|
+
@follow_redirects.setter
|
4727
|
+
def follow_redirects(self, value: Optional[pulumi.Input[bool]]):
|
4728
|
+
pulumi.set(self, "follow_redirects", value)
|
3016
4729
|
|
3017
4730
|
@property
|
3018
4731
|
@pulumi.getter(name="ipFamily")
|
3019
4732
|
def ip_family(self) -> Optional[pulumi.Input[str]]:
|
3020
4733
|
"""
|
3021
|
-
|
4734
|
+
IP family version to use for the connection. The value can be either `IPv4` or `IPv6`. (Default `IPv4`).
|
3022
4735
|
"""
|
3023
4736
|
return pulumi.get(self, "ip_family")
|
3024
4737
|
|
@@ -3026,45 +4739,60 @@ class TcpCheckRequestArgs:
|
|
3026
4739
|
def ip_family(self, value: Optional[pulumi.Input[str]]):
|
3027
4740
|
pulumi.set(self, "ip_family", value)
|
3028
4741
|
|
4742
|
+
@property
|
4743
|
+
@pulumi.getter(name="skipSsl")
|
4744
|
+
def skip_ssl(self) -> Optional[pulumi.Input[bool]]:
|
4745
|
+
"""
|
4746
|
+
Whether to skip SSL certificate verification. (Default `false`).
|
4747
|
+
"""
|
4748
|
+
return pulumi.get(self, "skip_ssl")
|
4749
|
+
|
4750
|
+
@skip_ssl.setter
|
4751
|
+
def skip_ssl(self, value: Optional[pulumi.Input[bool]]):
|
4752
|
+
pulumi.set(self, "skip_ssl", value)
|
4753
|
+
|
3029
4754
|
|
3030
4755
|
if not MYPY:
|
3031
|
-
class
|
4756
|
+
class UrlMonitorRequestAssertionArgsDict(TypedDict):
|
3032
4757
|
comparison: pulumi.Input[str]
|
3033
4758
|
"""
|
3034
|
-
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `
|
4759
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
|
3035
4760
|
"""
|
3036
4761
|
source: pulumi.Input[str]
|
3037
4762
|
"""
|
3038
|
-
The source of the asserted value.
|
4763
|
+
The source of the asserted value. The only allowed value is `STATUS_CODE`.
|
4764
|
+
"""
|
4765
|
+
target: pulumi.Input[str]
|
4766
|
+
"""
|
4767
|
+
The target value. Typically `200` when the source is `STATUS_CODE`.
|
3039
4768
|
"""
|
3040
4769
|
property: NotRequired[pulumi.Input[str]]
|
3041
|
-
target: NotRequired[pulumi.Input[str]]
|
3042
4770
|
elif False:
|
3043
|
-
|
4771
|
+
UrlMonitorRequestAssertionArgsDict: TypeAlias = Mapping[str, Any]
|
3044
4772
|
|
3045
4773
|
@pulumi.input_type
|
3046
|
-
class
|
4774
|
+
class UrlMonitorRequestAssertionArgs:
|
3047
4775
|
def __init__(__self__, *,
|
3048
4776
|
comparison: pulumi.Input[str],
|
3049
4777
|
source: pulumi.Input[str],
|
3050
|
-
|
3051
|
-
|
4778
|
+
target: pulumi.Input[str],
|
4779
|
+
property: Optional[pulumi.Input[str]] = None):
|
3052
4780
|
"""
|
3053
|
-
:param pulumi.Input[str] comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `
|
3054
|
-
:param pulumi.Input[str] source: The source of the asserted value.
|
4781
|
+
:param pulumi.Input[str] comparison: The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
|
4782
|
+
:param pulumi.Input[str] source: The source of the asserted value. The only allowed value is `STATUS_CODE`.
|
4783
|
+
:param pulumi.Input[str] target: The target value. Typically `200` when the source is `STATUS_CODE`.
|
3055
4784
|
"""
|
3056
4785
|
pulumi.set(__self__, "comparison", comparison)
|
3057
4786
|
pulumi.set(__self__, "source", source)
|
4787
|
+
pulumi.set(__self__, "target", target)
|
3058
4788
|
if property is not None:
|
3059
4789
|
pulumi.set(__self__, "property", property)
|
3060
|
-
if target is not None:
|
3061
|
-
pulumi.set(__self__, "target", target)
|
3062
4790
|
|
3063
4791
|
@property
|
3064
4792
|
@pulumi.getter
|
3065
4793
|
def comparison(self) -> pulumi.Input[str]:
|
3066
4794
|
"""
|
3067
|
-
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `
|
4795
|
+
The type of comparison to be executed between expected and actual value of the assertion. Possible values are `EQUALS`, `NOT_EQUALS`, `GREATER_THAN` and `LESS_THAN`.
|
3068
4796
|
"""
|
3069
4797
|
return pulumi.get(self, "comparison")
|
3070
4798
|
|
@@ -3076,7 +4804,7 @@ class TcpCheckRequestAssertionArgs:
|
|
3076
4804
|
@pulumi.getter
|
3077
4805
|
def source(self) -> pulumi.Input[str]:
|
3078
4806
|
"""
|
3079
|
-
The source of the asserted value.
|
4807
|
+
The source of the asserted value. The only allowed value is `STATUS_CODE`.
|
3080
4808
|
"""
|
3081
4809
|
return pulumi.get(self, "source")
|
3082
4810
|
|
@@ -3086,11 +4814,14 @@ class TcpCheckRequestAssertionArgs:
|
|
3086
4814
|
|
3087
4815
|
@property
|
3088
4816
|
@pulumi.getter
|
3089
|
-
def target(self) ->
|
4817
|
+
def target(self) -> pulumi.Input[str]:
|
4818
|
+
"""
|
4819
|
+
The target value. Typically `200` when the source is `STATUS_CODE`.
|
4820
|
+
"""
|
3090
4821
|
return pulumi.get(self, "target")
|
3091
4822
|
|
3092
4823
|
@target.setter
|
3093
|
-
def target(self, value:
|
4824
|
+
def target(self, value: pulumi.Input[str]):
|
3094
4825
|
pulumi.set(self, "target", value)
|
3095
4826
|
|
3096
4827
|
@property
|
@@ -3104,32 +4835,32 @@ class TcpCheckRequestAssertionArgs:
|
|
3104
4835
|
|
3105
4836
|
|
3106
4837
|
if not MYPY:
|
3107
|
-
class
|
4838
|
+
class UrlMonitorRetryStrategyArgsDict(TypedDict):
|
3108
4839
|
type: pulumi.Input[str]
|
3109
4840
|
"""
|
3110
|
-
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
4841
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
|
3111
4842
|
"""
|
3112
4843
|
base_backoff_seconds: NotRequired[pulumi.Input[int]]
|
3113
4844
|
"""
|
3114
|
-
The number of seconds to wait before the first retry attempt.
|
4845
|
+
The number of seconds to wait before the first retry attempt. (Default `60`).
|
3115
4846
|
"""
|
3116
4847
|
max_duration_seconds: NotRequired[pulumi.Input[int]]
|
3117
4848
|
"""
|
3118
|
-
The total amount of time to continue retrying the
|
4849
|
+
The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
|
3119
4850
|
"""
|
3120
4851
|
max_retries: NotRequired[pulumi.Input[int]]
|
3121
4852
|
"""
|
3122
|
-
The maximum number of times to retry the
|
4853
|
+
The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
|
3123
4854
|
"""
|
3124
4855
|
same_region: NotRequired[pulumi.Input[bool]]
|
3125
4856
|
"""
|
3126
|
-
Whether retries should be run in the same region as the initial
|
4857
|
+
Whether retries should be run in the same region as the initial monitor run. (Default `true`).
|
3127
4858
|
"""
|
3128
4859
|
elif False:
|
3129
|
-
|
4860
|
+
UrlMonitorRetryStrategyArgsDict: TypeAlias = Mapping[str, Any]
|
3130
4861
|
|
3131
4862
|
@pulumi.input_type
|
3132
|
-
class
|
4863
|
+
class UrlMonitorRetryStrategyArgs:
|
3133
4864
|
def __init__(__self__, *,
|
3134
4865
|
type: pulumi.Input[str],
|
3135
4866
|
base_backoff_seconds: Optional[pulumi.Input[int]] = None,
|
@@ -3137,11 +4868,11 @@ class TcpCheckRetryStrategyArgs:
|
|
3137
4868
|
max_retries: Optional[pulumi.Input[int]] = None,
|
3138
4869
|
same_region: Optional[pulumi.Input[bool]] = None):
|
3139
4870
|
"""
|
3140
|
-
:param pulumi.Input[str] type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
3141
|
-
:param pulumi.Input[int] base_backoff_seconds: The number of seconds to wait before the first retry attempt.
|
3142
|
-
:param pulumi.Input[int] max_duration_seconds: The total amount of time to continue retrying the
|
3143
|
-
:param pulumi.Input[int] max_retries: The maximum number of times to retry the
|
3144
|
-
:param pulumi.Input[bool] same_region: Whether retries should be run in the same region as the initial
|
4871
|
+
:param pulumi.Input[str] type: Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
|
4872
|
+
:param pulumi.Input[int] base_backoff_seconds: The number of seconds to wait before the first retry attempt. (Default `60`).
|
4873
|
+
:param pulumi.Input[int] max_duration_seconds: The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
|
4874
|
+
:param pulumi.Input[int] max_retries: The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
|
4875
|
+
:param pulumi.Input[bool] same_region: Whether retries should be run in the same region as the initial monitor run. (Default `true`).
|
3145
4876
|
"""
|
3146
4877
|
pulumi.set(__self__, "type", type)
|
3147
4878
|
if base_backoff_seconds is not None:
|
@@ -3157,7 +4888,7 @@ class TcpCheckRetryStrategyArgs:
|
|
3157
4888
|
@pulumi.getter
|
3158
4889
|
def type(self) -> pulumi.Input[str]:
|
3159
4890
|
"""
|
3160
|
-
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`,
|
4891
|
+
Determines which type of retry strategy to use. Possible values are `FIXED`, `LINEAR`, and `EXPONENTIAL`.
|
3161
4892
|
"""
|
3162
4893
|
return pulumi.get(self, "type")
|
3163
4894
|
|
@@ -3169,7 +4900,7 @@ class TcpCheckRetryStrategyArgs:
|
|
3169
4900
|
@pulumi.getter(name="baseBackoffSeconds")
|
3170
4901
|
def base_backoff_seconds(self) -> Optional[pulumi.Input[int]]:
|
3171
4902
|
"""
|
3172
|
-
The number of seconds to wait before the first retry attempt.
|
4903
|
+
The number of seconds to wait before the first retry attempt. (Default `60`).
|
3173
4904
|
"""
|
3174
4905
|
return pulumi.get(self, "base_backoff_seconds")
|
3175
4906
|
|
@@ -3181,7 +4912,7 @@ class TcpCheckRetryStrategyArgs:
|
|
3181
4912
|
@pulumi.getter(name="maxDurationSeconds")
|
3182
4913
|
def max_duration_seconds(self) -> Optional[pulumi.Input[int]]:
|
3183
4914
|
"""
|
3184
|
-
The total amount of time to continue retrying the
|
4915
|
+
The total amount of time to continue retrying the monitor (maximum 600 seconds). (Default `600`).
|
3185
4916
|
"""
|
3186
4917
|
return pulumi.get(self, "max_duration_seconds")
|
3187
4918
|
|
@@ -3193,7 +4924,7 @@ class TcpCheckRetryStrategyArgs:
|
|
3193
4924
|
@pulumi.getter(name="maxRetries")
|
3194
4925
|
def max_retries(self) -> Optional[pulumi.Input[int]]:
|
3195
4926
|
"""
|
3196
|
-
The maximum number of times to retry the
|
4927
|
+
The maximum number of times to retry the monitor. Value must be between `1` and `10`. (Default `2`).
|
3197
4928
|
"""
|
3198
4929
|
return pulumi.get(self, "max_retries")
|
3199
4930
|
|
@@ -3205,7 +4936,7 @@ class TcpCheckRetryStrategyArgs:
|
|
3205
4936
|
@pulumi.getter(name="sameRegion")
|
3206
4937
|
def same_region(self) -> Optional[pulumi.Input[bool]]:
|
3207
4938
|
"""
|
3208
|
-
Whether retries should be run in the same region as the initial
|
4939
|
+
Whether retries should be run in the same region as the initial monitor run. (Default `true`).
|
3209
4940
|
"""
|
3210
4941
|
return pulumi.get(self, "same_region")
|
3211
4942
|
|