1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getSlo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.getSlo

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Data source for retrieving an SLO.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.PlatformFunctions;
    import com.pulumi.harness.platform.inputs.GetSloArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = PlatformFunctions.getSlo(GetSloArgs.builder()
                .accountId("account_id")
                .identifier("identifier")
                .orgId("org_id")
                .projectId("project_id")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    variables:
      example:
        fn::invoke:
          Function: harness:platform:getSlo
          Arguments:
            accountId: account_id
            identifier: identifier
            orgId: org_id
            projectId: project_id
    

    Using getSlo

    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 getSlo(args: GetSloArgs, opts?: InvokeOptions): Promise<GetSloResult>
    function getSloOutput(args: GetSloOutputArgs, opts?: InvokeOptions): Output<GetSloResult>
    def get_slo(identifier: Optional[str] = None,
                org_id: Optional[str] = None,
                project_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetSloResult
    def get_slo_output(identifier: Optional[pulumi.Input[str]] = None,
                org_id: Optional[pulumi.Input[str]] = None,
                project_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetSloResult]
    func LookupSlo(ctx *Context, args *LookupSloArgs, opts ...InvokeOption) (*LookupSloResult, error)
    func LookupSloOutput(ctx *Context, args *LookupSloOutputArgs, opts ...InvokeOption) LookupSloResultOutput

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

    public static class GetSlo 
    {
        public static Task<GetSloResult> InvokeAsync(GetSloArgs args, InvokeOptions? opts = null)
        public static Output<GetSloResult> Invoke(GetSloInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSloResult> getSlo(GetSloArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getSlo:getSlo
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Identifier string
    Identifier of the SLO.
    OrgId string
    Identifier of the organization in which the SLO is configured.
    ProjectId string
    Identifier of the project in which the SLO is configured.
    Identifier string
    Identifier of the SLO.
    OrgId string
    Identifier of the organization in which the SLO is configured.
    ProjectId string
    Identifier of the project in which the SLO is configured.
    identifier String
    Identifier of the SLO.
    orgId String
    Identifier of the organization in which the SLO is configured.
    projectId String
    Identifier of the project in which the SLO is configured.
    identifier string
    Identifier of the SLO.
    orgId string
    Identifier of the organization in which the SLO is configured.
    projectId string
    Identifier of the project in which the SLO is configured.
    identifier str
    Identifier of the SLO.
    org_id str
    Identifier of the organization in which the SLO is configured.
    project_id str
    Identifier of the project in which the SLO is configured.
    identifier String
    Identifier of the SLO.
    orgId String
    Identifier of the organization in which the SLO is configured.
    projectId String
    Identifier of the project in which the SLO is configured.

    getSlo Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Identifier of the SLO.
    OrgId string
    Identifier of the organization in which the SLO is configured.
    ProjectId string
    Identifier of the project in which the SLO is configured.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Identifier of the SLO.
    OrgId string
    Identifier of the organization in which the SLO is configured.
    ProjectId string
    Identifier of the project in which the SLO is configured.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Identifier of the SLO.
    orgId String
    Identifier of the organization in which the SLO is configured.
    projectId String
    Identifier of the project in which the SLO is configured.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Identifier of the SLO.
    orgId string
    Identifier of the organization in which the SLO is configured.
    projectId string
    Identifier of the project in which the SLO is configured.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Identifier of the SLO.
    org_id str
    Identifier of the organization in which the SLO is configured.
    project_id str
    Identifier of the project in which the SLO is configured.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Identifier of the SLO.
    orgId String
    Identifier of the organization in which the SLO is configured.
    projectId String
    Identifier of the project in which the SLO is configured.

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs