TagRules Interface

public interface TagRules

Resource collection API of TagRules.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new MonitoringTagRules resource.

abstract MonitoringTagRules get(String resourceGroupName, String monitorName, String ruleSetName)

Get a tag rule set for a given monitor resource.

abstract MonitoringTagRules getById(String id)

Get a tag rule set for a given monitor resource.

abstract Response<MonitoringTagRules> getByIdWithResponse(String id, Context context)

Get a tag rule set for a given monitor resource.

abstract Response<MonitoringTagRules> getWithResponse(String resourceGroupName, String monitorName, String ruleSetName, Context context)

Get a tag rule set for a given monitor resource.

abstract PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName)

List the tag rules for a given monitor resource.

abstract PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName, Context context)

List the tag rules for a given monitor resource.

Method Details

define

public abstract MonitoringTagRules.DefinitionStages.Blank define(String name)

Begins definition for a new MonitoringTagRules resource.

Parameters:

name - resource name.

Returns:

the first stage of the new MonitoringTagRules definition.

get

public abstract MonitoringTagRules get(String resourceGroupName, String monitorName, String ruleSetName)

Get a tag rule set for a given monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
ruleSetName - Rule set name.

Returns:

a tag rule set for a given monitor resource.

getById

public abstract MonitoringTagRules getById(String id)

Get a tag rule set for a given monitor resource.

Parameters:

id - the resource ID.

Returns:

a tag rule set for a given monitor resource along with Response<T>.

getByIdWithResponse

public abstract Response<MonitoringTagRules> getByIdWithResponse(String id, Context context)

Get a tag rule set for a given monitor resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a tag rule set for a given monitor resource along with Response<T>.

getWithResponse

public abstract Response<MonitoringTagRules> getWithResponse(String resourceGroupName, String monitorName, String ruleSetName, Context context)

Get a tag rule set for a given monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
ruleSetName - Rule set name.
context - The context to associate with this operation.

Returns:

a tag rule set for a given monitor resource along with Response<T>.

list

public abstract PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName)

List the tag rules for a given monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName, Context context)

List the tag rules for a given monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
context - The context to associate with this operation.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

Applies to