BulkCreatePrivateIpsDetails¶
- class oci.core.models.BulkCreatePrivateIpsDetails(**kwargs)¶
Bases:
objectDetails used to create secondary private IPv4 addresses in a bulk operation.
Methods:
__init__(**kwargs)Initializes a new BulkCreatePrivateIpsDetails object with values from keyword arguments.
Attributes:
[Required] Gets the bulk_create_private_ip_item of this BulkCreatePrivateIpsDetails.
Gets the subnet_id of this BulkCreatePrivateIpsDetails.
Gets the vlan_id of this BulkCreatePrivateIpsDetails.
Gets the vnic_id of this BulkCreatePrivateIpsDetails.
- __init__(**kwargs)¶
Initializes a new BulkCreatePrivateIpsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
vnic_id (str) – The value to assign to the vnic_id property of this BulkCreatePrivateIpsDetails.
vlan_id (str) – The value to assign to the vlan_id property of this BulkCreatePrivateIpsDetails.
subnet_id (str) – The value to assign to the subnet_id property of this BulkCreatePrivateIpsDetails.
bulk_create_private_ip_item (list[oci.core.models.BulkCreatePrivateIpItem]) – The value to assign to the bulk_create_private_ip_item property of this BulkCreatePrivateIpsDetails.
- property bulk_create_private_ip_item¶
[Required] Gets the bulk_create_private_ip_item of this BulkCreatePrivateIpsDetails. A secondary IPv4 address to assign.
- Returns
The bulk_create_private_ip_item of this BulkCreatePrivateIpsDetails.
- Return type
- property subnet_id¶
Gets the subnet_id of this BulkCreatePrivateIpsDetails. The OCID of the subnet from which the private IPs is to be drawn. The IP addresses, if supplied, must be valid for the given subnet.
- Returns
The subnet_id of this BulkCreatePrivateIpsDetails.
- Return type
str
- property vlan_id¶
Gets the vlan_id of this BulkCreatePrivateIpsDetails. Use this attribute only with the Oracle Cloud VMware Solution. The OCID of the VLAN from which the private IPs is to be drawn. The IP addresses, if supplied, must be valid for the given VLAN. See
Vlan.- Returns
The vlan_id of this BulkCreatePrivateIpsDetails.
- Return type
str