ActivityLogAlertsInner Class
- java.
lang. Object - InnerSupportsGet<InnerT>
- com.
microsoft. azure. management. monitor. implementation. ActivityLogAlertsInner
- com.
public class ActivityLogAlertsInner implements InnerSupportsGet,InnerSupportsDelete,InnerSupportsListing
An instance of this class provides access to all the operations defined in ActivityLogAlerts.
Constructor Summary
Constructor | Description |
---|---|
ActivityLogAlertsInner(Retrofit retrofit, MonitorManagementClientImpl client) |
Initializes an instance of ActivityLogAlertsInner. |
Method Summary
Inherited Members
Constructor Details
ActivityLogAlertsInner
public ActivityLogAlertsInner(Retrofit retrofit, MonitorManagementClientImpl client)
Initializes an instance of ActivityLogAlertsInner.
Parameters:
Method Details
createOrUpdate
public ActivityLogAlertResourceInner createOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
Create a new activity log alert or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateAsync
public Observable
Create a new activity log alert or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateAsync
public ServiceFuture
Create a new activity log alert or update an existing one.
Parameters:
Returns:
Throws:
createOrUpdateWithServiceResponseAsync
public Observable<>
Create a new activity log alert or update an existing one.
Parameters:
Returns:
Throws:
delete
public void delete(String resourceGroupName, String activityLogAlertName)
Delete an activity log alert.
Parameters:
Throws:
deleteAsync
public Observable
Delete an activity log alert.
Overrides:
ActivityLogAlertsInner.deleteAsync(String resourceGroupName, String activityLogAlertName)Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Delete an activity log alert.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable<>
Delete an activity log alert.
Parameters:
Returns:
Throws:
getByResourceGroup
public ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)
Get an activity log alert.
Overrides:
ActivityLogAlertsInner.getByResourceGroup(String resourceGroupName, String activityLogAlertName)Parameters:
Returns:
Throws:
getByResourceGroupAsync
public Observable
Get an activity log alert.
Overrides:
ActivityLogAlertsInner.getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)Parameters:
Returns:
Throws:
getByResourceGroupAsync
public ServiceFuture
Get an activity log alert.
Parameters:
Returns:
Throws:
getByResourceGroupWithServiceResponseAsync
public Observable<>
Get an activity log alert.
Parameters:
Returns:
Throws:
list
public PagedList
Get a list of all activity log alerts in a subscription.
Overrides:
ActivityLogAlertsInner.list()Returns:
listAsync
public Observable<>
Get a list of all activity log alerts in a subscription.
Overrides:
ActivityLogAlertsInner.listAsync()Returns:
listAsync
public ServiceFuture<>
Get a list of all activity log alerts in a subscription.
Parameters:
Returns:
listByResourceGroup
public PagedList
Get a list of all activity log alerts in a resource group.
Overrides:
ActivityLogAlertsInner.listByResourceGroup(String resourceGroupName)Parameters:
Returns:
listByResourceGroupAsync
public Observable<>
Get a list of all activity log alerts in a resource group.
Overrides:
ActivityLogAlertsInner.listByResourceGroupAsync(String resourceGroupName)Parameters:
Returns:
listByResourceGroupAsync
public ServiceFuture<>
Get a list of all activity log alerts in a resource group.
Parameters:
Returns:
listByResourceGroupWithServiceResponseAsync
public Observable<><>
Get a list of all activity log alerts in a resource group.
Parameters:
Returns:
listWithServiceResponseAsync
public Observable<><>
Get a list of all activity log alerts in a subscription.
Returns:
update
public ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable<>
Updates an existing ActivityLogAlertResource'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