ManagedDatabaseVulnerabilityAssessments interface

Interface representing a ManagedDatabaseVulnerabilityAssessments.

Methods

createOrUpdate(string, string, string, string, DatabaseVulnerabilityAssessment, ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the database's vulnerability assessment.

delete(string, string, string, string, ManagedDatabaseVulnerabilityAssessmentsDeleteOptionalParams)

Removes the database's vulnerability assessment.

get(string, string, string, string, ManagedDatabaseVulnerabilityAssessmentsGetOptionalParams)

Gets the database's vulnerability assessment.

listByDatabase(string, string, string, ManagedDatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams)

Lists the vulnerability assessments of a managed database.

Method Details

createOrUpdate(string, string, string, string, DatabaseVulnerabilityAssessment, ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the database's vulnerability assessment.

function createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, parameters: DatabaseVulnerabilityAssessment, options?: ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<DatabaseVulnerabilityAssessment>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

databaseName

string

The name of the database for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

parameters
DatabaseVulnerabilityAssessment

The requested resource.

Returns

delete(string, string, string, string, ManagedDatabaseVulnerabilityAssessmentsDeleteOptionalParams)

Removes the database's vulnerability assessment.

function delete(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: ManagedDatabaseVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

databaseName

string

The name of the database for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

Returns

Promise<void>

get(string, string, string, string, ManagedDatabaseVulnerabilityAssessmentsGetOptionalParams)

Gets the database's vulnerability assessment.

function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: ManagedDatabaseVulnerabilityAssessmentsGetOptionalParams): Promise<DatabaseVulnerabilityAssessment>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

databaseName

string

The name of the database for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

Returns

listByDatabase(string, string, string, ManagedDatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams)

Lists the vulnerability assessments of a managed database.

function listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams): PagedAsyncIterableIterator<DatabaseVulnerabilityAssessment, DatabaseVulnerabilityAssessment[], PageSettings>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

databaseName

string

The name of the database for which the vulnerability assessment is defined.

Returns