public interface WorkspaceManagedSqlServerSecurityAlertPoliciesClient
Modifier and Type | Method and Description |
---|---|
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 a workspace managed sql 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 a workspace managed sql server's threat detection policy.
|
ServerSecurityAlertPolicyInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
ServerSecurityAlertPolicyInner parameters)
Create or Update a workspace managed sql server's threat detection policy.
|
ServerSecurityAlertPolicyInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName,
ServerSecurityAlertPolicyInner parameters,
com.azure.core.util.Context context)
Create or Update a workspace managed sql server's threat detection policy.
|
ServerSecurityAlertPolicyInner |
get(String resourceGroupName,
String workspaceName,
SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)
Get a workspace managed sql 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 a workspace managed sql server's security alert policy.
|
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> |
list(String resourceGroupName,
String workspaceName)
Get workspace managed sql server's threat detection policies.
|
com.azure.core.http.rest.PagedIterable<ServerSecurityAlertPolicyInner> |
list(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Get workspace managed sql server's threat detection policies.
|
ServerSecurityAlertPolicyInner get(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)
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.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<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, com.azure.core.util.Context context)
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.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner 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.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.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)
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.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.ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner 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.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.ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, com.azure.core.util.Context context)
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.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<ServerSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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<ServerSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.