CreateVnicDetails¶
- class oci.container_engine.models.CreateVnicDetails(**kwargs)¶
Bases:
objectThe properties of the secondary vnics
Methods:
__init__(**kwargs)Initializes a new CreateVnicDetails object with values from keyword arguments.
Attributes:
Gets the application_resources of this CreateVnicDetails.
Gets the assign_ipv6_ip of this CreateVnicDetails.
Gets the assign_public_ip of this CreateVnicDetails.
Gets the defined_tags of this CreateVnicDetails.
Gets the display_name of this CreateVnicDetails.
Gets the freeform_tags of this CreateVnicDetails.
Gets the ip_count of this CreateVnicDetails.
Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this CreateVnicDetails.
Gets the nsg_ids of this CreateVnicDetails.
Gets the security_attributes of this CreateVnicDetails. `Security attributes`__ are labels for a resource that can be referenced in a `Zero Trust Packet Routing`__ (ZPR) policy to control access to ZPR-supported resources.
Gets the skip_source_dest_check of this CreateVnicDetails.
[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.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this CreateVnicDetails.
- property 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]
- property 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
- property 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
- property 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))
- property display_name¶
Gets the display_name of this CreateVnicDetails. Display name for secondary vnic
- Returns
The display_name of this CreateVnicDetails.
- Return type
str
- property 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)
- property 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
- property 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]
- property 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]
- property security_attributes¶
Gets the security_attributes of this CreateVnicDetails. `Security attributes`__ are labels
for a resource that can be referenced in a `Zero Trust Packet Routing`__ (ZPR) policy to control access to ZPR-supported resources.
- Returns
The security_attributes of this CreateVnicDetails.
- Return type
dict(str, dict(str, object))
- property 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
- property 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