Share via


ArmSecurityCenterModelFactory.ServerVulnerabilityAssessmentData Method

Definition

Initializes a new instance of ServerVulnerabilityAssessmentData.

public static Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentData ServerVulnerabilityAssessmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityAssessmentPropertiesProvisioningState? provisioningState = default);
static member ServerVulnerabilityAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.SecurityCenter.Models.ServerVulnerabilityAssessmentPropertiesProvisioningState> -> Azure.ResourceManager.SecurityCenter.ServerVulnerabilityAssessmentData
Public Shared Function ServerVulnerabilityAssessmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of ServerVulnerabilityAssessmentPropertiesProvisioningState) = Nothing) As ServerVulnerabilityAssessmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<ServerVulnerabilityAssessmentPropertiesProvisioningState>

The provisioningState of the vulnerability assessment capability on the VM.

Returns

A new ServerVulnerabilityAssessmentData instance for mocking.

Applies to