Interface ActivityLogAlertsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ActivityLogAlertResourceInner>,InnerSupportsListing<ActivityLogAlertResourceInner>
public interface ActivityLogAlertsClient extends InnerSupportsGet<ActivityLogAlertResourceInner>, InnerSupportsListing<ActivityLogAlertResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ActivityLogAlertsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityLogAlertResourceInnercreateOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)Create a new activity log alert or update an existing one.Mono<ActivityLogAlertResourceInner>createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)Create a new activity log alert or update an existing one.com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert, com.azure.core.util.Context context)Create a new activity log alert or update an existing one.Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)Create a new activity log alert or update an existing one.voiddelete(String resourceGroupName, String activityLogAlertName)Delete an activity log alert.Mono<Void>deleteAsync(String resourceGroupName, String activityLogAlertName)Delete an activity log alert.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)Delete an activity log alert.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)Delete an activity log alert.ActivityLogAlertResourceInnergetByResourceGroup(String resourceGroupName, String activityLogAlertName)Get an activity log alert.Mono<ActivityLogAlertResourceInner>getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)Get an activity log alert.com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)Get an activity log alert.Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)Get an activity log alert.com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner>list()Get a list of all activity log alerts in a subscription.com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner>list(com.azure.core.util.Context context)Get a list of all activity log alerts in a subscription.com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner>listAsync()Get a list of all activity log alerts in a subscription.com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner>listByResourceGroup(String resourceGroupName)Get a list of all activity log alerts in a resource group.com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Get a list of all activity log alerts in a resource group.com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner>listByResourceGroupAsync(String resourceGroupName)Get a list of all activity log alerts in a resource group.ActivityLogAlertResourceInnerupdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)Updates an existing ActivityLogAlertResource's tags.Mono<ActivityLogAlertResourceInner>updateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)Updates an existing ActivityLogAlertResource's tags.com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>updateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch, com.azure.core.util.Context context)Updates an existing ActivityLogAlertResource's tags.Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>>updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)Updates an existing ActivityLogAlertResource's tags.
-
-
-
Method Detail
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
Create a new activity log alert or update an existing one.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlert- The activity log alert to create or use for the update.- Returns:
- an activity log alert resource.
- Throws:
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.
-
createOrUpdateAsync
Mono<ActivityLogAlertResourceInner> createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
Create a new activity log alert or update an existing one.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlert- The activity log alert to create or use for the update.- Returns:
- an activity log alert resource.
- Throws:
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.
-
createOrUpdate
ActivityLogAlertResourceInner createOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
Create a new activity log alert or update an existing one.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlert- The activity log alert to create or use for the update.- Returns:
- an activity log alert resource.
- Throws:
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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ActivityLogAlertResourceInner> createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert, com.azure.core.util.Context context)
Create a new activity log alert or update an existing one.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlert- The activity log alert to create or use for the update.context- The context to associate with this operation.- Returns:
- an activity log alert resource.
- Throws:
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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)
Get an activity log alert.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Returns:
- an activity log alert.
- Throws:
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.
-
getByResourceGroupAsync
Mono<ActivityLogAlertResourceInner> getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)
Get an activity log alert.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ActivityLogAlertResourceInner>- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Returns:
- an activity log alert.
- Throws:
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.
-
getByResourceGroup
ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)
Get an activity log alert.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ActivityLogAlertResourceInner>- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Returns:
- an activity log alert.
- Throws:
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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ActivityLogAlertResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)
Get an activity log alert.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.context- The context to associate with this operation.- Returns:
- an activity log alert.
- Throws:
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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)
Delete an activity log alert.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Returns:
- the completion.
- Throws:
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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String activityLogAlertName)
Delete an activity log alert.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Returns:
- the completion.
- Throws:
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.
-
delete
void delete(String resourceGroupName, String activityLogAlertName)
Delete an activity log alert.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.- Throws:
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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)
Delete an activity log alert.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlertPatch- Parameters supplied to the operation.- Returns:
- an activity log alert resource.
- Throws:
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.
-
updateAsync
Mono<ActivityLogAlertResourceInner> updateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlertPatch- Parameters supplied to the operation.- Returns:
- an activity log alert resource.
- Throws:
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.
-
update
ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlertPatch- Parameters supplied to the operation.- Returns:
- an activity log alert resource.
- Throws:
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.
-
updateWithResponse
com.azure.core.http.rest.Response<ActivityLogAlertResourceInner> updateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch, com.azure.core.util.Context context)
Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.activityLogAlertName- The name of the activity log alert.activityLogAlertPatch- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- an activity log alert resource.
- Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner> listAsync()
Get a list of all activity log alerts in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ActivityLogAlertResourceInner>- Returns:
- a list of all activity log alerts in a subscription.
- Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner> list()
Get a list of all activity log alerts in a subscription.- Specified by:
listin interfaceInnerSupportsListing<ActivityLogAlertResourceInner>- Returns:
- a list of all activity log alerts in a subscription.
- Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner> list(com.azure.core.util.Context context)
Get a list of all activity log alerts in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of all activity log alerts in a subscription.
- Throws:
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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner> listByResourceGroupAsync(String resourceGroupName)
Get a list of all activity log alerts in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ActivityLogAlertResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of all activity log alerts in a resource group.
- Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName)
Get a list of all activity log alerts in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ActivityLogAlertResourceInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of all activity log alerts in a resource group.
- Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Get a list of all activity log alerts in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- a list of all activity log alerts in a resource group.
- Throws:
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.
-
-