Interface SqlPoolVulnerabilityAssessmentScans
public interface SqlPoolVulnerabilityAssessmentScans
Resource collection API of SqlPoolVulnerabilityAssessmentScans.
-
Method Summary
Modifier and TypeMethodDescriptionexport
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Convert an existing scan result to a human readable format.com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentScansExport>
exportWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Convert an existing scan result to a human readable format.get
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Gets a vulnerability assessment scan record of a Sql pool.com.azure.core.http.rest.Response<VulnerabilityAssessmentScanRecord>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Gets a vulnerability assessment scan record of a Sql pool.void
initiateScan
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Executes a Vulnerability Assessment database scan.void
initiateScan
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Executes a Vulnerability Assessment database scan.com.azure.core.http.rest.PagedIterable<VulnerabilityAssessmentScanRecord>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Lists the vulnerability assessment scans of a SQL poolcom.azure.core.http.rest.PagedIterable<VulnerabilityAssessmentScanRecord>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context) Lists the vulnerability assessment scans of a SQL pool
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<VulnerabilityAssessmentScanRecord> list(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName) Lists the vulnerability assessment scans of a SQL poolLists the vulnerability assessment scans 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.vulnerabilityAssessmentName
- The name of the vulnerability assessment.- Returns:
- a list of vulnerability assessment scan records 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<VulnerabilityAssessmentScanRecord> list(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context) Lists the vulnerability assessment scans of a SQL poolLists the vulnerability assessment scans 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.vulnerabilityAssessmentName
- The name of the vulnerability assessment.context
- The context to associate with this operation.- Returns:
- a list of vulnerability assessment scan records 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.
-
initiateScan
void initiateScan(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Executes a Vulnerability Assessment database scan.- 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.scanId
- The vulnerability assessment scan Id of the scan to retrieve.- 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.
-
initiateScan
void initiateScan(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Executes a Vulnerability Assessment database scan.- 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.scanId
- The vulnerability assessment scan Id of the scan to retrieve.context
- The context to associate with this operation.- 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.
-
exportWithResponse
com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessmentScansExport> exportWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Convert an existing scan result to a human readable format. If already exists nothing happens.- 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.scanId
- The vulnerability assessment scan Id of the scan to retrieve.context
- The context to associate with this operation.- Returns:
- a Sql pool Vulnerability Assessment scan export resource 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.
-
export
SqlPoolVulnerabilityAssessmentScansExport export(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Convert an existing scan result to a human readable format. If already exists nothing happens.- 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.scanId
- The vulnerability assessment scan Id of the scan to retrieve.- Returns:
- a Sql pool Vulnerability Assessment scan export resource.
- 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<VulnerabilityAssessmentScanRecord> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context) Gets a vulnerability assessment scan record 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.vulnerabilityAssessmentName
- The name of the vulnerability assessment.scanId
- The vulnerability assessment scan Id of the scan to retrieve.context
- The context to associate with this operation.- Returns:
- a vulnerability assessment scan record of a Sql pool 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
VulnerabilityAssessmentScanRecord get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId) Gets a vulnerability assessment scan record 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.vulnerabilityAssessmentName
- The name of the vulnerability assessment.scanId
- The vulnerability assessment scan Id of the scan to retrieve.- Returns:
- a vulnerability assessment scan record of a Sql pool.
- 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.
-