Vnic¶
-
class
oci.batch.models.Vnic(**kwargs)¶ Bases:
objectPrivate endpoint’s VNIC.
Methods
__init__(**kwargs)Initializes a new Vnic object with values from keyword arguments. Attributes
id[Required] Gets the id of this Vnic. source_ips[Required] Gets the source_ips of this Vnic. -
__init__(**kwargs)¶ Initializes a new Vnic object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Vnic.
- source_ips (list[str]) – The value to assign to the source_ips property of this Vnic.
-
id¶ [Required] Gets the id of this Vnic. The OCID of the private endpoint’s VNIC, which resides in the customer’s VCN.
Returns: The id of this Vnic. Return type: str
-
source_ips¶ [Required] Gets the source_ips of this Vnic. A list of private IP addresses (in the customer’s VCN) that represent access points for the service.
Returns: The source_ips of this Vnic. Return type: list[str]
-