Class SloState
Inherited Members
Namespace: Pulumi.Gcp.Monitoring
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SloState : ResourceArgs
Constructors
View SourceSloState()
Declaration
public SloState()
Properties
View SourceBasicSli
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:
basic_sli, request_based_sli, windows_based_sli Structure is documented below.
Declaration
public Input<SloBasicSliGetArgs> BasicSli { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SloBasicSliGetArgs> |
CalendarPeriod
A calendar period, semantically "since the start of the current <calendarPeriod>".
Declaration
public Input<string> CalendarPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DisplayName
Name used for UI elements listing this SLO.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Goal
The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999
Declaration
public Input<double> Goal { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
Name
The full resource name for this service. The syntax is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RequestBasedSli
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:
basic_sli, request_based_sli, windows_based_sli Structure is documented below.
Declaration
public Input<SloRequestBasedSliGetArgs> RequestBasedSli { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SloRequestBasedSliGetArgs> |
RollingPeriodDays
A rolling time period, semantically "in the past X days". Must be between 1 to 30 days, inclusive.
Declaration
public Input<int> RollingPeriodDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Service
ID of the service to which this SLO belongs.
Declaration
public Input<string> Service { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SloId
The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
Declaration
public Input<string> SloId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WindowsBasedSli
A windows-based SLI defines the criteria for time windows.
good_service 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:
basic_sli, request_based_sli, windows_based_sli Structure is documented below.
Declaration
public Input<SloWindowsBasedSliGetArgs> WindowsBasedSli { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SloWindowsBasedSliGetArgs> |