你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Action 构造函数

定义

重载

Action()

初始化 Action 类的新实例。

Action(String, IList<Parameter>)

初始化 Action 类的新实例。

Action()

初始化 Action 类的新实例。

public Action ();
Public Sub New ()

适用于

Action(String, IList<Parameter>)

初始化 Action 类的新实例。

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)

参数

type
String

要执行的操作类型。 支持的类型为“Remove”、“Add”、“Replace”和“Drop.”。 可能的值包括:“Unknown”、“Remove”、“Add”、“Replace”、“Drop”

parameters
IList<Parameter>

与操作相关的参数列表。例如,如果类型为 drop,则参数具有要删除的前缀列表。如果 type 为 add,则参数将包含要添加的 ASN 编号列表

适用于