Interface ServerSecurityAlertPoliciesClient
public interface ServerSecurityAlertPoliciesClient
An instance of this class provides access to all the operations defined in ServerSecurityAlertPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.createOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.get(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.getAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner>getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get a server's security alert policy.Mono<com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner>>getWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner>listByServer(String resourceGroupName, String serverName) Get the server's threat detection policies.com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner>listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Get the server's threat detection policies.com.azure.core.http.rest.PagedFlux<ServerSecurityAlertPolicyInner>listByServerAsync(String resourceGroupName, String serverName) Get the server's threat detection policies.
-
Method Details
-
listByServerAsync
com.azure.core.http.rest.PagedFlux<ServerSecurityAlertPolicyInner> listByServerAsync(String resourceGroupName, String serverName) Get the server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.- Returns:
- the server's threat detection policies as paginated response with
PagedFlux. - 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName) Get the server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.- Returns:
- the server's threat detection policies as paginated response with
PagedIterable. - 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context) Get the server's threat detection policies.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.context- The context to associate with this operation.- Returns:
- the server's threat detection policies as paginated response with
PagedIterable. - 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a server's security alert policy along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<ServerSecurityAlertPolicyInner> getAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a server's security alert policy on successful completion of
Mono. - 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.
-
getWithResponse
com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get a server's security alert policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the security alert policy.context- The context to associate with this operation.- Returns:
- a server's security alert policy along with
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.
-
get
ServerSecurityAlertPolicyInner get(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get a server's security alert policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the security alert policy.- Returns:
- a server's security alert policy.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.- Returns:
- a server security alert policy along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.- Returns:
- the
PollerFluxfor polling of a server security alert policy. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.- Returns:
- the
SyncPollerfor polling of a server security alert policy. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a server security alert policy. - 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<ServerSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.- Returns:
- a server security alert policy on successful completion of
Mono. - 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
ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.- Returns:
- a server security alert policy.
- 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
ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Creates or updates a threat detection policy.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.securityAlertPolicyName- The name of the threat detection policy.parameters- The server security alert policy.context- The context to associate with this operation.- Returns:
- a server security alert policy.
- 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.
-