다음을 통해 공유


DdosSettings Constructors

Definition

Overloads

DdosSettings()

Initializes a new instance of the DdosSettings class.

DdosSettings(String, SubResource)

Initializes a new instance of the DdosSettings class.

DdosSettings()

Initializes a new instance of the DdosSettings class.

public DdosSettings ();
Public Sub New ()

Applies to

DdosSettings(String, SubResource)

Initializes a new instance of the DdosSettings class.

public DdosSettings (string protectionMode = default, Microsoft.Azure.Management.Network.Models.SubResource ddosProtectionPlan = default);
new Microsoft.Azure.Management.Network.Models.DdosSettings : string * Microsoft.Azure.Management.Network.Models.SubResource -> Microsoft.Azure.Management.Network.Models.DdosSettings
Public Sub New (Optional protectionMode As String = Nothing, Optional ddosProtectionPlan As SubResource = Nothing)

Parameters

protectionMode
String

The DDoS protection mode of the public IP. Possible values include: 'VirtualNetworkInherited', 'Enabled', 'Disabled'

ddosProtectionPlan
SubResource

The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled

Applies to