Interface SqlPoolVulnerabilityAssessments
-
public interface SqlPoolVulnerabilityAssessments
Resource collection API of SqlPoolVulnerabilityAssessments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlPoolVulnerabilityAssessment.DefinitionStages.Blank
define(VulnerabilityAssessmentName name)
Begins definition for a new SqlPoolVulnerabilityAssessment resource.void
delete(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the database's vulnerability assessment.void
deleteById(String id)
Removes the database's vulnerability assessment.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Removes the database's vulnerability assessment.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Removes the database's vulnerability assessment.SqlPoolVulnerabilityAssessment
get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the Sql pool's vulnerability assessment.SqlPoolVulnerabilityAssessment
getById(String id)
Gets the Sql pool's vulnerability assessment.com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessment>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the Sql pool's vulnerability assessment.com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessment>
getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Gets the Sql pool's vulnerability assessment.com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessment>
list(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists the vulnerability assessment policies associated with a SQL pool.com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessment>
list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists the vulnerability assessment policies associated with a SQL pool.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessment> list(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists the vulnerability assessment policies associated with 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 the Sql pool's vulnerability assessments 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<SqlPoolVulnerabilityAssessment> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
Lists the vulnerability assessment policies associated with 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 the Sql pool's vulnerability assessments 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
SqlPoolVulnerabilityAssessment get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the Sql pool's vulnerability assessment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.vulnerabilityAssessmentName
- The name of the vulnerability assessment.- Returns:
- the Sql pool's vulnerability assessment.
- 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<SqlPoolVulnerabilityAssessment> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Gets the Sql pool's vulnerability assessment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.vulnerabilityAssessmentName
- The name of the vulnerability assessment.context
- The context to associate with this operation.- Returns:
- the Sql pool's vulnerability assessment 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.vulnerabilityAssessmentName
- The name of the vulnerability assessment.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.vulnerabilityAssessmentName
- The name of the vulnerability assessment.context
- The context to associate with this operation.- Returns:
- the
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.
-
getById
SqlPoolVulnerabilityAssessment getById(String id)
Gets the Sql pool's vulnerability assessment.- Parameters:
id
- the resource ID.- Returns:
- the Sql pool's vulnerability assessment 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<SqlPoolVulnerabilityAssessment> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the Sql pool's vulnerability assessment.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the Sql pool's vulnerability assessment 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.
-
deleteById
void deleteById(String id)
Removes the database's vulnerability assessment.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Removes the database's vulnerability assessment.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the
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
SqlPoolVulnerabilityAssessment.DefinitionStages.Blank define(VulnerabilityAssessmentName name)
Begins definition for a new SqlPoolVulnerabilityAssessment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new SqlPoolVulnerabilityAssessment definition.
-
-