Interface SqlPoolBlobAuditingPolicies
-
public interface SqlPoolBlobAuditingPolicies
Resource collection API of SqlPoolBlobAuditingPolicies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlPoolBlobAuditingPolicy.DefinitionStages.Blank
define()
Begins definition for a new SqlPoolBlobAuditingPolicy resource.SqlPoolBlobAuditingPolicy
get(String resourceGroupName, String workspaceName, String sqlPoolName)
Get a SQL pool's blob auditing policy.SqlPoolBlobAuditingPolicy
getById(String id)
Get a SQL pool's blob auditing policy.com.azure.core.http.rest.Response<SqlPoolBlobAuditingPolicy>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Get a SQL pool's blob auditing policy.com.azure.core.http.rest.Response<SqlPoolBlobAuditingPolicy>
getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Get a SQL pool's blob auditing policy.com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicy>
listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists auditing settings of a Sql pool.com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicy>
listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists auditing settings of a Sql pool.
-
-
-
Method Detail
-
get
SqlPoolBlobAuditingPolicy get(String resourceGroupName, String workspaceName, String sqlPoolName)
Get a SQL pool's blob auditing policy.- 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 SQL pool's blob auditing 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<SqlPoolBlobAuditingPolicy> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Get a SQL pool's blob auditing policy.- 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 SQL pool's blob auditing 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.
-
listBySqlPool
com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicy> listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists auditing settings of a Sql pool.- 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 auditing settings 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.
-
listBySqlPool
com.azure.core.http.rest.PagedIterable<SqlPoolBlobAuditingPolicy> listBySqlPool(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists auditing settings of a Sql pool.- 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 auditing settings 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.
-
getById
SqlPoolBlobAuditingPolicy getById(String id)
Get a SQL pool's blob auditing policy.- Parameters:
id
- the resource ID.- Returns:
- a SQL pool's blob auditing 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<SqlPoolBlobAuditingPolicy> getByIdWithResponse(String id, com.azure.core.util.Context context)
Get a SQL pool's blob auditing policy.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a SQL pool's blob auditing 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
SqlPoolBlobAuditingPolicy.DefinitionStages.Blank define()
Begins definition for a new SqlPoolBlobAuditingPolicy resource.- Returns:
- the first stage of the new SqlPoolBlobAuditingPolicy definition.
-
-