NetworkLoadBalancerBackendSetMapping¶
- class oci.disaster_recovery.models.NetworkLoadBalancerBackendSetMapping(**kwargs)¶
Bases:
objectA backend set mapping between source and destination network load balancer.
Methods:
__init__(**kwargs)Initializes a new NetworkLoadBalancerBackendSetMapping object with values from keyword arguments.
Attributes:
[Required] Gets the destination_backend_set_name of this NetworkLoadBalancerBackendSetMapping.
[Required] Gets the is_backend_set_for_non_movable of this NetworkLoadBalancerBackendSetMapping.
[Required] Gets the source_backend_set_name of this NetworkLoadBalancerBackendSetMapping.
- __init__(**kwargs)¶
Initializes a new NetworkLoadBalancerBackendSetMapping 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 NetworkLoadBalancerBackendSetMapping.
source_backend_set_name (str) – The value to assign to the source_backend_set_name property of this NetworkLoadBalancerBackendSetMapping.
destination_backend_set_name (str) – The value to assign to the destination_backend_set_name property of this NetworkLoadBalancerBackendSetMapping.
- property destination_backend_set_name¶
[Required] Gets the destination_backend_set_name of this NetworkLoadBalancerBackendSetMapping. The name of the destination backend set.
Example: example_backend_set
- Returns
The destination_backend_set_name of this NetworkLoadBalancerBackendSetMapping.
- Return type
str
- property is_backend_set_for_non_movable¶
[Required] Gets the is_backend_set_for_non_movable of this NetworkLoadBalancerBackendSetMapping. 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. 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 network load balancer. For movable instances this flag should be set to ‘false’.
Example: true
- Returns
The is_backend_set_for_non_movable of this NetworkLoadBalancerBackendSetMapping.
- Return type
bool
- property source_backend_set_name¶
[Required] Gets the source_backend_set_name of this NetworkLoadBalancerBackendSetMapping. The name of the source backend set.
Example: example_backend_set
- Returns
The source_backend_set_name of this NetworkLoadBalancerBackendSetMapping.
- Return type
str