MetricsConfigurations interface
Interface representing a MetricsConfigurations.
Methods
Method Details
beginCreateOrUpdate(string, string, string, ClusterMetricsConfiguration, MetricsConfigurationsCreateOrUpdateOptionalParams)
Create new or update the existing metrics configuration of the provided cluster.
function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, metricsConfigurationParameters: ClusterMetricsConfiguration, options?: MetricsConfigurationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ClusterMetricsConfiguration>, ClusterMetricsConfiguration>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
- metricsConfigurationParameters
- ClusterMetricsConfiguration
The request body.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ClusterMetricsConfiguration>, ClusterMetricsConfiguration>>
beginCreateOrUpdateAndWait(string, string, string, ClusterMetricsConfiguration, MetricsConfigurationsCreateOrUpdateOptionalParams)
Create new or update the existing metrics configuration of the provided cluster.
function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, metricsConfigurationParameters: ClusterMetricsConfiguration, options?: MetricsConfigurationsCreateOrUpdateOptionalParams): Promise<ClusterMetricsConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
- metricsConfigurationParameters
- ClusterMetricsConfiguration
The request body.
The options parameters.
Returns
Promise<ClusterMetricsConfiguration>
beginDelete(string, string, string, MetricsConfigurationsDeleteOptionalParams)
Delete the metrics configuration of the provided cluster.
function beginDelete(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, options?: MetricsConfigurationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, MetricsConfigurationsDeleteOptionalParams)
Delete the metrics configuration of the provided cluster.
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, options?: MetricsConfigurationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, MetricsConfigurationsUpdateOptionalParams)
Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.
function beginUpdate(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, options?: MetricsConfigurationsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ClusterMetricsConfiguration>, ClusterMetricsConfiguration>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ClusterMetricsConfiguration>, ClusterMetricsConfiguration>>
beginUpdateAndWait(string, string, string, MetricsConfigurationsUpdateOptionalParams)
Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.
function beginUpdateAndWait(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, options?: MetricsConfigurationsUpdateOptionalParams): Promise<ClusterMetricsConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
The options parameters.
Returns
Promise<ClusterMetricsConfiguration>
get(string, string, string, MetricsConfigurationsGetOptionalParams)
Get metrics configuration of the provided cluster.
function get(resourceGroupName: string, clusterName: string, metricsConfigurationName: string, options?: MetricsConfigurationsGetOptionalParams): Promise<ClusterMetricsConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
- metricsConfigurationName
-
string
The name of the metrics configuration for the cluster.
The options parameters.
Returns
Promise<ClusterMetricsConfiguration>
listByCluster(string, string, MetricsConfigurationsListByClusterOptionalParams)
Get a list of metrics configurations for the provided cluster.
function listByCluster(resourceGroupName: string, clusterName: string, options?: MetricsConfigurationsListByClusterOptionalParams): PagedAsyncIterableIterator<ClusterMetricsConfiguration, ClusterMetricsConfiguration[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the cluster.
The options parameters.