Compartilhar via


EnvironmentUtils.GetObservabilityAuthenticationScope Method

Definition

Overloads

Name Description
GetObservabilityAuthenticationScope()

Returns the scope for authenticating to the observability service based on the current environment.

GetObservabilityAuthenticationScope(String)
Obsolete.

[Deprecated] Returns the scope for authenticating to the observability service based on the cluster category.

GetObservabilityAuthenticationScope()

Source:
EnvironmentUtils.cs

Returns the scope for authenticating to the observability service based on the current environment.

public static string[] GetObservabilityAuthenticationScope();
static member GetObservabilityAuthenticationScope : unit -> string[]
Public Shared Function GetObservabilityAuthenticationScope () As String()

Returns

String[]

The authentication scope.

Applies to

GetObservabilityAuthenticationScope(String)

Source:
EnvironmentUtils.cs

Caution

Cluster category argument is deprecated and will be removed in future versions. Defaults to production.

[Deprecated] Returns the scope for authenticating to the observability service based on the cluster category.

[System.Obsolete("Cluster category argument is deprecated and will be removed in future versions. Defaults to production.")]
public static string[] GetObservabilityAuthenticationScope(string clusterCategory = "prod");
[<System.Obsolete("Cluster category argument is deprecated and will be removed in future versions. Defaults to production.")>]
static member GetObservabilityAuthenticationScope : string -> string[]
Public Shared Function GetObservabilityAuthenticationScope (Optional clusterCategory As String = "prod") As String()

Parameters

clusterCategory
String

Cluster category (deprecated, defaults to production).

Returns

String[]

The authentication scope.

Attributes

Applies to