Share via


ManagedDatabaseVulnerabilityAssessmentsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates the database's vulnerability assessment.

public static Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment CreateOrUpdate (this Microsoft.Azure.Management.Sql.IManagedDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string managedInstanceName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.IManagedDatabaseVulnerabilityAssessmentsOperations * string * string * string * Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment -> Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment
<Extension()>
Public Function CreateOrUpdate (operations As IManagedDatabaseVulnerabilityAssessmentsOperations, resourceGroupName As String, managedInstanceName As String, databaseName As String, parameters As DatabaseVulnerabilityAssessment) As DatabaseVulnerabilityAssessment

Parameters

operations
IManagedDatabaseVulnerabilityAssessmentsOperations

The operations group for this extension method.

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.

parameters
DatabaseVulnerabilityAssessment

The requested resource.

Returns

Applies to