1. Packages
  2. Azure Native v2
  3. API Docs
  4. insights
  5. getLiveToken
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.insights.getLiveToken

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets an access token for live metrics stream data. Azure REST API version: 2021-10-14.

Other available API versions: 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>
Copy
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]
Copy
func GetLiveToken(ctx *Context, args *GetLiveTokenArgs, opts ...InvokeOption) (*GetLiveTokenResult, error)
func GetLiveTokenOutput(ctx *Context, args *GetLiveTokenOutputArgs, opts ...InvokeOption) GetLiveTokenResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetLiveTokenResult> getLiveToken(GetLiveTokenArgs args, InvokeOptions options)
public static Output<GetLiveTokenResult> getLiveToken(GetLiveTokenArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:insights:getLiveToken
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resource_uri
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
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.
liveToken string
JWT token for accessing live metrics stream data.
live_token str
JWT token for accessing live metrics stream data.
liveToken String
JWT token for accessing live metrics stream data.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi