EnvironmentUtils.GetObservabilityClusterCategory 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 |
|---|---|
| GetObservabilityClusterCategory() |
Returns the cluster category for the observability service based on the current environment. |
| GetObservabilityClusterCategory(String) |
[Deprecated] Returns the cluster category for the observability service based on the cluster category. |
GetObservabilityClusterCategory()
- Source:
- EnvironmentUtils.cs
Returns the cluster category for the observability service based on the current environment.
public static string GetObservabilityClusterCategory();
static member GetObservabilityClusterCategory : unit -> string
Public Shared Function GetObservabilityClusterCategory () As String
Returns
Applies to
GetObservabilityClusterCategory(String)
- Source:
- EnvironmentUtils.cs
[Deprecated] Returns the cluster category for the observability service based on the cluster category.
public static string GetObservabilityClusterCategory(string clusterCategory = "prod");
static member GetObservabilityClusterCategory : string -> string
Public Shared Function GetObservabilityClusterCategory (Optional clusterCategory As String = "prod") As String
Parameters
- clusterCategory
- String
Cluster category (deprecated, defaults to production).