This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.insights.getLiveToken
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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>
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)
func GetLiveTokenOutput(ctx *Context, args *GetLiveTokenOutputArgs, opts ...InvokeOption) GetLiveTokenResultOutput
> 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)
}
public static CompletableFuture<GetLiveTokenResult> getLiveToken(GetLiveTokenArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getLiveToken
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Uri string - The identifier of the resource.
- Resource
Uri string - The identifier of the resource.
- resource
Uri String - The identifier of the resource.
- resource
Uri string - The identifier of the resource.
- resource_
uri str - The identifier of the resource.
- resource
Uri String - The identifier of the resource.
getLiveToken Result
The following output properties are available:
- Live
Token string - JWT token for accessing live metrics stream data.
- Live
Token string - JWT token for accessing live metrics stream data.
- live
Token String - JWT token for accessing live metrics stream data.
- live
Token string - JWT token for accessing live metrics stream data.
- live_
token str - JWT token for accessing live metrics stream data.
- live
Token String - JWT token for accessing live metrics stream data.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi