InstanceState¶
-
class
oci.cloud_bridge.models.InstanceState(**kwargs)¶ Bases:
objectDescribes the current state of an instance.
Methods
__init__(**kwargs)Initializes a new InstanceState object with values from keyword arguments. Attributes
codeGets the code of this InstanceState. nameGets the name of this InstanceState. -
__init__(**kwargs)¶ Initializes a new InstanceState object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - code (int) – The value to assign to the code property of this InstanceState.
- name (str) – The value to assign to the name property of this InstanceState.
-
code¶ Gets the code of this InstanceState. The state of the instance as a 16-bit unsigned integer.
Returns: The code of this InstanceState. Return type: int
-
name¶ Gets the name of this InstanceState. The current state of the instance.
Returns: The name of this InstanceState. Return type: str
-