1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. getPlatformSloTemplate
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    To utilize this data source, please define the environment variables DT_CLIENT_ID, DT_CLIENT_SECRET, DT_ACCOUNT_ID with an OAuth client including the following permissions: View SLOs (slo:slos:read) and View SLO objective templates (slo:objective-templates:read).

    The SLO objective template data source allows the ID to be retrieved by its name.

    • name (String) Name of the SLO objective template

    Using getPlatformSloTemplate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPlatformSloTemplate(args: GetPlatformSloTemplateArgs, opts?: InvokeOptions): Promise<GetPlatformSloTemplateResult>
    function getPlatformSloTemplateOutput(args: GetPlatformSloTemplateOutputArgs, opts?: InvokeOptions): Output<GetPlatformSloTemplateResult>
    def get_platform_slo_template(name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetPlatformSloTemplateResult
    def get_platform_slo_template_output(name: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetPlatformSloTemplateResult]
    func GetPlatformSloTemplate(ctx *Context, args *GetPlatformSloTemplateArgs, opts ...InvokeOption) (*GetPlatformSloTemplateResult, error)
    func GetPlatformSloTemplateOutput(ctx *Context, args *GetPlatformSloTemplateOutputArgs, opts ...InvokeOption) GetPlatformSloTemplateResultOutput

    > Note: This function is named GetPlatformSloTemplate in the Go SDK.

    public static class GetPlatformSloTemplate 
    {
        public static Task<GetPlatformSloTemplateResult> InvokeAsync(GetPlatformSloTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetPlatformSloTemplateResult> Invoke(GetPlatformSloTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPlatformSloTemplateResult> getPlatformSloTemplate(GetPlatformSloTemplateArgs args, InvokeOptions options)
    public static Output<GetPlatformSloTemplateResult> getPlatformSloTemplate(GetPlatformSloTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: dynatrace:index/getPlatformSloTemplate:getPlatformSloTemplate
      arguments:
        # arguments dictionary
    data "dynatrace_getplatformslotemplate" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Name of the SLO objective template
    Name string
    Name of the SLO objective template
    name string
    Name of the SLO objective template
    name String
    Name of the SLO objective template
    name string
    Name of the SLO objective template
    name str
    Name of the SLO objective template
    name String
    Name of the SLO objective template

    getPlatformSloTemplate Result

    The following output properties are available:

    Id string
    ID of the SLO objective template
    Name string
    Name of the SLO objective template
    Id string
    ID of the SLO objective template
    Name string
    Name of the SLO objective template
    id string
    ID of the SLO objective template
    name string
    Name of the SLO objective template
    id String
    ID of the SLO objective template
    name String
    Name of the SLO objective template
    id string
    ID of the SLO objective template
    name string
    Name of the SLO objective template
    id str
    ID of the SLO objective template
    name str
    Name of the SLO objective template
    id String
    ID of the SLO objective template
    name String
    Name of the SLO objective template

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial