Interface SqlPoolSecurityAlertPoliciesClient
-
public interface SqlPoolSecurityAlertPoliciesClient
An instance of this class provides access to all the operations defined in SqlPoolSecurityAlertPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlPoolSecurityAlertPolicyInner
createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName, SqlPoolSecurityAlertPolicyInner parameters)
Create or update a Sql pool's security alert policy.com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicyInner>
createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName, SqlPoolSecurityAlertPolicyInner parameters, com.azure.core.util.Context context)
Create or update a Sql pool's security alert policy.SqlPoolSecurityAlertPolicyInner
get(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName)
Get a Sql pool's security alert policy.com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicyInner>
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<SqlPoolSecurityAlertPolicyInner>
list(String resourceGroupName, String workspaceName, String sqlPoolName)
Get a list of Sql pool's security alert policies.com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicyInner>
list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Get a list of Sql pool's security alert policies.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName)
Get a list of Sql pool's security alert policies.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.- Returns:
- a list of Sql pool's security alert 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<SqlPoolSecurityAlertPolicyInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Get a list of Sql pool's security alert policies.- Parameters:
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.- Returns:
- a list of Sql pool's security alert 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.
-
get
SqlPoolSecurityAlertPolicyInner get(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName)
Get a Sql pool's security alert policy.- Parameters:
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.- Returns:
- a Sql pool'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.
-
getWithResponse
com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName, com.azure.core.util.Context context)
Get a Sql pool's security alert policy.- Parameters:
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.- Returns:
- a Sql pool'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.
-
createOrUpdate
SqlPoolSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName, SqlPoolSecurityAlertPolicyInner parameters)
Create or update a Sql pool's security alert policy.- Parameters:
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.parameters
- The Sql pool security alert policy.- Returns:
- a Sql pool 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName, SqlPoolSecurityAlertPolicyInner parameters, com.azure.core.util.Context context)
Create or update a Sql pool's security alert policy.- Parameters:
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.parameters
- The Sql pool security alert policy.context
- The context to associate with this operation.- Returns:
- a Sql pool 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.
-
-