public abstract ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
Returns:
an Activity Log Alert rule.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
Returns:
an Activity Log Alert rule on successful completion of Mono.
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, Context context)
Get an Activity Log Alert rule.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
context
- The context to associate with this operation.
Returns:
an Activity Log Alert rule along with Response<T>.
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
Returns:
an Activity Log Alert rule along with Response<T> on successful completion of Mono.
list
public abstract PagedIterable list()
Get a list of all Activity Log Alert rules in a subscription.
Returns:
a list of all Activity Log Alert rules in a subscription as paginated response with
PagedIterable<T>.
list
public abstract PagedIterable list(Context context)
Get a list of all Activity Log Alert rules in a subscription.
Parameters:
context
- The context to associate with this operation.
Returns:
a list of all Activity Log Alert rules in a subscription as paginated response with
PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Get a list of all Activity Log Alert rules in a subscription.
Returns:
a list of all Activity Log Alert rules in a subscription as paginated response with PagedFlux<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
Returns:
a list of all Activity Log Alert rules in a resource group as paginated response with
PagedIterable<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
context
- The context to associate with this operation.
Returns:
a list of all Activity Log Alert rules in a resource group as paginated response with
PagedIterable<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
Returns:
a list of all Activity Log Alert rules in a resource group as paginated response with PagedFlux<T>.
update
public abstract ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)
Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
activityLogAlertRulePatch
- Parameters supplied to the operation.
Returns:
an Activity Log Alert rule resource.
updateAsync
public abstract Mono updateAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)
Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
activityLogAlertRulePatch
- Parameters supplied to the operation.
Returns:
an Activity Log Alert rule resource on successful completion of Mono.
Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
activityLogAlertRulePatch
- Parameters supplied to the operation.
context
- The context to associate with this operation.
Returns:
an Activity Log Alert rule resource along with Response<T>.
updateWithResponseAsync
public abstract Mono> updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)
Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.
Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.
activityLogAlertName
- The name of the Activity Log Alert rule.
activityLogAlertRulePatch
- Parameters supplied to the operation.
Returns:
an Activity Log Alert rule resource along with Response<T> on successful completion of Mono.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.