Interface MonitoringSloConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    MonitoringSloConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:21.963Z")
    @Stability(Stable)
    public interface MonitoringSloConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getGoal

        @Stability(Stable)
        @NotNull
        Number getGoal()
        The fraction of service that must be good in order for this objective to be met.

        0 < goal <= 0.999 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#goal MonitoringSlo#goal}

      • getService

        @Stability(Stable)
        @NotNull
        String getService()
        ID of the service to which this SLO belongs.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#service MonitoringSlo#service}

      • getBasicSli

        @Stability(Stable)
        @Nullable
        default MonitoringSloBasicSli getBasicSli()
        basic_sli block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#basic_sli MonitoringSlo#basic_sli}

      • getCalendarPeriod

        @Stability(Stable)
        @Nullable
        default String getCalendarPeriod()
        A calendar period, semantically "since the start of the current ". Possible values: ["DAY", "WEEK", "FORTNIGHT", "MONTH"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#calendar_period MonitoringSlo#calendar_period}

      • getDisplayName

        @Stability(Stable)
        @Nullable
        default String getDisplayName()
        Name used for UI elements listing this SLO.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#display_name MonitoringSlo#display_name}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#id MonitoringSlo#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#project MonitoringSlo#project}.
      • getRequestBasedSli

        @Stability(Stable)
        @Nullable
        default MonitoringSloRequestBasedSli getRequestBasedSli()
        request_based_sli block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#request_based_sli MonitoringSlo#request_based_sli}

      • getRollingPeriodDays

        @Stability(Stable)
        @Nullable
        default Number getRollingPeriodDays()
        A rolling time period, semantically "in the past X days". Must be between 1 to 30 days, inclusive.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#rolling_period_days MonitoringSlo#rolling_period_days}

      • getSloId

        @Stability(Stable)
        @Nullable
        default String getSloId()
        The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#slo_id MonitoringSlo#slo_id}

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default MonitoringSloTimeouts getTimeouts()
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#timeouts MonitoringSlo#timeouts}

      • getUserLabels

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getUserLabels()
        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.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#user_labels MonitoringSlo#user_labels}

      • getWindowsBasedSli

        @Stability(Stable)
        @Nullable
        default MonitoringSloWindowsBasedSli getWindowsBasedSli()
        windows_based_sli block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#windows_based_sli MonitoringSlo#windows_based_sli}