NetworkLoadBalancerEndpoint¶
-
class
oci.vn_monitoring.models.
NetworkLoadBalancerEndpoint
(**kwargs)¶ Bases:
oci.vn_monitoring.models.endpoint.Endpoint
Defines the details required for a NETWORK_LOAD_BALANCER-type Endpoint.
Attributes
TYPE_COMPUTE_INSTANCE
str(object=’’) -> str TYPE_IP_ADDRESS
str(object=’’) -> str TYPE_LOAD_BALANCER
str(object=’’) -> str TYPE_LOAD_BALANCER_LISTENER
str(object=’’) -> str TYPE_NETWORK_LOAD_BALANCER
str(object=’’) -> str TYPE_NETWORK_LOAD_BALANCER_LISTENER
str(object=’’) -> str TYPE_ON_PREM
str(object=’’) -> str TYPE_SUBNET
str(object=’’) -> str TYPE_VLAN
str(object=’’) -> str TYPE_VNIC
str(object=’’) -> str network_load_balancer_id
[Required] Gets the network_load_balancer_id of this NetworkLoadBalancerEndpoint. type
[Required] Gets the type of this Endpoint. Methods
__init__
(**kwargs)Initializes a new NetworkLoadBalancerEndpoint 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. -
TYPE_COMPUTE_INSTANCE
= 'COMPUTE_INSTANCE'¶
-
TYPE_IP_ADDRESS
= 'IP_ADDRESS'¶
-
TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶
-
TYPE_LOAD_BALANCER_LISTENER
= 'LOAD_BALANCER_LISTENER'¶
-
TYPE_NETWORK_LOAD_BALANCER
= 'NETWORK_LOAD_BALANCER'¶
-
TYPE_NETWORK_LOAD_BALANCER_LISTENER
= 'NETWORK_LOAD_BALANCER_LISTENER'¶
-
TYPE_ON_PREM
= 'ON_PREM'¶
-
TYPE_SUBNET
= 'SUBNET'¶
-
TYPE_VLAN
= 'VLAN'¶
-
TYPE_VNIC
= 'VNIC'¶
-
__init__
(**kwargs)¶ Initializes a new NetworkLoadBalancerEndpoint object with values from keyword arguments. The default value of the
type
attribute of this class isNETWORK_LOAD_BALANCER
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this NetworkLoadBalancerEndpoint. Allowed values for this property are: “IP_ADDRESS”, “SUBNET”, “COMPUTE_INSTANCE”, “VNIC”, “LOAD_BALANCER”, “LOAD_BALANCER_LISTENER”, “NETWORK_LOAD_BALANCER”, “NETWORK_LOAD_BALANCER_LISTENER”, “VLAN”, “ON_PREM”
- network_load_balancer_id (str) – The value to assign to the network_load_balancer_id property of this NetworkLoadBalancerEndpoint.
-
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.
-
network_load_balancer_id
¶ [Required] Gets the network_load_balancer_id of this NetworkLoadBalancerEndpoint. The OCID of the network load balancer.
Returns: The network_load_balancer_id of this NetworkLoadBalancerEndpoint. Return type: str
-
type
¶ [Required] Gets the type of this Endpoint. The type of the Endpoint.
Allowed values for this property are: “IP_ADDRESS”, “SUBNET”, “COMPUTE_INSTANCE”, “VNIC”, “LOAD_BALANCER”, “LOAD_BALANCER_LISTENER”, “NETWORK_LOAD_BALANCER”, “NETWORK_LOAD_BALANCER_LISTENER”, “VLAN”, “ON_PREM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this Endpoint. Return type: str
-