Share via


DatabaseVulnerabilityAssessmentsOperationsExtensions.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.IDatabaseVulnerabilityAssessmentsOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Sql.IDatabaseVulnerabilityAssessmentsOperations * string * string * string * Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment -> Microsoft.Azure.Management.Sql.Models.DatabaseVulnerabilityAssessment
<Extension()>
Public Function CreateOrUpdate (operations As IDatabaseVulnerabilityAssessmentsOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As DatabaseVulnerabilityAssessment) As DatabaseVulnerabilityAssessment

Parameters

operations
IDatabaseVulnerabilityAssessmentsOperations

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.

serverName
String

The name of the server.

databaseName
String

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

parameters
DatabaseVulnerabilityAssessment

The requested resource.

Returns

Applies to