ManagedInstanceVulnerabilityAssessments interface

Interface representing a ManagedInstanceVulnerabilityAssessments.

Methods

createOrUpdate(string, string, string, ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

delete(string, string, string, ManagedInstanceVulnerabilityAssessmentsDeleteOptionalParams)

Removes the managed instance's vulnerability assessment.

get(string, string, string, ManagedInstanceVulnerabilityAssessmentsGetOptionalParams)

Gets the managed instance's vulnerability assessment.

listByInstance(string, string, ManagedInstanceVulnerabilityAssessmentsListByInstanceOptionalParams)

Gets the managed instance's vulnerability assessment policies.

Method Details

createOrUpdate(string, string, string, ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the managed instance's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage

function createOrUpdate(resourceGroupName: string, managedInstanceName: string, vulnerabilityAssessmentName: string, parameters: ManagedInstanceVulnerabilityAssessment, options?: ManagedInstanceVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<ManagedInstanceVulnerabilityAssessment>

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 for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

parameters
ManagedInstanceVulnerabilityAssessment

The requested resource.

Returns

delete(string, string, string, ManagedInstanceVulnerabilityAssessmentsDeleteOptionalParams)

Removes the managed instance's vulnerability assessment.

function delete(resourceGroupName: string, managedInstanceName: string, vulnerabilityAssessmentName: string, options?: ManagedInstanceVulnerabilityAssessmentsDeleteOptionalParams): 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 for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

Returns

Promise<void>

get(string, string, string, ManagedInstanceVulnerabilityAssessmentsGetOptionalParams)

Gets the managed instance's vulnerability assessment.

function get(resourceGroupName: string, managedInstanceName: string, vulnerabilityAssessmentName: string, options?: ManagedInstanceVulnerabilityAssessmentsGetOptionalParams): Promise<ManagedInstanceVulnerabilityAssessment>

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 for which the vulnerability assessment is defined.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

Returns

listByInstance(string, string, ManagedInstanceVulnerabilityAssessmentsListByInstanceOptionalParams)

Gets the managed instance's vulnerability assessment policies.

function listByInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstanceVulnerabilityAssessmentsListByInstanceOptionalParams): PagedAsyncIterableIterator<ManagedInstanceVulnerabilityAssessment, ManagedInstanceVulnerabilityAssessment[], 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 for which the vulnerability assessments is defined.

Returns