共用方式為


ArmSqlModelFactory.ManagedInstanceVulnerabilityAssessmentData Method

Definition

Initializes a new instance of ManagedInstanceVulnerabilityAssessmentData.

public static Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentData ManagedInstanceVulnerabilityAssessmentData (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 ManagedInstanceVulnerabilityAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentRecurringScansProperties -> Azure.ResourceManager.Sql.ManagedInstanceVulnerabilityAssessmentData
Public Shared Function ManagedInstanceVulnerabilityAssessmentData (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 ManagedInstanceVulnerabilityAssessmentData

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/).

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 ManagedInstanceVulnerabilityAssessmentData instance for mocking.

Applies to