1. Packages
  2. Azure Native v2
  3. API Docs
  4. insights
  5. getDiagnosticServiceTokenReadOnly
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.insights.getDiagnosticServiceTokenReadOnly

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func GetDiagnosticServiceTokenReadOnly(ctx *Context, args *GetDiagnosticServiceTokenReadOnlyArgs, opts ...InvokeOption) (*GetDiagnosticServiceTokenReadOnlyResult, error)
func GetDiagnosticServiceTokenReadOnlyOutput(ctx *Context, args *GetDiagnosticServiceTokenReadOnlyOutputArgs, opts ...InvokeOption) GetDiagnosticServiceTokenReadOnlyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDiagnosticServiceTokenReadOnlyResult> getDiagnosticServiceTokenReadOnly(GetDiagnosticServiceTokenReadOnlyArgs args, InvokeOptions options)
public static Output<GetDiagnosticServiceTokenReadOnlyResult> getDiagnosticServiceTokenReadOnly(GetDiagnosticServiceTokenReadOnlyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:insights:getDiagnosticServiceTokenReadOnly
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
resource_uri
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
resourceUri
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi