public interface SubAccountTagRules
Modifier and Type | Method and Description |
---|---|
MonitoringTagRules |
createOrUpdate(String resourceGroupName,
String monitorName,
String subAccountName,
String ruleSetName)
Create or update a tag rule set for a given sub account resource.
|
com.azure.core.http.rest.Response<MonitoringTagRules> |
createOrUpdateWithResponse(String resourceGroupName,
String monitorName,
String subAccountName,
String ruleSetName,
MonitoringTagRulesInner body,
com.azure.core.util.Context context)
Create or update a tag rule set for a given sub account resource.
|
void |
delete(String resourceGroupName,
String monitorName,
String subAccountName,
String ruleSetName)
Delete a tag rule set for a given monitor resource.
|
SubAccountTagRulesDeleteResponse |
deleteWithResponse(String resourceGroupName,
String monitorName,
String subAccountName,
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 subAccountName,
String ruleSetName)
Get a tag rule set for a given monitor resource.
|
com.azure.core.http.rest.Response<MonitoringTagRules> |
getWithResponse(String resourceGroupName,
String monitorName,
String subAccountName,
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,
String subAccountName)
List the tag rules for a given sub account resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRules> |
list(String resourceGroupName,
String monitorName,
String subAccountName,
com.azure.core.util.Context context)
List the tag rules for a given sub account resource.
|
com.azure.core.http.rest.PagedIterable<MonitoringTagRules> list(String resourceGroupName, String monitorName, String subAccountName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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, String subAccountName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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 createOrUpdate(String resourceGroupName, String monitorName, String subAccountName, String ruleSetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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> createOrUpdateWithResponse(String resourceGroupName, String monitorName, String subAccountName, 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.subAccountName
- Sub Account 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.MonitoringTagRules get(String resourceGroupName, String monitorName, String subAccountName, String ruleSetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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 subAccountName, String ruleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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 subAccountName, String ruleSetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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.SubAccountTagRulesDeleteResponse deleteWithResponse(String resourceGroupName, String monitorName, String subAccountName, String ruleSetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Monitor resource name.subAccountName
- Sub Account 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.