Compartilhar via


Action Class

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

Inheritance
azure.mgmt.network._serialization.Model
Action

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".

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.

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.