1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getDelegatetoken
Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi

harness.platform.getDelegatetoken

Explore with Pulumi AI

Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi

Data Source for retrieving delegate tokens.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  test:
    fn::invoke:
      function: harness:platform:getDelegatetoken
      arguments:
        identifier: test_token
        name: test token
        accountId: account_id
        orgId: org_id
        projectId: project_id
Copy

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>
Copy
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]
Copy
func LookupDelegatetoken(ctx *Context, args *LookupDelegatetokenArgs, opts ...InvokeOption) (*LookupDelegatetokenResult, error)
func LookupDelegatetokenOutput(ctx *Context, args *LookupDelegatetokenOutputArgs, opts ...InvokeOption) LookupDelegatetokenResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDelegatetokenResult> getDelegatetoken(GetDelegatetokenArgs args, InvokeOptions options)
public static Output<GetDelegatetokenResult> getDelegatetoken(GetDelegatetokenArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: harness:platform/getDelegatetoken:getDelegatetoken
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
Account Identifier for the Entity
Name This property is required. 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 This property is required. string
Account Identifier for the Entity
Name This property is required. 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 This property is required. String
Account Identifier for the Entity
name This property is required. 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 This property is required. string
Account Identifier for the Entity
name This property is required. 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 This property is required. str
Account Identifier for the Entity
name This property is required. 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 This property is required. String
Account Identifier for the Entity
name This property is required. 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 v0.7.3 published on Friday, Apr 18, 2025 by Pulumi