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.Synapse.Models.VulnerabilityAssessmentRecurringScansProperties recurringScans = default);
new Microsoft.Azure.Management.Synapse.Models.ServerVulnerabilityAssessment : string * string * string * string * string * string * Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentRecurringScansProperties -> Microsoft.Azure.Management.Synapse.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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

storageContainerSasKey
String

A shared access signature (SAS Key) that has read and 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

Applies to