ComputeInstanceEndpoint¶
- class oci.vn_monitoring.models.ComputeInstanceEndpoint(**kwargs)¶
Bases:
EndpointDefines the details required for a COMPUTE_INSTANCE-type Endpoint.
Attributes:
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
A constant which can be used with the type property of a Endpoint.
[Required] Gets the address of this ComputeInstanceEndpoint.
[Required] Gets the instance_id of this ComputeInstanceEndpoint.
[Required] Gets the type of this Endpoint.
[Required] Gets the vnic_id of this ComputeInstanceEndpoint.
Methods:
__init__(**kwargs)Initializes a new ComputeInstanceEndpoint 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'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “COMPUTE_INSTANCE”
- TYPE_IP_ADDRESS = 'IP_ADDRESS'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “IP_ADDRESS”
- TYPE_LOAD_BALANCER = 'LOAD_BALANCER'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “LOAD_BALANCER”
- TYPE_LOAD_BALANCER_LISTENER = 'LOAD_BALANCER_LISTENER'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “LOAD_BALANCER_LISTENER”
- TYPE_NETWORK_LOAD_BALANCER = 'NETWORK_LOAD_BALANCER'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “NETWORK_LOAD_BALANCER”
- TYPE_NETWORK_LOAD_BALANCER_LISTENER = 'NETWORK_LOAD_BALANCER_LISTENER'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “NETWORK_LOAD_BALANCER_LISTENER”
- TYPE_ON_PREM = 'ON_PREM'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “ON_PREM”
- TYPE_PRIVATE_SERVICE_ACCESS = 'PRIVATE_SERVICE_ACCESS'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “PRIVATE_SERVICE_ACCESS”
- TYPE_SUBNET = 'SUBNET'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “SUBNET”
- TYPE_VLAN = 'VLAN'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “VLAN”
- TYPE_VNIC = 'VNIC'¶
A constant which can be used with the type property of a Endpoint. This constant has a value of “VNIC”
- __init__(**kwargs)¶
Initializes a new ComputeInstanceEndpoint object with values from keyword arguments. The default value of the
typeattribute of this class isCOMPUTE_INSTANCEand 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 ComputeInstanceEndpoint. 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”, “PRIVATE_SERVICE_ACCESS”
address (str) – The value to assign to the address property of this ComputeInstanceEndpoint.
instance_id (str) – The value to assign to the instance_id property of this ComputeInstanceEndpoint.
vnic_id (str) – The value to assign to the vnic_id property of this ComputeInstanceEndpoint.
- property address¶
[Required] Gets the address of this ComputeInstanceEndpoint. The IPv4 address of the COMPUTE_INSTANCE-type Endpoint object.
- Returns
The address of this ComputeInstanceEndpoint.
- 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.
- property instance_id¶
[Required] Gets the instance_id of this ComputeInstanceEndpoint. The OCID of the compute instance.
- Returns
The instance_id of this ComputeInstanceEndpoint.
- Return type
str
- property 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”, “PRIVATE_SERVICE_ACCESS”, ‘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