1. Packages
  2. Azure Native
  3. API Docs
  4. insights
  5. getDiagnosticServiceTokenReadWrite
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.insights.getDiagnosticServiceTokenReadWrite

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

    Gets an read-write access token for application insights diagnostic service data.

    Uses Azure REST API version 2021-03-03-preview.

    Using getDiagnosticServiceTokenReadWrite

    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 getDiagnosticServiceTokenReadWrite(args: GetDiagnosticServiceTokenReadWriteArgs, opts?: InvokeOptions): Promise<GetDiagnosticServiceTokenReadWriteResult>
    function getDiagnosticServiceTokenReadWriteOutput(args: GetDiagnosticServiceTokenReadWriteOutputArgs, opts?: InvokeOptions): Output<GetDiagnosticServiceTokenReadWriteResult>
    def get_diagnostic_service_token_read_write(resource_uri: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetDiagnosticServiceTokenReadWriteResult
    def get_diagnostic_service_token_read_write_output(resource_uri: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetDiagnosticServiceTokenReadWriteResult]
    func GetDiagnosticServiceTokenReadWrite(ctx *Context, args *GetDiagnosticServiceTokenReadWriteArgs, opts ...InvokeOption) (*GetDiagnosticServiceTokenReadWriteResult, error)
    func GetDiagnosticServiceTokenReadWriteOutput(ctx *Context, args *GetDiagnosticServiceTokenReadWriteOutputArgs, opts ...InvokeOption) GetDiagnosticServiceTokenReadWriteResultOutput

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

    public static class GetDiagnosticServiceTokenReadWrite 
    {
        public static Task<GetDiagnosticServiceTokenReadWriteResult> InvokeAsync(GetDiagnosticServiceTokenReadWriteArgs args, InvokeOptions? opts = null)
        public static Output<GetDiagnosticServiceTokenReadWriteResult> Invoke(GetDiagnosticServiceTokenReadWriteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDiagnosticServiceTokenReadWriteResult> getDiagnosticServiceTokenReadWrite(GetDiagnosticServiceTokenReadWriteArgs args, InvokeOptions options)
    public static Output<GetDiagnosticServiceTokenReadWriteResult> getDiagnosticServiceTokenReadWrite(GetDiagnosticServiceTokenReadWriteArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:insights:getDiagnosticServiceTokenReadWrite
      arguments:
        # arguments dictionary

    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.
    resourceUri string
    The identifier of the resource.
    resource_uri str
    The identifier of the resource.
    resourceUri String
    The identifier of the resource.

    getDiagnosticServiceTokenReadWrite Result

    The following output properties are available:

    Token string
    JWT token for accessing application insights diagnostic service data.
    Token string
    JWT token for accessing application insights diagnostic service data.
    token String
    JWT token for accessing application insights diagnostic service data.
    token string
    JWT token for accessing application insights diagnostic service data.
    token str
    JWT token for accessing application insights diagnostic service data.
    token String
    JWT token for accessing application insights diagnostic service data.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi