public interface SqlPoolSecurityAlertPolicies
Modifier and Type | Method and Description |
---|---|
SqlPoolSecurityAlertPolicy.DefinitionStages.Blank |
define(SecurityAlertPolicyName name)
Begins definition for a new SqlPoolSecurityAlertPolicy resource.
|
SqlPoolSecurityAlertPolicy |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SecurityAlertPolicyName securityAlertPolicyName)
Get a Sql pool's security alert policy.
|
SqlPoolSecurityAlertPolicy |
getById(String id)
Get a Sql pool's security alert policy.
|
com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicy> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get a Sql pool's security alert policy.
|
com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicy> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
SecurityAlertPolicyName securityAlertPolicyName,
com.azure.core.util.Context context)
Get a Sql pool's security alert policy.
|
com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicy> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Get a list of Sql pool's security alert policies.
|
com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicy> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Get a list of Sql pool's security alert policies.
|
com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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<SqlPoolSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.SqlPoolSecurityAlertPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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<SqlPoolSecurityAlertPolicy> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName 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.sqlPoolName
- SQL pool name.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.SqlPoolSecurityAlertPolicy getById(String id)
id
- the resource ID.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<SqlPoolSecurityAlertPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.SqlPoolSecurityAlertPolicy.DefinitionStages.Blank define(SecurityAlertPolicyName name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.