Interface SqlPoolVulnerabilityAssessmentsClient
-
public interface SqlPoolVulnerabilityAssessmentsClient
An instance of this class provides access to all the operations defined in SqlPoolVulnerabilityAssessmentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlPoolVulnerabilityAssessmentInner
createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters)
Creates or updates the Sql pool vulnerability assessment.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 assessment.void
delete(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
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.SqlPoolVulnerabilityAssessmentInner
get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the Sql pool's vulnerability assessment.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 assessment.com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessmentInner>
list(String resourceGroupName, String workspaceName, String sqlPoolName)
Lists the vulnerability assessment policies associated with a SQL pool.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 pool.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessmentInner> 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<SqlPoolVulnerabilityAssessmentInner> 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
SqlPoolVulnerabilityAssessmentInner 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<SqlPoolVulnerabilityAssessmentInner> 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.
-
createOrUpdate
SqlPoolVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, SqlPoolVulnerabilityAssessmentInner parameters)
Creates 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.
-
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 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.
-
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.
-
-