MetricsConfigurations interface

Interface representing a MetricsConfigurations.

Methods

beginCreateOrUpdate(string, string, string, ClusterMetricsConfiguration, MetricsConfigurationsCreateOrUpdateOptionalParams)

Create new or update the existing metrics configuration of the provided cluster.

beginCreateOrUpdateAndWait(string, string, string, ClusterMetricsConfiguration, MetricsConfigurationsCreateOrUpdateOptionalParams)

Create new or update the existing metrics configuration of the provided cluster.

beginDelete(string, string, string, MetricsConfigurationsDeleteOptionalParams)

Delete the metrics configuration of the provided cluster.

beginDeleteAndWait(string, string, string, MetricsConfigurationsDeleteOptionalParams)

Delete the metrics configuration of the provided cluster.

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.

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.

get(string, string, string, MetricsConfigurationsGetOptionalParams)

Get metrics configuration of the provided cluster.

listByCluster(string, string, MetricsConfigurationsListByClusterOptionalParams)

Get a list of metrics configurations for the provided cluster.

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.

options
MetricsConfigurationsCreateOrUpdateOptionalParams

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.

options
MetricsConfigurationsCreateOrUpdateOptionalParams

The options parameters.

Returns

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.

options
MetricsConfigurationsDeleteOptionalParams

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.

options
MetricsConfigurationsDeleteOptionalParams

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.

options
MetricsConfigurationsUpdateOptionalParams

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.

options
MetricsConfigurationsUpdateOptionalParams

The options parameters.

Returns

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.

options
MetricsConfigurationsGetOptionalParams

The options parameters.

Returns

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.

options
MetricsConfigurationsListByClusterOptionalParams

The options parameters.

Returns