DrProtectionGroupMemberLoadBalancer¶
-
class
oci.disaster_recovery.models.
DrProtectionGroupMemberLoadBalancer
(**kwargs)¶ Bases:
oci.disaster_recovery.models.dr_protection_group_member.DrProtectionGroupMember
The properties for a load balancer member of a DR protection group.
Attributes
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
str(object=’’) -> str MEMBER_TYPE_AUTONOMOUS_DATABASE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
str(object=’’) -> str MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
str(object=’’) -> str MEMBER_TYPE_DATABASE
str(object=’’) -> str MEMBER_TYPE_FILE_SYSTEM
str(object=’’) -> str MEMBER_TYPE_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_NETWORK_LOAD_BALANCER
str(object=’’) -> str MEMBER_TYPE_OBJECT_STORAGE_BUCKET
str(object=’’) -> str MEMBER_TYPE_VOLUME_GROUP
str(object=’’) -> str backend_set_mappings
Gets the backend_set_mappings of this DrProtectionGroupMemberLoadBalancer. destination_load_balancer_id
Gets the destination_load_balancer_id of this DrProtectionGroupMemberLoadBalancer. member_id
[Required] Gets the member_id of this DrProtectionGroupMember. member_type
[Required] Gets the member_type of this DrProtectionGroupMember. Methods
__init__
(**kwargs)Initializes a new DrProtectionGroupMemberLoadBalancer object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE
= 'AUTONOMOUS_CONTAINER_DATABASE'¶
-
MEMBER_TYPE_AUTONOMOUS_DATABASE
= 'AUTONOMOUS_DATABASE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE
= 'COMPUTE_INSTANCE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE
= 'COMPUTE_INSTANCE_MOVABLE'¶
-
MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE
= 'COMPUTE_INSTANCE_NON_MOVABLE'¶
-
MEMBER_TYPE_DATABASE
= 'DATABASE'¶
-
MEMBER_TYPE_FILE_SYSTEM
= 'FILE_SYSTEM'¶
-
MEMBER_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
MEMBER_TYPE_NETWORK_LOAD_BALANCER
= 'NETWORK_LOAD_BALANCER'¶
-
MEMBER_TYPE_OBJECT_STORAGE_BUCKET
= 'OBJECT_STORAGE_BUCKET'¶
-
MEMBER_TYPE_VOLUME_GROUP
= 'VOLUME_GROUP'¶
-
__init__
(**kwargs)¶ Initializes a new DrProtectionGroupMemberLoadBalancer object with values from keyword arguments. The default value of the
member_type
attribute of this class isLOAD_BALANCER
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - member_id (str) – The value to assign to the member_id property of this DrProtectionGroupMemberLoadBalancer.
- member_type (str) – The value to assign to the member_type property of this DrProtectionGroupMemberLoadBalancer. Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OBJECT_STORAGE_BUCKET”
- destination_load_balancer_id (str) – The value to assign to the destination_load_balancer_id property of this DrProtectionGroupMemberLoadBalancer.
- backend_set_mappings (list[oci.disaster_recovery.models.LoadBalancerBackendSetMapping]) – The value to assign to the backend_set_mappings property of this DrProtectionGroupMemberLoadBalancer.
-
backend_set_mappings
¶ Gets the backend_set_mappings of this DrProtectionGroupMemberLoadBalancer. A list of backend set mappings that are used to transfer or update backends during DR.
Returns: The backend_set_mappings of this DrProtectionGroupMemberLoadBalancer. Return type: list[oci.disaster_recovery.models.LoadBalancerBackendSetMapping]
-
destination_load_balancer_id
¶ Gets the destination_load_balancer_id of this DrProtectionGroupMemberLoadBalancer. The OCID of the destination load balancer. The backend sets in this destination load balancer are updated during DR.
Example: ocid1.loadbalancer.oc1..uniqueID
Returns: The destination_load_balancer_id of this DrProtectionGroupMemberLoadBalancer. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
member_id
¶ [Required] Gets the member_id of this DrProtectionGroupMember. The OCID of the member.
Example: ocid1.instance.oc1..uniqueID
Returns: The member_id of this DrProtectionGroupMember. Return type: str
-
member_type
¶ [Required] Gets the member_type of this DrProtectionGroupMember. The type of the member.
Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OBJECT_STORAGE_BUCKET”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The member_type of this DrProtectionGroupMember. Return type: str
-