Share via


ArmSecurityCenterModelFactory.AzureServersSetting Method

Definition

Initializes a new instance of AzureServersSetting.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

selectedProvider
Nullable<ServerVulnerabilityAssessmentsAzureSettingSelectedProvider>

The selected vulnerability assessments provider on Azure servers in the defined scope.

Returns

A new AzureServersSetting instance for mocking.

Applies to