Sdílet prostřednictvím


Action Constructors

Definition

Overloads

Action()

Initializes a new instance of the Action class.

Action(String, IList<Parameter>)

Initializes a new instance of the Action class.

Action()

Initializes a new instance of the Action class.

public Action ();
Public Sub New ()

Applies to

Action(String, IList<Parameter>)

Initializes a new instance of the Action class.

public Action (string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Parameter> parameters = default);
new Microsoft.Azure.Management.Network.Models.Action : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Parameter> -> Microsoft.Azure.Management.Network.Models.Action
Public Sub New (Optional type As String = Nothing, Optional parameters As IList(Of Parameter) = Nothing)

Parameters

type
String

Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'. Possible values include: 'Unknown', 'Remove', 'Add', 'Replace', 'Drop'

parameters
IList<Parameter>

List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added

Applies to