InstanceConfigurationCreateVnicDetails¶
-
class
oci.core.models.
InstanceConfigurationCreateVnicDetails
(**kwargs)¶ Bases:
object
Contains the properties of the VNIC for an instance configuration. See
CreateVnicDetails
and Instance Configurations for more information.Methods
__init__
(**kwargs)Initializes a new InstanceConfigurationCreateVnicDetails object with values from keyword arguments. Attributes
assign_ipv6_ip
Gets the assign_ipv6_ip of this InstanceConfigurationCreateVnicDetails. assign_private_dns_record
Gets the assign_private_dns_record of this InstanceConfigurationCreateVnicDetails. assign_public_ip
Gets the assign_public_ip of this InstanceConfigurationCreateVnicDetails. defined_tags
Gets the defined_tags of this InstanceConfigurationCreateVnicDetails. display_name
Gets the display_name of this InstanceConfigurationCreateVnicDetails. freeform_tags
Gets the freeform_tags of this InstanceConfigurationCreateVnicDetails. hostname_label
Gets the hostname_label of this InstanceConfigurationCreateVnicDetails. ipv6_address_ipv6_subnet_cidr_pair_details
Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this InstanceConfigurationCreateVnicDetails. nsg_ids
Gets the nsg_ids of this InstanceConfigurationCreateVnicDetails. private_ip
Gets the private_ip of this InstanceConfigurationCreateVnicDetails. security_attributes
Gets the security_attributes of this InstanceConfigurationCreateVnicDetails. skip_source_dest_check
Gets the skip_source_dest_check of this InstanceConfigurationCreateVnicDetails. subnet_id
Gets the subnet_id of this InstanceConfigurationCreateVnicDetails. -
__init__
(**kwargs)¶ Initializes a new InstanceConfigurationCreateVnicDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - assign_ipv6_ip (bool) – The value to assign to the assign_ipv6_ip property of this InstanceConfigurationCreateVnicDetails.
- assign_public_ip (bool) – The value to assign to the assign_public_ip property of this InstanceConfigurationCreateVnicDetails.
- assign_private_dns_record (bool) – The value to assign to the assign_private_dns_record property of this InstanceConfigurationCreateVnicDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InstanceConfigurationCreateVnicDetails.
- display_name (str) – The value to assign to the display_name property of this InstanceConfigurationCreateVnicDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InstanceConfigurationCreateVnicDetails.
- security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this InstanceConfigurationCreateVnicDetails.
- ipv6_address_ipv6_subnet_cidr_pair_details (list[oci.core.models.InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails]) – The value to assign to the ipv6_address_ipv6_subnet_cidr_pair_details property of this InstanceConfigurationCreateVnicDetails.
- hostname_label (str) – The value to assign to the hostname_label property of this InstanceConfigurationCreateVnicDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this InstanceConfigurationCreateVnicDetails.
- private_ip (str) – The value to assign to the private_ip property of this InstanceConfigurationCreateVnicDetails.
- skip_source_dest_check (bool) – The value to assign to the skip_source_dest_check property of this InstanceConfigurationCreateVnicDetails.
- subnet_id (str) – The value to assign to the subnet_id property of this InstanceConfigurationCreateVnicDetails.
-
assign_ipv6_ip
¶ Gets the assign_ipv6_ip of this InstanceConfigurationCreateVnicDetails. Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (ipv6SubnetCidr) of your choice to assign the IPv6 address from. If ipv6SubnetCidr is not provided then an IPv6 prefix is chosen for you.
Returns: The assign_ipv6_ip of this InstanceConfigurationCreateVnicDetails. Return type: bool
-
assign_private_dns_record
¶ Gets the assign_private_dns_record of this InstanceConfigurationCreateVnicDetails. Whether the VNIC should be assigned a private DNS record. See the assignPrivateDnsRecord attribute of
CreateVnicDetails
for more information.Returns: The assign_private_dns_record of this InstanceConfigurationCreateVnicDetails. Return type: bool
-
assign_public_ip
¶ Gets the assign_public_ip of this InstanceConfigurationCreateVnicDetails. Whether the VNIC should be assigned a public IP address. See the assignPublicIp attribute of
CreateVnicDetails
for more information.Returns: The assign_public_ip of this InstanceConfigurationCreateVnicDetails. Return type: bool
Gets the defined_tags of this InstanceConfigurationCreateVnicDetails. 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 InstanceConfigurationCreateVnicDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this InstanceConfigurationCreateVnicDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this InstanceConfigurationCreateVnicDetails. Return type: str
Gets the freeform_tags of this InstanceConfigurationCreateVnicDetails. 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 InstanceConfigurationCreateVnicDetails. Return type: dict(str, str)
-
hostname_label
¶ Gets the hostname_label of this InstanceConfigurationCreateVnicDetails. The hostname for the VNIC’s primary private IP. See the hostnameLabel attribute of
CreateVnicDetails
for more information.Returns: The hostname_label of this InstanceConfigurationCreateVnicDetails. Return type: str
-
ipv6_address_ipv6_subnet_cidr_pair_details
¶ Gets the ipv6_address_ipv6_subnet_cidr_pair_details of this InstanceConfigurationCreateVnicDetails. 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 InstanceConfigurationCreateVnicDetails. Return type: list[oci.core.models.InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails]
-
nsg_ids
¶ Gets the nsg_ids of this InstanceConfigurationCreateVnicDetails. A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more information about NSGs, see
NetworkSecurityGroup
.Returns: The nsg_ids of this InstanceConfigurationCreateVnicDetails. Return type: list[str]
-
private_ip
¶ Gets the private_ip of this InstanceConfigurationCreateVnicDetails. A private IP address of your choice to assign to the VNIC. See the privateIp attribute of
CreateVnicDetails
for more information.Returns: The private_ip of this InstanceConfigurationCreateVnicDetails. Return type: str
-
security_attributes
¶ Gets the security_attributes of this InstanceConfigurationCreateVnicDetails. Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls.
Example: {“Oracle-DataSecurity-ZPR”: {“MaxEgressCount”: {“value”:”42”,”mode”:”audit”}}}
Returns: The security_attributes of this InstanceConfigurationCreateVnicDetails. Return type: dict(str, dict(str, object))
-
skip_source_dest_check
¶ Gets the skip_source_dest_check of this InstanceConfigurationCreateVnicDetails. Whether the source/destination check is disabled on the VNIC. See the skipSourceDestCheck attribute of
CreateVnicDetails
for more information.Returns: The skip_source_dest_check of this InstanceConfigurationCreateVnicDetails. Return type: bool
-
subnet_id
¶ Gets the subnet_id of this InstanceConfigurationCreateVnicDetails. The OCID of the subnet to create the VNIC in. See the subnetId attribute of
CreateVnicDetails
for more information.Returns: The subnet_id of this InstanceConfigurationCreateVnicDetails. Return type: str
-