你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.DatabaseVulnerabilityAssessmentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.