CreateVmInstanceDetails¶
-
class
oci.datacc.models.CreateVmInstanceDetails(**kwargs)¶ Bases:
objectCreate VM instance details.
Methods
__init__(**kwargs)Initializes a new CreateVmInstanceDetails object with values from keyword arguments. Attributes
boot_storage_size_in_gbsGets 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_gbsGets the data_storage_size_in_gbs of this CreateVmInstanceDetails. defined_tagsGets the defined_tags of this CreateVmInstanceDetails. descriptionGets the description of this CreateVmInstanceDetails. display_nameGets the display_name of this CreateVmInstanceDetails. dns_serversGets the dns_servers of this CreateVmInstanceDetails. domain_nameGets the domain_name of this CreateVmInstanceDetails. freeform_tagsGets the freeform_tags of this CreateVmInstanceDetails. gatewayGets the gateway of this CreateVmInstanceDetails. hostnameGets the hostname of this CreateVmInstanceDetails. image_idGets the image_id of this CreateVmInstanceDetails. infrastructure_id[Required] Gets the infrastructure_id of this CreateVmInstanceDetails. ip_addressGets the ip_address of this CreateVmInstanceDetails. memory_size_in_gbsGets the memory_size_in_gbs of this CreateVmInstanceDetails. metadataGets the metadata of this CreateVmInstanceDetails. netmaskGets the netmask of this CreateVmInstanceDetails. ntp_serversGets the ntp_servers of this CreateVmInstanceDetails. server_idGets the server_id of this CreateVmInstanceDetails. ssh_public_keys[Required] Gets the ssh_public_keys of this CreateVmInstanceDetails. system_tagsGets the system_tags of this CreateVmInstanceDetails. time_zoneGets the time_zone of this CreateVmInstanceDetails. userdataGets the userdata of this CreateVmInstanceDetails. vlan_idGets the vlan_id of this CreateVmInstanceDetails. vm_network_idGets 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.
-
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
-
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
-
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
-
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
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))
-
description¶ Gets the description of this CreateVmInstanceDetails. VM instance description.
Returns: The description of this CreateVmInstanceDetails. Return type: str
-
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
-
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]
-
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
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)
-
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
-
hostname¶ Gets the hostname of this CreateVmInstanceDetails. The host name of the instance.
Returns: The hostname of this CreateVmInstanceDetails. Return type: str
-
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
-
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
-
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
-
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
-
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)
-
netmask¶ Gets the netmask of this CreateVmInstanceDetails. The netmask of the VM instance network.
Returns: The netmask of this CreateVmInstanceDetails. Return type: str
-
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]
-
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
-
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]
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))
-
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
-
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
-
vlan_id¶ Gets the vlan_id of this CreateVmInstanceDetails. The network VLAN ID.
Returns: The vlan_id of this CreateVmInstanceDetails. Return type: str
-