1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. getDiagnosticServiceTokenReadOnly
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.getDiagnosticServiceTokenReadOnly

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-only access token for application insights diagnostic service data. 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-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