Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.48.0 published on Monday, Nov 29, 2021 by Pulumi

getLiveToken

The response to a live token query. API Version: 2020-06-02-preview.

Using getLiveToken

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 getLiveToken(args: GetLiveTokenArgs, opts?: InvokeOptions): Promise<GetLiveTokenResult>
function getLiveTokenOutput(args: GetLiveTokenOutputArgs, opts?: InvokeOptions): Output<GetLiveTokenResult>
def get_live_token(resource_uri: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetLiveTokenResult
def get_live_token_output(resource_uri: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetLiveTokenResult]
func GetLiveToken(ctx *Context, args *GetLiveTokenArgs, opts ...InvokeOption) (*GetLiveTokenResult, error)

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

public static class GetLiveToken 
{
    public static Task<GetLiveTokenResult> InvokeAsync(GetLiveTokenArgs args, InvokeOptions? opts = null)
    public static Output<GetLiveTokenResult> Invoke(GetLiveTokenInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ResourceUri string
The identifier of the resource.
ResourceUri string
The identifier of the resource.
resourceUri string
The identifier of the resource.
resource_uri str
The identifier of the resource.

getLiveToken Result

The following output properties are available:

LiveToken string
JWT token for accessing live metrics stream data.
LiveToken string
JWT token for accessing live metrics stream data.
liveToken string
JWT token for accessing live metrics stream data.
live_token str
JWT token for accessing live metrics stream data.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0