ArmSqlModelFactory.SqlServerVulnerabilityAssessmentData 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 SqlServerVulnerabilityAssessmentData.
public static Azure.ResourceManager.Sql.SqlServerVulnerabilityAssessmentData SqlServerVulnerabilityAssessmentData (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 SqlServerVulnerabilityAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentRecurringScansProperties -> Azure.ResourceManager.Sql.SqlServerVulnerabilityAssessmentData
Public Shared Function SqlServerVulnerabilityAssessmentData (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 SqlServerVulnerabilityAssessmentData
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/).
- 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.
Returns
A new SqlServerVulnerabilityAssessmentData instance for mocking.