File: TransitionSpec.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (25 lines) | stat: -rw-r--r-- 1,301 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _vSphere API 4.0: ../../../vim/version.rst#vimversionversion5

.. _vmodl.DynamicData: ../../../vmodl/DynamicData.rst

.. _vim.ManagedEntity.Status: ../../../vim/ManagedEntity/Status.rst


vim.alarm.AlarmTriggeringAction.TransitionSpec
==============================================
  Specification indicating which on transitions this action fires. The existence of a Spec indicates that this action fires on transitions from that Spec's startState to finalState.There are only four acceptable {startState, finalState} pairs: {green, yellow}, {yellow, red}, {red, yellow} and {yellow, green}. At least one of these pairs must be specified. Any deviation from the above will render the enclosing AlarmSpec invalid.
:extends: vmodl.DynamicData_
:since: `vSphere API 4.0`_

Attributes:
    startState (`vim.ManagedEntity.Status`_):

       The state from which the alarm must transition for the action to fire. Valid choices are red, yellow and green.
    finalState (`vim.ManagedEntity.Status`_):

       The state to which the alarm must transition for the action to fire. Valid choices are red, yellow, and green.
    repeats (`bool`_):

       Whether or not the action repeats, as per the actionFrequency defined in the enclosing Alarm.