EnvironmentUtils.GetObservabilityAuthenticationScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The authentication scope.
- Attributes