AvailabilityConfiguration¶
- class oci.apm_synthetics.models.AvailabilityConfiguration(**kwargs)¶
Bases:
objectMonitor availability configuration details.
Methods:
__init__(**kwargs)Initializes a new AvailabilityConfiguration object with values from keyword arguments.
Attributes:
Gets the max_allowed_failures_per_interval of this AvailabilityConfiguration.
Gets the min_allowed_runs_per_interval of this AvailabilityConfiguration.
- __init__(**kwargs)¶
Initializes a new AvailabilityConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
max_allowed_failures_per_interval (int) – The value to assign to the max_allowed_failures_per_interval property of this AvailabilityConfiguration.
min_allowed_runs_per_interval (int) – The value to assign to the min_allowed_runs_per_interval property of this AvailabilityConfiguration.
- property max_allowed_failures_per_interval¶
Gets the max_allowed_failures_per_interval of this AvailabilityConfiguration. Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE.
- Returns
The max_allowed_failures_per_interval of this AvailabilityConfiguration.
- Return type
int
- property min_allowed_runs_per_interval¶
Gets the min_allowed_runs_per_interval of this AvailabilityConfiguration. Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations.
- Returns
The min_allowed_runs_per_interval of this AvailabilityConfiguration.
- Return type
int