public interface SqlPoolVulnerabilityAssessments
Modifier and Type | Method and 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.
|
com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessment> list(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.http.rest.PagedIterable<SqlPoolVulnerabilityAssessment> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
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.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.SqlPoolVulnerabilityAssessment get(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
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.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.com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessment> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
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.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.void delete(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
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.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
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.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.SqlPoolVulnerabilityAssessment getById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<SqlPoolVulnerabilityAssessment> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.void deleteById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.SqlPoolVulnerabilityAssessment.DefinitionStages.Blank define(VulnerabilityAssessmentName name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.