Share via


ServerVulnerabilityAssessment Constructors

Definition

Overloads

ServerVulnerabilityAssessment()

Initializes a new instance of the ServerVulnerabilityAssessment class.

ServerVulnerabilityAssessment(String, String, String, String, String, String, VulnerabilityAssessmentRecurringScansProperties)

Initializes a new instance of the ServerVulnerabilityAssessment class.

ServerVulnerabilityAssessment()

Initializes a new instance of the ServerVulnerabilityAssessment class.

public ServerVulnerabilityAssessment ();
Public Sub New ()

Applies to

ServerVulnerabilityAssessment(String, String, String, String, String, String, VulnerabilityAssessmentRecurringScansProperties)

Initializes a new instance of the ServerVulnerabilityAssessment class.

public ServerVulnerabilityAssessment (string storageContainerPath, string id = default, string name = default, string type = default, string storageContainerSasKey = default, string storageAccountAccessKey = default, Microsoft.Azure.Management.Sql.Models.VulnerabilityAssessmentRecurringScansProperties recurringScans = default);
new Microsoft.Azure.Management.Sql.Models.ServerVulnerabilityAssessment : string * string * string * string * string * string * Microsoft.Azure.Management.Sql.Models.VulnerabilityAssessmentRecurringScansProperties -> Microsoft.Azure.Management.Sql.Models.ServerVulnerabilityAssessment
Public Sub New (storageContainerPath As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional storageContainerSasKey As String = Nothing, Optional storageAccountAccessKey As String = Nothing, Optional recurringScans As VulnerabilityAssessmentRecurringScansProperties = Nothing)

Parameters

storageContainerPath
String

A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

storageContainerSasKey
String

A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall

storageAccountAccessKey
String

Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall

recurringScans
VulnerabilityAssessmentRecurringScansProperties

The recurring scans settings

Applies to