ActionGroupsInner Class
- java.
lang. Object - InnerSupportsGet<InnerT>
- com.
microsoft. azure. management. monitor. implementation. ActionGroupsInner
- com.
public class ActionGroupsInner implements InnerSupportsGet,InnerSupportsDelete,InnerSupportsListing
An instance of this class provides access to all the operations defined in ActionGroups.
Constructor Summary
Constructor | Description |
---|---|
ActionGroupsInner(Retrofit retrofit, MonitorManagementClientImpl client) |
Initializes an instance of ActionGroupsInner. |
Method Summary
Inherited Members
Constructor Details
ActionGroupsInner
public ActionGroupsInner(Retrofit retrofit, MonitorManagementClientImpl client)
Initializes an instance of ActionGroupsInner.
Parameters:
Method Details
createOrUpdate
public ActionGroupResourceInner createOrUpdate(String resourceGroupName, String actionGroupName, ActionGroupResourceInner actionGroup)
Create a new action group or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateAsync
public Observable
Create a new action group or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateAsync
public ServiceFuture
Create a new action group or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateWithServiceResponseAsync
public Observable<>
Create a new action group or update an existing one.
Parameters:
Returns:
Throws:
delete
public void delete(String resourceGroupName, String actionGroupName)
Delete an action group.
Parameters:
Throws:
deleteAsync
public Observable
Delete an action group.
Overrides:
ActionGroupsInner.deleteAsync(String resourceGroupName, String actionGroupName)Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Delete an action group.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable<>
Delete an action group.
Parameters:
Returns:
Throws:
enableReceiver
public void enableReceiver(String resourceGroupName, String actionGroupName, String receiverName)
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.
Parameters:
Throws:
enableReceiverAsync
public Observable
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.
Parameters:
Returns:
Throws:
enableReceiverAsync
public ServiceFuture
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.
Parameters:
Returns:
Throws:
enableReceiverWithServiceResponseAsync
public Observable<>
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.
Parameters:
Returns:
Throws:
getByResourceGroup
public ActionGroupResourceInner getByResourceGroup(String resourceGroupName, String actionGroupName)
Get an action group.
Overrides:
ActionGroupsInner.getByResourceGroup(String resourceGroupName, String actionGroupName)Parameters:
Returns:
Throws:
getByResourceGroupAsync
public Observable
Get an action group.
Overrides:
ActionGroupsInner.getByResourceGroupAsync(String resourceGroupName, String actionGroupName)Parameters:
Returns:
Throws:
getByResourceGroupAsync
public ServiceFuture
Get an action group.
Parameters:
Returns:
Throws:
getByResourceGroupWithServiceResponseAsync
public Observable<>
Get an action group.
Parameters:
Returns:
Throws:
list
public PagedList
Get a list of all action groups in a subscription.
Overrides:
ActionGroupsInner.list()Returns:
listAsync
public Observable<>
Get a list of all action groups in a subscription.
Overrides:
ActionGroupsInner.listAsync()Returns:
listAsync
public ServiceFuture<>
Get a list of all action groups in a subscription.
Parameters:
Returns:
listByResourceGroup
public PagedList
Get a list of all action groups in a resource group.
Overrides:
ActionGroupsInner.listByResourceGroup(String resourceGroupName)Parameters:
Returns:
listByResourceGroupAsync
public Observable<>
Get a list of all action groups in a resource group.
Overrides:
ActionGroupsInner.listByResourceGroupAsync(String resourceGroupName)Parameters:
Returns:
listByResourceGroupAsync
public ServiceFuture<>
Get a list of all action groups in a resource group.
Parameters:
Returns:
listByResourceGroupWithServiceResponseAsync
public Observable<><>
Get a list of all action groups in a resource group.
Parameters:
Returns:
listWithServiceResponseAsync
public Observable<><>
Get a list of all action groups in a subscription.
Returns:
update
public ActionGroupResourceInner update(String resourceGroupName, String actionGroupName, ActionGroupPatchBody actionGroupPatch)
Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable<>
Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for