1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getDelegatetoken
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.platform.getDelegatetoken

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    Data Source for retrieving delegate tokens.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    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.GetDelegatetokenArgs;
    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 test = PlatformFunctions.getDelegatetoken(GetDelegatetokenArgs.builder()
                .identifier("test_token")
                .name("test token")
                .accountId("account_id")
                .orgId("org_id")
                .projectId("project_id")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          Function: harness:platform:getDelegatetoken
          Arguments:
            identifier: test_token
            name: test token
            accountId: account_id
            orgId: org_id
            projectId: project_id
    

    Using getDelegatetoken

    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 getDelegatetoken(args: GetDelegatetokenArgs, opts?: InvokeOptions): Promise<GetDelegatetokenResult>
    function getDelegatetokenOutput(args: GetDelegatetokenOutputArgs, opts?: InvokeOptions): Output<GetDelegatetokenResult>
    def get_delegatetoken(account_id: Optional[str] = None,
                          created_at: Optional[int] = None,
                          name: Optional[str] = None,
                          org_id: Optional[str] = None,
                          project_id: Optional[str] = None,
                          token_status: Optional[str] = None,
                          value: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDelegatetokenResult
    def get_delegatetoken_output(account_id: Optional[pulumi.Input[str]] = None,
                          created_at: Optional[pulumi.Input[int]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          org_id: Optional[pulumi.Input[str]] = None,
                          project_id: Optional[pulumi.Input[str]] = None,
                          token_status: Optional[pulumi.Input[str]] = None,
                          value: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDelegatetokenResult]
    func LookupDelegatetoken(ctx *Context, args *LookupDelegatetokenArgs, opts ...InvokeOption) (*LookupDelegatetokenResult, error)
    func LookupDelegatetokenOutput(ctx *Context, args *LookupDelegatetokenOutputArgs, opts ...InvokeOption) LookupDelegatetokenResultOutput

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

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

    The following arguments are supported:

    AccountId string
    Account Identifier for the Entity
    Name string
    Name of the resource.
    CreatedAt int
    Time when the delegate token is created.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    TokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    Value string
    Value of the delegate Token
    AccountId string
    Account Identifier for the Entity
    Name string
    Name of the resource.
    CreatedAt int
    Time when the delegate token is created.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    TokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    Value string
    Value of the delegate Token
    accountId String
    Account Identifier for the Entity
    name String
    Name of the resource.
    createdAt Integer
    Time when the delegate token is created.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tokenStatus String
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value String
    Value of the delegate Token
    accountId string
    Account Identifier for the Entity
    name string
    Name of the resource.
    createdAt number
    Time when the delegate token is created.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value string
    Value of the delegate Token
    account_id str
    Account Identifier for the Entity
    name str
    Name of the resource.
    created_at int
    Time when the delegate token is created.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    token_status str
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value str
    Value of the delegate Token
    accountId String
    Account Identifier for the Entity
    name String
    Name of the resource.
    createdAt Number
    Time when the delegate token is created.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tokenStatus String
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value String
    Value of the delegate Token

    getDelegatetoken Result

    The following output properties are available:

    AccountId string
    Account Identifier for the Entity
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the resource.
    CreatedAt int
    Time when the delegate token is created.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    TokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    Value string
    Value of the delegate Token
    AccountId string
    Account Identifier for the Entity
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the resource.
    CreatedAt int
    Time when the delegate token is created.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    TokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    Value string
    Value of the delegate Token
    accountId String
    Account Identifier for the Entity
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the resource.
    createdAt Integer
    Time when the delegate token is created.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tokenStatus String
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value String
    Value of the delegate Token
    accountId string
    Account Identifier for the Entity
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the resource.
    createdAt number
    Time when the delegate token is created.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tokenStatus string
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value string
    Value of the delegate Token
    account_id str
    Account Identifier for the Entity
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the resource.
    created_at int
    Time when the delegate token is created.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    token_status str
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value str
    Value of the delegate Token
    accountId String
    Account Identifier for the Entity
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the resource.
    createdAt Number
    Time when the delegate token is created.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tokenStatus String
    Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
    value String
    Value of the delegate Token

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi