SloArgs class

The set of arguments for Slo. The set of arguments for Slo.

Constructors

SloArgs({Input<SloBasicSli?>? basicSli, Input<String?>? calendarPeriod, Input<String?>? deletionPolicy, Input<String?>? displayName, required Input<double> goal, Input<String?>? project, Input<SloRequestBasedSli?>? requestBasedSli, Input<int?>? rollingPeriodDays, required Input<String> service, Input<String?>? sloId, Input<Map<String, String>?>? userLabels, Input<SloWindowsBasedSli?>? windowsBasedSli})
Creates a new SloArgs. basicSli Basic Service-Level Indicator (SLI) on a well-known service type. calendarPeriod A calendar period, semantically "since the start of the current deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName Name used for UI elements listing this SLO. goal The fraction of service that must be good in order for this objective project The ID of the project in which the resource belongs. requestBasedSli A request-based SLI defines a SLI for which atomic units of rollingPeriodDays A rolling time period, semantically "in the past X days". service ID of the service to which this SLO belongs. sloId The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. userLabels This field is intended to be used for organizing and identifying the AlertPolicy windowsBasedSli A windows-based SLI defines the criteria for time windows.
const
SloArgs.fromMap(Map<String, dynamic> map)
factory

Properties

basicSli → Input<SloBasicSli?>?
Basic Service-Level Indicator (SLI) on a well-known service type. Performance will be computed on the basis of pre-defined metrics. SLIs are used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: basicSli, requestBasedSli, windowsBasedSli Structure is documented below.
final
calendarPeriod → Input<String?>?
A calendar period, semantically "since the start of the current <calendarPeriod>". Possible values are: DAY, WEEK, FORTNIGHT, MONTH.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
displayName → Input<String?>?
Name used for UI elements listing this SLO.
final
goal → Input<double>
The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999
final
hashCode → int
The hash code for this object.
no setterinherited
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
requestBasedSli → Input<SloRequestBasedSli?>?
A request-based SLI defines a SLI for which atomic units of service are counted directly. A SLI describes a good service. It is used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: basicSli, requestBasedSli, windowsBasedSli Structure is documented below.
final
rollingPeriodDays → Input<int?>?
A rolling time period, semantically "in the past X days". Must be between 1 to 30 days, inclusive.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
service → Input<String>
ID of the service to which this SLO belongs.
final
sloId → Input<String?>?
The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
final
userLabels → Input<Map<String, String>?>?
This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
final
windowsBasedSli → Input<SloWindowsBasedSli?>?
A windows-based SLI defines the criteria for time windows. goodService is defined based off the count of these time windows for which the provided service was of good quality. A SLI describes a good service. It is used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: basicSli, requestBasedSli, windowsBasedSli Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited