Interface DatabaseVulnerabilityAssessmentsClient
-
public interface DatabaseVulnerabilityAssessmentsClientAn instance of this class provides access to all the operations defined in DatabaseVulnerabilityAssessmentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatabaseVulnerabilityAssessmentInnercreateOrUpdate(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)Creates or updates the database's vulnerability assessment.Mono<DatabaseVulnerabilityAssessmentInner>createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)Creates or updates the database's vulnerability assessment.com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)Creates or updates the database's vulnerability assessment.Mono<com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)Creates or updates the database's vulnerability assessment.voiddelete(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the database's vulnerability assessment.Mono<Void>deleteAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the database's vulnerability assessment.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Removes the database's vulnerability assessment.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Removes the database's vulnerability assessment.DatabaseVulnerabilityAssessmentInnerget(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the database's vulnerability assessment.Mono<DatabaseVulnerabilityAssessmentInner>getAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the database's vulnerability assessment.com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)Gets the database's vulnerability assessment.Mono<com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)Gets the database's vulnerability assessment.com.azure.core.http.rest.PagedIterable<DatabaseVulnerabilityAssessmentInner>listByDatabase(String resourceGroupName, String serverName, String databaseName)Lists the vulnerability assessment policies associated with a database.com.azure.core.http.rest.PagedIterable<DatabaseVulnerabilityAssessmentInner>listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)Lists the vulnerability assessment policies associated with a database.com.azure.core.http.rest.PagedFlux<DatabaseVulnerabilityAssessmentInner>listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)Lists the vulnerability assessment policies associated with a database.
-
-
-
Method Detail
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the database'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.
-
getAsync
Mono<DatabaseVulnerabilityAssessmentInner> getAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the database'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.
-
get
DatabaseVulnerabilityAssessmentInner get(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Gets the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the database'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<DatabaseVulnerabilityAssessmentInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Gets the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.context- The context to associate with this operation.- Returns:
- the database'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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)
Creates or updates the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A database vulnerability assessment.- Returns:
- a database 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.
-
createOrUpdateAsync
Mono<DatabaseVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)
Creates or updates the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A database vulnerability assessment.- Returns:
- a database 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.
-
createOrUpdate
DatabaseVulnerabilityAssessmentInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters)
Creates or updates the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A database vulnerability assessment.- Returns:
- a database 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<DatabaseVulnerabilityAssessmentInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentInner parameters, com.azure.core.util.Context context)
Creates or updates the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.parameters- A database vulnerability assessment.context- The context to associate with this operation.- Returns:
- a database 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the completion.
- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.vulnerabilityAssessmentName- The name of the vulnerability assessment.- Returns:
- the completion.
- 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 serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.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 serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
Removes the database's vulnerability assessment.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment is defined.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.
-
listByDatabaseAsync
com.azure.core.http.rest.PagedFlux<DatabaseVulnerabilityAssessmentInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
Lists the vulnerability assessment policies associated with a database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment policies are defined.- Returns:
- a list of the database's vulnerability assessments.
- 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseVulnerabilityAssessmentInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
Lists the vulnerability assessment policies associated with a database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment policies are defined.- Returns:
- a list of the database's vulnerability assessments.
- 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.
-
listByDatabase
com.azure.core.http.rest.PagedIterable<DatabaseVulnerabilityAssessmentInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
Lists the vulnerability assessment policies associated with a database.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database for which the vulnerability assessment policies are defined.context- The context to associate with this operation.- Returns:
- a list of the database's vulnerability assessments.
- 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.
-
-