CreateVmInstanceDetails

class oci.datacc.models.CreateVmInstanceDetails(**kwargs)

Bases: object

Create VM instance details.

Methods:

__init__(**kwargs)

Initializes a new CreateVmInstanceDetails object with values from keyword arguments.

Attributes:

boot_storage_size_in_gbs

Gets the boot_storage_size_in_gbs of this CreateVmInstanceDetails.

compartment_id

[Required] Gets the compartment_id of this CreateVmInstanceDetails.

cpus_enabled

[Required] Gets the cpus_enabled of this CreateVmInstanceDetails.

data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this CreateVmInstanceDetails.

defined_tags

Gets the defined_tags of this CreateVmInstanceDetails.

description

Gets the description of this CreateVmInstanceDetails.

display_name

Gets the display_name of this CreateVmInstanceDetails.

dns_servers

Gets the dns_servers of this CreateVmInstanceDetails.

domain_name

Gets the domain_name of this CreateVmInstanceDetails.

freeform_tags

Gets the freeform_tags of this CreateVmInstanceDetails.

gateway

Gets the gateway of this CreateVmInstanceDetails.

hostname

Gets the hostname of this CreateVmInstanceDetails.

image_id

Gets the image_id of this CreateVmInstanceDetails.

infrastructure_id

[Required] Gets the infrastructure_id of this CreateVmInstanceDetails.

ip_address

Gets the ip_address of this CreateVmInstanceDetails.

memory_size_in_gbs

Gets the memory_size_in_gbs of this CreateVmInstanceDetails.

metadata

Gets the metadata of this CreateVmInstanceDetails.

netmask

Gets the netmask of this CreateVmInstanceDetails.

ntp_servers

Gets the ntp_servers of this CreateVmInstanceDetails.

server_id

Gets the server_id of this CreateVmInstanceDetails.

ssh_public_keys

[Required] Gets the ssh_public_keys of this CreateVmInstanceDetails.

system_tags

Gets the system_tags of this CreateVmInstanceDetails.

time_zone

Gets the time_zone of this CreateVmInstanceDetails.

userdata

Gets the userdata of this CreateVmInstanceDetails.

vlan_id

Gets the vlan_id of this CreateVmInstanceDetails.

vm_network_id

Gets the vm_network_id of this CreateVmInstanceDetails.

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateVmInstanceDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateVmInstanceDetails.

  • description (str) – The value to assign to the description property of this CreateVmInstanceDetails.

  • infrastructure_id (str) – The value to assign to the infrastructure_id property of this CreateVmInstanceDetails.

  • cpus_enabled (int) – The value to assign to the cpus_enabled property of this CreateVmInstanceDetails.

  • memory_size_in_gbs (float) – The value to assign to the memory_size_in_gbs property of this CreateVmInstanceDetails.

  • boot_storage_size_in_gbs (float) – The value to assign to the boot_storage_size_in_gbs property of this CreateVmInstanceDetails.

  • data_storage_size_in_gbs (float) – The value to assign to the data_storage_size_in_gbs property of this CreateVmInstanceDetails.

  • image_id (str) – The value to assign to the image_id property of this CreateVmInstanceDetails.

  • server_id (str) – The value to assign to the server_id property of this CreateVmInstanceDetails.

  • ssh_public_keys (list[str]) – The value to assign to the ssh_public_keys property of this CreateVmInstanceDetails.

  • domain_name (str) – The value to assign to the domain_name property of this CreateVmInstanceDetails.

  • time_zone (str) – The value to assign to the time_zone property of this CreateVmInstanceDetails.

  • dns_servers (list[str]) – The value to assign to the dns_servers property of this CreateVmInstanceDetails.

  • ntp_servers (list[str]) – The value to assign to the ntp_servers property of this CreateVmInstanceDetails.

  • hostname (str) – The value to assign to the hostname property of this CreateVmInstanceDetails.

  • ip_address (str) – The value to assign to the ip_address property of this CreateVmInstanceDetails.

  • netmask (str) – The value to assign to the netmask property of this CreateVmInstanceDetails.

  • gateway (str) – The value to assign to the gateway property of this CreateVmInstanceDetails.

  • vlan_id (str) – The value to assign to the vlan_id property of this CreateVmInstanceDetails.

  • userdata (str) – The value to assign to the userdata property of this CreateVmInstanceDetails.

  • metadata (dict(str, str)) – The value to assign to the metadata property of this CreateVmInstanceDetails.

  • vm_network_id (str) – The value to assign to the vm_network_id property of this CreateVmInstanceDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVmInstanceDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVmInstanceDetails.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CreateVmInstanceDetails.

property boot_storage_size_in_gbs

Gets the boot_storage_size_in_gbs of this CreateVmInstanceDetails. Boot storage memory to be allocated in GBs.

Returns

The boot_storage_size_in_gbs of this CreateVmInstanceDetails.

Return type

float

property compartment_id

[Required] Gets the compartment_id of this CreateVmInstanceDetails. The OCID of the compartment containing the VM instance.

Returns

The compartment_id of this CreateVmInstanceDetails.

Return type

str

property cpus_enabled

[Required] Gets the cpus_enabled of this CreateVmInstanceDetails. The number of CPU cores enabled for each VM instance.

Returns

The cpus_enabled of this CreateVmInstanceDetails.

Return type

int

property data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this CreateVmInstanceDetails. Data storage to be allocated in GBs.

Returns

The data_storage_size_in_gbs of this CreateVmInstanceDetails.

Return type

float

property defined_tags

Gets the defined_tags of this CreateVmInstanceDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateVmInstanceDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateVmInstanceDetails. VM instance description.

Returns

The description of this CreateVmInstanceDetails.

Return type

str

property display_name

Gets the display_name of this CreateVmInstanceDetails. VM instance display name. This name does not have to be unique, and is changeable.

Returns

The display_name of this CreateVmInstanceDetails.

Return type

str

property dns_servers

Gets the dns_servers of this CreateVmInstanceDetails. The list of DNS server IP addresses. Maximum of 3 allowed.

Returns

The dns_servers of this CreateVmInstanceDetails.

Return type

list[str]

property domain_name

Gets the domain_name of this CreateVmInstanceDetails. The domain name of the VM instance.

Returns

The domain_name of this CreateVmInstanceDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateVmInstanceDetails. Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateVmInstanceDetails.

Return type

dict(str, str)

property gateway

Gets the gateway of this CreateVmInstanceDetails. The gateway IP address of the VM instance network

Returns

The gateway of this CreateVmInstanceDetails.

Return type

str

property hostname

Gets the hostname of this CreateVmInstanceDetails. The host name of the instance.

Returns

The hostname of this CreateVmInstanceDetails.

Return type

str

property image_id

Gets the image_id of this CreateVmInstanceDetails. The OCID of the VM custom instance uploaded.

Returns

The image_id of this CreateVmInstanceDetails.

Return type

str

property infrastructure_id

[Required] Gets the infrastructure_id of this CreateVmInstanceDetails. The OCID of the Database Infrastructure.

Returns

The infrastructure_id of this CreateVmInstanceDetails.

Return type

str

property ip_address

Gets the ip_address of this CreateVmInstanceDetails. The IP address of the instance.

Returns

The ip_address of this CreateVmInstanceDetails.

Return type

str

property memory_size_in_gbs

Gets the memory_size_in_gbs of this CreateVmInstanceDetails. The memory to be allocated in GBs.

Returns

The memory_size_in_gbs of this CreateVmInstanceDetails.

Return type

float

property metadata

Gets the metadata of this CreateVmInstanceDetails. Custom metadata key/value pairs which can be used to: - Provide information to Cloud-Init to be used for various system initialization tasks. - Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.

Returns

The metadata of this CreateVmInstanceDetails.

Return type

dict(str, str)

property netmask

Gets the netmask of this CreateVmInstanceDetails. The netmask of the VM instance network.

Returns

The netmask of this CreateVmInstanceDetails.

Return type

str

property ntp_servers

Gets the ntp_servers of this CreateVmInstanceDetails. The list of NTP server IP addresses. Maximum of 3 allowed.

Returns

The ntp_servers of this CreateVmInstanceDetails.

Return type

list[str]

property server_id

Gets the server_id of this CreateVmInstanceDetails. The OCID of the compute node on which VM instance should be launched.

Returns

The server_id of this CreateVmInstanceDetails.

Return type

str

property ssh_public_keys

[Required] Gets the ssh_public_keys of this CreateVmInstanceDetails. List of public key used for SSH access to the VM instance.

Returns

The ssh_public_keys of this CreateVmInstanceDetails.

Return type

list[str]

property system_tags

Gets the system_tags of this CreateVmInstanceDetails. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

Returns

The system_tags of this CreateVmInstanceDetails.

Return type

dict(str, dict(str, object))

property time_zone

Gets the time_zone of this CreateVmInstanceDetails. The time zone to use for the VM instance.

Returns

The time_zone of this CreateVmInstanceDetails.

Return type

str

property userdata

Gets the userdata of this CreateVmInstanceDetails. Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.

Returns

The userdata of this CreateVmInstanceDetails.

Return type

str

property vlan_id

Gets the vlan_id of this CreateVmInstanceDetails. The network VLAN ID.

Returns

The vlan_id of this CreateVmInstanceDetails.

Return type

str

property vm_network_id

Gets the vm_network_id of this CreateVmInstanceDetails. The OCID of the VM Network.

Returns

The vm_network_id of this CreateVmInstanceDetails.

Return type

str