MetricsConfigurationsClient Interface

public interface MetricsConfigurationsClient

An instance of this class provides access to all the operations defined in MetricsConfigurationsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters)

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

abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters, String ifMatch, String ifNoneMatch, Context context)

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

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String metricsConfigurationName)

Delete the metrics configuration of the provided cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, Context context)

Delete the metrics configuration of the provided cluster.

abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it.

abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, ClusterMetricsConfigurationPatchParameters metricsConfigurationUpdateParameters, Context context)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it.

abstract ClusterMetricsConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters)

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

abstract ClusterMetricsConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters, String ifMatch, String ifNoneMatch, Context context)

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

abstract void delete(String resourceGroupName, String clusterName, String metricsConfigurationName)

Delete the metrics configuration of the provided cluster.

abstract void delete(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, Context context)

Delete the metrics configuration of the provided cluster.

abstract ClusterMetricsConfigurationInner get(String resourceGroupName, String clusterName, String metricsConfigurationName)

Get metrics configuration of the provided cluster.

abstract Response<ClusterMetricsConfigurationInner> getWithResponse(String resourceGroupName, String clusterName, String metricsConfigurationName, Context context)

Get metrics configuration of the provided cluster.

abstract PagedIterable<ClusterMetricsConfigurationInner> listByCluster(String resourceGroupName, String clusterName)

Get a list of metrics configurations for the provided cluster.

abstract PagedIterable<ClusterMetricsConfigurationInner> listByCluster(String resourceGroupName, String clusterName, Integer top, String skipToken, Context context)

Get a list of metrics configurations for the provided cluster.

abstract ClusterMetricsConfigurationInner update(String resourceGroupName, String clusterName, String metricsConfigurationName)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it.

abstract ClusterMetricsConfigurationInner update(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, ClusterMetricsConfigurationPatchParameters metricsConfigurationUpdateParameters, Context context)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
metricsConfigurationParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters, String ifMatch, String ifNoneMatch, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
metricsConfigurationParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String metricsConfigurationName)

Delete the metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, Context context)

Delete the metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.

Returns:

the SyncPoller<T,U> for polling of clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

beginUpdate

public abstract SyncPoller<PollResult<ClusterMetricsConfigurationInner>,ClusterMetricsConfigurationInner> beginUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, ClusterMetricsConfigurationPatchParameters metricsConfigurationUpdateParameters, Context context)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
metricsConfigurationUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

createOrUpdate

public abstract ClusterMetricsConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
metricsConfigurationParameters - The request body.

Returns:

clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

createOrUpdate

public abstract ClusterMetricsConfigurationInner createOrUpdate(String resourceGroupName, String clusterName, String metricsConfigurationName, ClusterMetricsConfigurationInner metricsConfigurationParameters, String ifMatch, String ifNoneMatch, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
metricsConfigurationParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

delete

public abstract void delete(String resourceGroupName, String clusterName, String metricsConfigurationName)

Delete the metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.

delete

public abstract void delete(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, Context context)

Delete the metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

get

public abstract ClusterMetricsConfigurationInner get(String resourceGroupName, String clusterName, String metricsConfigurationName)

Get metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.

Returns:

metrics configuration of the provided cluster.

getWithResponse

public abstract Response<ClusterMetricsConfigurationInner> getWithResponse(String resourceGroupName, String clusterName, String metricsConfigurationName, Context context)

Get metrics configuration of the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
context - The context to associate with this operation.

Returns:

metrics configuration of the provided cluster along with Response<T>.

listByCluster

public abstract PagedIterable<ClusterMetricsConfigurationInner> listByCluster(String resourceGroupName, String clusterName)

Get a list of metrics configurations for the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.

Returns:

a list of metrics configurations for the provided cluster as paginated response with PagedIterable<T>.

listByCluster

public abstract PagedIterable<ClusterMetricsConfigurationInner> listByCluster(String resourceGroupName, String clusterName, Integer top, String skipToken, Context context)

Get a list of metrics configurations for the provided cluster.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of metrics configurations for the provided cluster as paginated response with PagedIterable<T>.

update

public abstract ClusterMetricsConfigurationInner update(String resourceGroupName, String clusterName, String metricsConfigurationName)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.

Returns:

clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

update

public abstract ClusterMetricsConfigurationInner update(String resourceGroupName, String clusterName, String metricsConfigurationName, String ifMatch, String ifNoneMatch, ClusterMetricsConfigurationPatchParameters metricsConfigurationUpdateParameters, Context context)

Patch properties of metrics configuration for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
clusterName - The name of the cluster.
metricsConfigurationName - The name of the metrics configuration for the cluster.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
metricsConfigurationUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

clusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

Applies to