LoadBalancerBackendSetMappingDetails¶
- class oci.disaster_recovery.models.LoadBalancerBackendSetMappingDetails(**kwargs)¶
Bases:
objectCreate backend set mapping properties for a load balancer member.
Methods:
__init__(**kwargs)Initializes a new LoadBalancerBackendSetMappingDetails object with values from keyword arguments.
Attributes:
[Required] Gets the destination_backend_set_name of this LoadBalancerBackendSetMappingDetails.
[Required] Gets the is_backend_set_for_non_movable of this LoadBalancerBackendSetMappingDetails.
[Required] Gets the source_backend_set_name of this LoadBalancerBackendSetMappingDetails.
- __init__(**kwargs)¶
Initializes a new LoadBalancerBackendSetMappingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_backend_set_for_non_movable (bool) – The value to assign to the is_backend_set_for_non_movable property of this LoadBalancerBackendSetMappingDetails.
source_backend_set_name (str) – The value to assign to the source_backend_set_name property of this LoadBalancerBackendSetMappingDetails.
destination_backend_set_name (str) – The value to assign to the destination_backend_set_name property of this LoadBalancerBackendSetMappingDetails.
- property destination_backend_set_name¶
[Required] Gets the destination_backend_set_name of this LoadBalancerBackendSetMappingDetails. The name of the destination backend set.
Example: Destination-BackendSet-1
- Returns
The destination_backend_set_name of this LoadBalancerBackendSetMappingDetails.
- Return type
str
- property is_backend_set_for_non_movable¶
[Required] Gets the is_backend_set_for_non_movable of this LoadBalancerBackendSetMappingDetails. This flag specifies if this backend set is used for traffic for non-movable compute instances. Backend sets that point to non-movable instances are only enabled or disabled during DR, their contents are not altered. For non-movable instances this flag should be set to ‘true’. Backend sets that point to movable instances are emptied and their contents are transferred to the destination region load balancer. For movable instances this flag should be set to ‘false’.
Example: true
- Returns
The is_backend_set_for_non_movable of this LoadBalancerBackendSetMappingDetails.
- Return type
bool
- property source_backend_set_name¶
[Required] Gets the source_backend_set_name of this LoadBalancerBackendSetMappingDetails. The name of the source backend set.
Example: Source-BackendSet-1
- Returns
The source_backend_set_name of this LoadBalancerBackendSetMappingDetails.
- Return type
str