Interface SqlPoolSecurityAlertPolicies


public interface SqlPoolSecurityAlertPolicies
Resource collection API of SqlPoolSecurityAlertPolicies.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<SqlPoolSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, String sqlPoolName)
      List Sql pool's security alert policies

      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<SqlPoolSecurityAlertPolicy> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
      List Sql pool's security alert policies

      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.
    • getWithResponse

      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

      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.
    • get

      SqlPoolSecurityAlertPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName, SecurityAlertPolicyName securityAlertPolicyName)
      Get a Sql pool's security alert policy

      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.
    • getById

      Get a Sql pool's security alert policy

      Get a Sql pool's security alert policy.

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<SqlPoolSecurityAlertPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a Sql pool's security alert policy

      Get a Sql pool's security alert policy.

      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new SqlPoolSecurityAlertPolicy resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new SqlPoolSecurityAlertPolicy definition.