Interface SqlPoolVulnerabilityAssessmentsClient
public interface SqlPoolVulnerabilityAssessmentsClient
An instance of this class provides access to all the operations defined in SqlPoolVulnerabilityAssessmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters) Creates or updates the Sql pool vulnerability assessmentcom.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentInner>
createOrUpdateWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context) Creates or updates the Sql pool vulnerability assessmentvoid
delete
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Removes the database's vulnerability assessmentcom.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 assessmentget
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Gets the Sql pool's vulnerability assessmentcom.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentInner>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context) Gets the Sql pool's vulnerability assessmentcom.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessmentInner>
Lists the vulnerability assessment policies associated with a SQL poolcom.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessmentInner>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Lists the vulnerability assessment policies associated with a SQL pool
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessmentInner> list(String resourceGroupName, String workspaceName, String sqlPoolName) Lists the vulnerability assessment policies associated with a SQL poolLists 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<SqlPoolVulnerabilityAssessmentInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context) Lists the vulnerability assessment policies associated with a SQL poolLists 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.
-
getWithResponse
com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context) Gets the Sql pool's vulnerability assessmentGets 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.
-
get
SqlPoolVulnerabilityAssessmentInner get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Gets the Sql pool's vulnerability assessmentGets 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context) Creates or updates the Sql pool vulnerability assessmentCreates or updates the Sql pool 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.parameters
- The requested resource.context
- The context to associate with this operation.- Returns:
- a Sql pool 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.
-
createOrUpdate
SqlPoolVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters) Creates or updates the Sql pool vulnerability assessmentCreates or updates the Sql pool 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.parameters
- The requested resource.- Returns:
- a Sql pool 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 assessmentRemoves 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Removes the database's vulnerability assessmentRemoves 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.
-