SloState constructor
- Input<
SloBasicSli?> ? basicSli, - Input<
String?> ? calendarPeriod, - Input<
String?> ? deletionPolicy, - Input<
String?> ? displayName, - Input<
double?> ? goal, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
SloRequestBasedSli?> ? requestBasedSli, - Input<
int?> ? rollingPeriodDays, - Input<
String?> ? service, - Input<
String?> ? sloId, - Input<
Map< ? userLabels,String, String> ?> - Input<
SloWindowsBasedSli?> ? windowsBasedSli,
Creates a new SloState.
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
name The full resource name for this service. The syntax is:
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.
Implementation
const SloState({
this.basicSli,
this.calendarPeriod,
this.deletionPolicy,
this.displayName,
this.goal,
this.name,
this.project,
this.requestBasedSli,
this.rollingPeriodDays,
this.service,
this.sloId,
this.userLabels,
this.windowsBasedSli,
});