public interface TagRulesClient
Modifier and Type | Method and Description |
---|---|
MonitoringTagRulesInner |
createOrUpdate(String resourceGroupName,
String monitorName,
String ruleSetName)
Create or update a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.Response<MonitoringTagRulesInner> |
createOrUpdateWithResponse(String resourceGroupName,
String monitorName,
String ruleSetName,
MonitoringTagRulesInner body,
com.azure.core.util.Context context)
Create or update a tag rule set for a given monitor resource.
|
void |
delete(String resourceGroupName,
String monitorName,
String ruleSetName)
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.
|
MonitoringTagRulesInner |
get(String resourceGroupName,
String monitorName,
String ruleSetName)
Get a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.Response<MonitoringTagRulesInner> |
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<MonitoringTagRulesInner> |
list(String resourceGroupName,
String monitorName)
List the tag rules for a given monitor resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRulesInner> |
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<MonitoringTagRulesInner> 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<MonitoringTagRulesInner> 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.MonitoringTagRulesInner createOrUpdate(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<MonitoringTagRulesInner> createOrUpdateWithResponse(String resourceGroupName, String monitorName, String ruleSetName, MonitoringTagRulesInner body, 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.body
- Capture logs and metrics of Azure resources based on ARM tags.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.MonitoringTagRulesInner 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<MonitoringTagRulesInner> 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.