VmInstanceSummary

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

Bases: object

VM instance on Database Infrastructure summary.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a VmInstanceSummary.

compartment_id

[Required] Gets the compartment_id of this VmInstanceSummary.

cpus_enabled

[Required] Gets the cpus_enabled of this VmInstanceSummary.

defined_tags

Gets the defined_tags of this VmInstanceSummary.

description

Gets the description of this VmInstanceSummary.

display_name

Gets the display_name of this VmInstanceSummary.

domain_name

Gets the domain_name of this VmInstanceSummary.

freeform_tags

Gets the freeform_tags of this VmInstanceSummary.

id

[Required] Gets the id of this VmInstanceSummary.

image_id

Gets the image_id of this VmInstanceSummary.

infrastructure_id

Gets the infrastructure_id of this VmInstanceSummary.

lifecycle_details

Gets the lifecycle_details of this VmInstanceSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this VmInstanceSummary.

memory_size_in_gbs

Gets the memory_size_in_gbs of this VmInstanceSummary.

server_id

Gets the server_id of this VmInstanceSummary.

system_tags

Gets the system_tags of this VmInstanceSummary.

time_created

[Required] Gets the time_created of this VmInstanceSummary.

time_updated

[Required] Gets the time_updated of this VmInstanceSummary.

time_zone

[Required] Gets the time_zone of this VmInstanceSummary.

vm_network_id

Gets the vm_network_id of this VmInstanceSummary.

Methods:

__init__(**kwargs)

Initializes a new VmInstanceSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a VmInstanceSummary. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this VmInstanceSummary.

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

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

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

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

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

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

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

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

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

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this VmInstanceSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this VmInstanceSummary.

  • time_created (datetime) – The value to assign to the time_created property of this VmInstanceSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this VmInstanceSummary.

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

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

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

property compartment_id

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

Returns

The compartment_id of this VmInstanceSummary.

Return type

str

property cpus_enabled

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

Returns

The cpus_enabled of this VmInstanceSummary.

Return type

int

property defined_tags

Gets the defined_tags of this VmInstanceSummary. 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 VmInstanceSummary.

Return type

dict(str, dict(str, object))

property description

Gets the description of this VmInstanceSummary. VM instance description.

Returns

The description of this VmInstanceSummary.

Return type

str

property display_name

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

Returns

The display_name of this VmInstanceSummary.

Return type

str

property domain_name

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

Returns

The domain_name of this VmInstanceSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this VmInstanceSummary. 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 VmInstanceSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this VmInstanceSummary. The OCID of the VM instance.

Returns

The id of this VmInstanceSummary.

Return type

str

property image_id

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

Returns

The image_id of this VmInstanceSummary.

Return type

str

property infrastructure_id

Gets the infrastructure_id of this VmInstanceSummary. The OCID of the Database Infrastructure.

Returns

The infrastructure_id of this VmInstanceSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this VmInstanceSummary. Lifecycle state details of the VM instance.

Returns

The lifecycle_details of this VmInstanceSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this VmInstanceSummary. The current state of the VM instance.

Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this VmInstanceSummary.

Return type

str

property memory_size_in_gbs

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

Returns

The memory_size_in_gbs of this VmInstanceSummary.

Return type

float

property server_id

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

Returns

The server_id of this VmInstanceSummary.

Return type

str

property system_tags

Gets the system_tags of this VmInstanceSummary. 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 VmInstanceSummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this VmInstanceSummary. The time that the VM instance was created. An RFC3339 formatted datetime string.

Returns

The time_created of this VmInstanceSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this VmInstanceSummary. The time that the VM instance was last updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this VmInstanceSummary.

Return type

datetime

property time_zone

[Required] Gets the time_zone of this VmInstanceSummary. The time zone to use for the VM instance.

Returns

The time_zone of this VmInstanceSummary.

Return type

str

property vm_network_id

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

Returns

The vm_network_id of this VmInstanceSummary.

Return type

str