public interface ActivityLogAlertsClient extends InnerSupportsGet<ActivityLogAlertResourceInner>, InnerSupportsListing<ActivityLogAlertResourceInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
ActivityLogAlertResourceInner |
createOrUpdate(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.
|
void |
delete(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.
|
ActivityLogAlertResourceInner |
getByResourceGroup(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.
|
ActivityLogAlertResourceInner |
update(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.
|
Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlert - An activity log alert resource.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.Mono<ActivityLogAlertResourceInner> createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlert - An activity log alert resource.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.ActivityLogAlertResourceInner createOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlert - An activity log alert resource.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<ActivityLogAlertResourceInner> createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlert, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlert - An activity log alert resource.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.Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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.Mono<ActivityLogAlertResourceInner> getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)
getByResourceGroupAsync in interface InnerSupportsGet<ActivityLogAlertResourceInner>resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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.ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)
getByResourceGroup in interface InnerSupportsGet<ActivityLogAlertResourceInner>resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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<ActivityLogAlertResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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.Mono<Void> deleteAsync(String resourceGroupName, String activityLogAlertName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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 activityLogAlertName)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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<Void> deleteWithResponse(String resourceGroupName, String activityLogAlertName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.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.Mono<com.azure.core.http.rest.Response<ActivityLogAlertResourceInner>> updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlertPatch - An activity log alert object for the body of patch operations.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.Mono<ActivityLogAlertResourceInner> updateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlertPatch - An activity log alert object for the body of patch operations.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.ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlertPatch - An activity log alert object for the body of patch operations.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<ActivityLogAlertResourceInner> updateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertPatchBody activityLogAlertPatch, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.activityLogAlertName - The name of the activity log alert.activityLogAlertPatch - An activity log alert object for the body of patch operations.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.com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner> listAsync()
listAsync in interface InnerSupportsListing<ActivityLogAlertResourceInner>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<ActivityLogAlertResourceInner> list()
list in interface InnerSupportsListing<ActivityLogAlertResourceInner>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<ActivityLogAlertResourceInner> list(com.azure.core.util.Context context)
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.com.azure.core.http.rest.PagedFlux<ActivityLogAlertResourceInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<ActivityLogAlertResourceInner>resourceGroupName - The name of the resource group.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<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<ActivityLogAlertResourceInner>resourceGroupName - The name of the resource group.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<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.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.Copyright © 2020 Microsoft Corporation. All rights reserved.