1. Packages
  2. Azure Native
  3. API Docs
  4. insights
  5. getDiagnosticServiceTokenReadOnly
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.50.1 published on Tuesday, Jul 16, 2024 by Pulumi

azure-native.insights.getDiagnosticServiceTokenReadOnly

Explore with Pulumi AI

azure-native logo
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.50.1 published on Tuesday, Jul 16, 2024 by Pulumi

    Gets an read-only access token for application insights diagnostic service data. Azure REST API version: 2021-03-03-preview.

    Using getDiagnosticServiceTokenReadOnly

    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 getDiagnosticServiceTokenReadOnly(args: GetDiagnosticServiceTokenReadOnlyArgs, opts?: InvokeOptions): Promise<GetDiagnosticServiceTokenReadOnlyResult>
    function getDiagnosticServiceTokenReadOnlyOutput(args: GetDiagnosticServiceTokenReadOnlyOutputArgs, opts?: InvokeOptions): Output<GetDiagnosticServiceTokenReadOnlyResult>
    def get_diagnostic_service_token_read_only(resource_uri: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetDiagnosticServiceTokenReadOnlyResult
    def get_diagnostic_service_token_read_only_output(resource_uri: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetDiagnosticServiceTokenReadOnlyResult]
    func GetDiagnosticServiceTokenReadOnly(ctx *Context, args *GetDiagnosticServiceTokenReadOnlyArgs, opts ...InvokeOption) (*GetDiagnosticServiceTokenReadOnlyResult, error)
    func GetDiagnosticServiceTokenReadOnlyOutput(ctx *Context, args *GetDiagnosticServiceTokenReadOnlyOutputArgs, opts ...InvokeOption) GetDiagnosticServiceTokenReadOnlyResultOutput

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

    public static class GetDiagnosticServiceTokenReadOnly 
    {
        public static Task<GetDiagnosticServiceTokenReadOnlyResult> InvokeAsync(GetDiagnosticServiceTokenReadOnlyArgs args, InvokeOptions? opts = null)
        public static Output<GetDiagnosticServiceTokenReadOnlyResult> Invoke(GetDiagnosticServiceTokenReadOnlyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDiagnosticServiceTokenReadOnlyResult> getDiagnosticServiceTokenReadOnly(GetDiagnosticServiceTokenReadOnlyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:insights:getDiagnosticServiceTokenReadOnly
      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.

    getDiagnosticServiceTokenReadOnly 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 v1 docs if using the v1 version of this package.
    Azure Native v2.50.1 published on Tuesday, Jul 16, 2024 by Pulumi