Interface WorkspaceManagedSqlServerSecurityAlertPoliciesClient
public interface WorkspaceManagedSqlServerSecurityAlertPoliciesClient
An instance of this class provides access to all the operations defined in
WorkspaceManagedSqlServerSecurityAlertPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,
ServerSecurityAlertPolicyInner> beginCreateOrUpdate
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Create or Update server's threat detection policy.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,
ServerSecurityAlertPolicyInner> beginCreateOrUpdate
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Create or Update server's threat detection policy.createOrUpdate
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Create or Update server's threat detection policy.createOrUpdate
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Create or Update server's threat detection policy.get
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get server's security alert policy.com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner>
getWithResponse
(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get server's security alert policy.com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner>
Get server's threat detection policies.com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner>
Get server's threat detection policies.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context) Get server's security alert policy.Get a workspace managed sql server's security alert policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.context
- The context to associate with this operation.- Returns:
- a workspace managed sql 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 workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName) Get server's security alert policy.Get a workspace managed sql server's security alert policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.- Returns:
- a workspace managed sql 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Create or Update server's threat detection policy.Create or Update a workspace managed sql server's threat detection policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.parameters
- The workspace managed sql server security alert policy.- Returns:
- the
SyncPoller
for polling of workspace managed Sql 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 workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Create or Update server's threat detection policy.Create or Update a workspace managed sql server's threat detection policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.parameters
- The workspace managed sql server security alert policy.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of workspace managed Sql 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 workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters) Create or Update server's threat detection policy.Create or Update a workspace managed sql server's threat detection policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.parameters
- The workspace managed sql server security alert policy.- Returns:
- workspace managed Sql 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 workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context) Create or Update server's threat detection policy.Create or Update a workspace managed sql server's threat detection policy.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.securityAlertPolicyName
- The name of the security alert policy.parameters
- The workspace managed sql server security alert policy.context
- The context to associate with this operation.- Returns:
- workspace managed Sql 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.
-
list
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName) Get server's threat detection policies.Get workspace managed sql server's threat detection policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- workspace managed sql 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.
-
list
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Get server's threat detection policies.Get workspace managed sql server's threat detection policies.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.- Returns:
- workspace managed sql 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.
-