EnvironmentRole

class oci.fusion_apps.models.EnvironmentRole(**kwargs)

Bases: object

Describes the role of the FA Environment.

Attributes

CURRENT_ROLE_PRIMARY A constant which can be used with the current_role property of a EnvironmentRole.
CURRENT_ROLE_STANDBY A constant which can be used with the current_role property of a EnvironmentRole.
current_role Gets the current_role of this EnvironmentRole.
standby_environment_id Gets the standby_environment_id of this EnvironmentRole.
standby_environment_region Gets the standby_environment_region of this EnvironmentRole.

Methods

__init__(**kwargs) Initializes a new EnvironmentRole object with values from keyword arguments.
CURRENT_ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the current_role property of a EnvironmentRole. This constant has a value of “PRIMARY”

CURRENT_ROLE_STANDBY = 'STANDBY'

A constant which can be used with the current_role property of a EnvironmentRole. This constant has a value of “STANDBY”

__init__(**kwargs)

Initializes a new EnvironmentRole object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • current_role (str) – The value to assign to the current_role property of this EnvironmentRole. Allowed values for this property are: “PRIMARY”, “STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • standby_environment_region (str) – The value to assign to the standby_environment_region property of this EnvironmentRole.
  • standby_environment_id (str) – The value to assign to the standby_environment_id property of this EnvironmentRole.
current_role

Gets the current_role of this EnvironmentRole. The current role of the environment

Allowed values for this property are: “PRIMARY”, “STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The current_role of this EnvironmentRole.
Return type:str
standby_environment_id

Gets the standby_environment_id of this EnvironmentRole. Fusion Environment ID of the standby environment

Returns:The standby_environment_id of this EnvironmentRole.
Return type:str
standby_environment_region

Gets the standby_environment_region of this EnvironmentRole. Region the standby environment is in

Returns:The standby_environment_region of this EnvironmentRole.
Return type:str