public interface TagRules
Modifier and Type | Method and Description |
---|---|
MonitoringTagRules.DefinitionStages.Blank |
define(String name)
Begins definition for a new MonitoringTagRules resource.
|
void |
delete(String resourceGroupName,
String monitorName,
String ruleSetName)
Delete a tag rule set for a given monitor resource.
|
void |
deleteById(String id)
Delete a tag rule set for a given monitor resource.
|
TagRulesDeleteResponse |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete a tag rule set for a given monitor resource.
|
TagRulesDeleteResponse |
deleteWithResponse(String resourceGroupName,
String monitorName,
String ruleSetName,
com.azure.core.util.Context context)
Delete a tag rule set for a given monitor resource.
|
MonitoringTagRules |
get(String resourceGroupName,
String monitorName,
String ruleSetName)
Get a tag rule set for a given monitor resource.
|
MonitoringTagRules |
getById(String id)
Get a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.Response<MonitoringTagRules> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.Response<MonitoringTagRules> |
getWithResponse(String resourceGroupName,
String monitorName,
String ruleSetName,
com.azure.core.util.Context context)
Get a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRules> |
list(String resourceGroupName,
String monitorName)
List the tag rules for a given monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRules> |
list(String resourceGroupName,
String monitorName,
com.azure.core.util.Context context)
List the tag rules for a given monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.MonitoringTagRules get(String resourceGroupName, String monitorName, String ruleSetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.ruleSetName
- The ruleSetName parameter.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<MonitoringTagRules> getWithResponse(String resourceGroupName, String monitorName, String ruleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.ruleSetName
- The ruleSetName parameter.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String monitorName, String ruleSetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.ruleSetName
- The ruleSetName parameter.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.TagRulesDeleteResponse deleteWithResponse(String resourceGroupName, String monitorName, String ruleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.ruleSetName
- The ruleSetName parameter.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.MonitoringTagRules getById(String id)
id
- the resource ID.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<MonitoringTagRules> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void deleteById(String id)
id
- the resource ID.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.TagRulesDeleteResponse deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.MonitoringTagRules.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.