HashiCorp Nomad

Pulumi Official
Package maintained by Pulumi
v0.2.1 published on Tuesday, Dec 7, 2021 by Pulumi

getAclToken

Using getAclToken

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 getAclToken(args: GetAclTokenArgs, opts?: InvokeOptions): Promise<GetAclTokenResult>
function getAclTokenOutput(args: GetAclTokenOutputArgs, opts?: InvokeOptions): Output<GetAclTokenResult>
def get_acl_token(accessor_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAclTokenResult
def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetAclTokenResult]
func LookupAclToken(ctx *Context, args *LookupAclTokenArgs, opts ...InvokeOption) (*LookupAclTokenResult, error)
func LookupAclTokenOutput(ctx *Context, args *LookupAclTokenOutputArgs, opts ...InvokeOption) LookupAclTokenResultOutput

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

public static class GetAclToken 
{
    public static Task<GetAclTokenResult> InvokeAsync(GetAclTokenArgs args, InvokeOptions? opts = null)
    public static Output<GetAclTokenResult> Invoke(GetAclTokenInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAclTokenResult> getAclToken(GetAclTokenArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: nomad:index/getAclToken:getAclToken
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AccessorId string
AccessorId string
accessorId String
accessorId string
accessorId String

getAclToken Result

The following output properties are available:

AccessorId string
CreateTime string
Global bool
Id string

The provider-assigned unique ID for this managed resource.

Name string
Policies List<string>
SecretId string
Type string
AccessorId string
CreateTime string
Global bool
Id string

The provider-assigned unique ID for this managed resource.

Name string
Policies []string
SecretId string
Type string
accessorId String
createTime String
global Boolean
id String

The provider-assigned unique ID for this managed resource.

name String
policies List
secretId String
type String
accessorId string
createTime string
global boolean
id string

The provider-assigned unique ID for this managed resource.

name string
policies string[]
secretId string
type string
accessor_id str
create_time str
global_ bool
id str

The provider-assigned unique ID for this managed resource.

name str
policies Sequence[str]
secret_id str
type str
accessorId String
createTime String
global Boolean
id String

The provider-assigned unique ID for this managed resource.

name String
policies List
secretId String
type String

Package Details

Repository
https://github.com/pulumi/pulumi-nomad
License
Apache-2.0
Notes

This Pulumi package is based on the nomad Terraform Provider.