你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedDatabaseVulnerabilityAssessmentsClient Interface

public interface ManagedDatabaseVulnerabilityAssessmentsClient

An instance of this class provides access to all the operations defined in ManagedDatabaseVulnerabilityAssessmentsClient.

Method Summary

Modifier and Type Method and Description
abstract DatabaseVulnerabilityAssessmentAutoGeneratedInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner parameters)

Creates or updates the database's vulnerability assessment.

abstract Mono<DatabaseVulnerabilityAssessmentAutoGeneratedInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner parameters)

Creates or updates the database's vulnerability assessment.

abstract Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner parameters, Context context)

Creates or updates the database's vulnerability assessment.

abstract Mono<Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner parameters)

Creates or updates the database's vulnerability assessment.

abstract void delete(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the database's vulnerability assessment.

abstract Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the database's vulnerability assessment.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Removes the database's vulnerability assessment.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Removes the database's vulnerability assessment.

abstract DatabaseVulnerabilityAssessmentAutoGeneratedInner get(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the database's vulnerability assessment.

abstract Mono<DatabaseVulnerabilityAssessmentAutoGeneratedInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the database's vulnerability assessment.

abstract Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, Context context)

Gets the database's vulnerability assessment.

abstract Mono<Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)

Gets the database's vulnerability assessment.

abstract PagedIterable<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Lists the vulnerability assessments of a managed database.

abstract PagedIterable<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Lists the vulnerability assessments of a managed database.

abstract PagedFlux<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName)

Lists the vulnerability assessments of a managed database.

Method Details

createOrUpdate

public abstract DatabaseVulnerabilityAssessmentAutoGeneratedInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a database vulnerability assessment.

createOrUpdateAsync

public abstract Mono<DatabaseVulnerabilityAssessmentAutoGeneratedInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a database vulnerability assessment on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner parameters, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.
context - The context to associate with this operation.

Returns:

a database vulnerability assessment along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentAutoGeneratedInner 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.
parameters - The requested resource.

Returns:

a database vulnerability assessment along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

deleteAsync

public abstract Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, 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.
managedInstanceName - The name of the managed instance.
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:

deleteWithResponseAsync

public abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
vulnerabilityAssessmentName - The name of the vulnerability assessment.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract DatabaseVulnerabilityAssessmentAutoGeneratedInner get(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
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.

getAsync

public abstract Mono<DatabaseVulnerabilityAssessmentAutoGeneratedInner> getAsync(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
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 on successful completion of Mono.

getWithResponse

public abstract Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, 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.
managedInstanceName - The name of the managed instance.
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 along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<DatabaseVulnerabilityAssessmentAutoGeneratedInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, 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.
managedInstanceName - The name of the managed instance.
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 along with Response<T> on successful completion of Mono.

listByDatabase

public abstract PagedIterable<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Lists the vulnerability assessments of a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.

Returns:

a list of the database's vulnerability assessments as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Lists the vulnerability assessments of a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.
context - The context to associate with this operation.

Returns:

a list of the database's vulnerability assessments as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux<DatabaseVulnerabilityAssessmentAutoGeneratedInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName)

Lists the vulnerability assessments of a managed 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.
managedInstanceName - The name of the managed instance.
databaseName - The name of the database for which the vulnerability assessment is defined.

Returns:

a list of the database's vulnerability assessments as paginated response with PagedFlux<T>.

Applies to