UpdateDrProtectionGroupRoleDetails¶
- class oci.disaster_recovery.models.UpdateDrProtectionGroupRoleDetails(**kwargs)¶
Bases:
objectThe details for updating the role of a DR protection group.
Attributes:
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails.
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails.
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails.
[Required] Gets the role of this UpdateDrProtectionGroupRoleDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDrProtectionGroupRoleDetails object with values from keyword arguments.
- ROLE_PRIMARY = 'PRIMARY'¶
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails. This constant has a value of “PRIMARY”
- ROLE_STANDBY = 'STANDBY'¶
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails. This constant has a value of “STANDBY”
- ROLE_UNCONFIGURED = 'UNCONFIGURED'¶
A constant which can be used with the role property of a UpdateDrProtectionGroupRoleDetails. This constant has a value of “UNCONFIGURED”
- __init__(**kwargs)¶
Initializes a new UpdateDrProtectionGroupRoleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
role (str) – The value to assign to the role property of this UpdateDrProtectionGroupRoleDetails. Allowed values for this property are: “PRIMARY”, “STANDBY”, “UNCONFIGURED”
- property role¶
[Required] Gets the role of this UpdateDrProtectionGroupRoleDetails. The new role of the DR protection group.
Allowed values for this property are: “PRIMARY”, “STANDBY”, “UNCONFIGURED”
- Returns
The role of this UpdateDrProtectionGroupRoleDetails.
- Return type
str