[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Event

The Event is the criterion or criteria applied to the source and, when met, prompt Policy to run the action. All Reaction Events are constructed with reference to the object, the “source”, that is logically deemed to be the object upon which the Event in question initially occurred upon. Some example events include:

  • New object was created.
  • Change in realization state.
  • Specific API is called.


Properties

source Required

Source that is logically deemed to be the “object” upon which the Event in question initially occurred upon.


array of Criterion
criteria Optional

Criteria applied to the source and, if satisfied, would trigger the action. Criteria is composed of criterions. In order for the Criteria to be met, only one of the criterion must be fulfilled (implicit OR).

JSON Example

{
	"source": {
		"resource_type": "ResourceOperation"
	}
}

Vendor Extensions

This class contains the following vendor extensions defined in the spec:
x-vmw-nsx-module: PolicyReaction
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Property Of

InlineReaction1

Feedback

Was this page helpful?