1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. getDiagnosticServiceTokenReadWrite
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.getDiagnosticServiceTokenReadWrite

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets an read-write access token for application insights diagnostic service data. 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)
    // Output-based functions aren't available in Java yet
    
    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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi