CreateVnicDetails

class oci.container_engine.models.CreateVnicDetails(**kwargs)

Bases: object

The properties of the secondary vnics

Methods

__init__(**kwargs) Initializes a new CreateVnicDetails object with values from keyword arguments.

Attributes

application_resources Gets the application_resources of this CreateVnicDetails.
assign_ipv6_ip Gets the assign_ipv6_ip of this CreateVnicDetails.
assign_public_ip Gets the assign_public_ip of this CreateVnicDetails.
defined_tags Gets the defined_tags of this CreateVnicDetails.
display_name Gets the display_name of this CreateVnicDetails.
freeform_tags Gets the freeform_tags of this CreateVnicDetails.
ip_count Gets the ip_count of this CreateVnicDetails.
ipv6_address_ipv6_subnet_cidr_pair_details Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this CreateVnicDetails.
nsg_ids Gets the nsg_ids of this CreateVnicDetails.
skip_source_dest_check Gets the skip_source_dest_check of this CreateVnicDetails.
subnet_id [Required] Gets the subnet_id of this CreateVnicDetails.
__init__(**kwargs)

Initializes a new CreateVnicDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateVnicDetails.
  • assign_ipv6_ip (bool) – The value to assign to the assign_ipv6_ip property of this CreateVnicDetails.
  • assign_public_ip (bool) – The value to assign to the assign_public_ip property of this CreateVnicDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVnicDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVnicDetails.
  • ip_count (int) – The value to assign to the ip_count property of this CreateVnicDetails.
  • application_resources (list[str]) – The value to assign to the application_resources property of this CreateVnicDetails.
  • ipv6_address_ipv6_subnet_cidr_pair_details (list[oci.container_engine.models.Ipv6AddressIpv6SubnetCidrPairDetails]) – The value to assign to the ipv6_address_ipv6_subnet_cidr_pair_details property of this CreateVnicDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateVnicDetails.
  • skip_source_dest_check (bool) – The value to assign to the skip_source_dest_check property of this CreateVnicDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this CreateVnicDetails.
application_resources

Gets the application_resources of this CreateVnicDetails. The application resource that corresponds to this secondary vnic. Used to map pods to this specific vnic for scheduling

Returns:The application_resources of this CreateVnicDetails.
Return type:list[str]
assign_ipv6_ip

Gets the assign_ipv6_ip of this CreateVnicDetails. Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet

Returns:The assign_ipv6_ip of this CreateVnicDetails.
Return type:bool
assign_public_ip

Gets the assign_public_ip of this CreateVnicDetails. Whether the VNIC should be assigned a public IP address

Returns:The assign_public_ip of this CreateVnicDetails.
Return type:bool
defined_tags

Gets the defined_tags of this CreateVnicDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateVnicDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateVnicDetails. Display name for secondary vnic

Returns:The display_name of this CreateVnicDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateVnicDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateVnicDetails.
Return type:dict(str, str)
ip_count

Gets the ip_count of this CreateVnicDetails. The number of ip addresses to attach to secondary vnic

Returns:The ip_count of this CreateVnicDetails.
Return type:int
ipv6_address_ipv6_subnet_cidr_pair_details

Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this CreateVnicDetails. A list of IPv6 prefixes from which the VNIC should be assigned an IPv6 address. You can provide only the prefix and OCI selects an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range.

Returns:The ipv6_address_ipv6_subnet_cidr_pair_details of this CreateVnicDetails.
Return type:list[oci.container_engine.models.Ipv6AddressIpv6SubnetCidrPairDetails]
nsg_ids

Gets the nsg_ids of this CreateVnicDetails. A list of the OCIDs of the network security groups (NSGs) to add the VNIC to

Returns:The nsg_ids of this CreateVnicDetails.
Return type:list[str]
skip_source_dest_check

Gets the skip_source_dest_check of this CreateVnicDetails. Whether the source/destination check is disabled on the VNIC

Returns:The skip_source_dest_check of this CreateVnicDetails.
Return type:bool
subnet_id

[Required] Gets the subnet_id of this CreateVnicDetails. the ocid of the subnet to create the vnic in

Returns:The subnet_id of this CreateVnicDetails.
Return type:str