Udostępnij za pośrednictwem


ArmSqlModelFactory.DatabaseVulnerabilityAssessmentData Method

Definition

Initializes a new instance of DatabaseVulnerabilityAssessmentData.

public static Azure.ResourceManager.Sql.DatabaseVulnerabilityAssessmentData DatabaseVulnerabilityAssessmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string storageContainerPath = default, string storageContainerSasKey = default, string storageAccountAccessKey = default, Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentRecurringScansProperties recurringScans = default);
static member DatabaseVulnerabilityAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentRecurringScansProperties -> Azure.ResourceManager.Sql.DatabaseVulnerabilityAssessmentData
Public Shared Function DatabaseVulnerabilityAssessmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional storageContainerPath As String = Nothing, Optional storageContainerSasKey As String = Nothing, Optional storageAccountAccessKey As String = Nothing, Optional recurringScans As VulnerabilityAssessmentRecurringScansProperties = Nothing) As DatabaseVulnerabilityAssessmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

storageContainerPath
String

A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set.

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.

storageAccountAccessKey
String

Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.

recurringScans
VulnerabilityAssessmentRecurringScansProperties

The recurring scans settings.

Returns

A new DatabaseVulnerabilityAssessmentData instance for mocking.

Applies to