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

Action Class

Action to be taken on a route matching a RouteMap criterion.

Constructor

Action(*, type: str | _models.RouteMapActionType | None = None, parameters: List[_models.Parameter] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

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

Default value: None
parameters

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.

Default value: None

Variables

Name Description
type

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

parameters

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.