OlvmInitialization

class oci.cloud_migrations.models.OlvmInitialization(**kwargs)

Bases: object

Type representing initialization configuration of a virtual machine.

Attributes

CLOUD_INIT_NETWORK_PROTOCOL_ENI A constant which can be used with the cloud_init_network_protocol property of a OlvmInitialization.
CLOUD_INIT_NETWORK_PROTOCOL_OPENSTACK_METADATA A constant which can be used with the cloud_init_network_protocol property of a OlvmInitialization.
active_directory_ou Gets the active_directory_ou of this OlvmInitialization.
cloud_init_network_protocol Gets the cloud_init_network_protocol of this OlvmInitialization.
configuration Gets the configuration of this OlvmInitialization.
custom_script Gets the custom_script of this OlvmInitialization.
dns_search Gets the dns_search of this OlvmInitialization.
dns_servers Gets the dns_servers of this OlvmInitialization.
domain Gets the domain of this OlvmInitialization.
host_name Gets the host_name of this OlvmInitialization.
input_locale Gets the input_locale of this OlvmInitialization.
is_regenerate_ids Gets the is_regenerate_ids of this OlvmInitialization.
is_regenerate_ssh_keys Gets the is_regenerate_ssh_keys of this OlvmInitialization.
nic_configurations Gets the nic_configurations of this OlvmInitialization.
org_name Gets the org_name of this OlvmInitialization.
system_locale Gets the system_locale of this OlvmInitialization.
timezone Gets the timezone of this OlvmInitialization.
ui_language Gets the ui_language of this OlvmInitialization.
user_locale Gets the user_locale of this OlvmInitialization.
username Gets the username of this OlvmInitialization.
windows_license_key Gets the windows_license_key of this OlvmInitialization.

Methods

__init__(**kwargs) Initializes a new OlvmInitialization object with values from keyword arguments.
CLOUD_INIT_NETWORK_PROTOCOL_ENI = 'ENI'

A constant which can be used with the cloud_init_network_protocol property of a OlvmInitialization. This constant has a value of “ENI”

CLOUD_INIT_NETWORK_PROTOCOL_OPENSTACK_METADATA = 'OPENSTACK_METADATA'

A constant which can be used with the cloud_init_network_protocol property of a OlvmInitialization. This constant has a value of “OPENSTACK_METADATA”

__init__(**kwargs)

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

Parameters:
  • active_directory_ou (str) – The value to assign to the active_directory_ou property of this OlvmInitialization.
  • cloud_init_network_protocol (str) – The value to assign to the cloud_init_network_protocol property of this OlvmInitialization. Allowed values for this property are: “ENI”, “OPENSTACK_METADATA”
  • configuration (oci.cloud_migrations.models.OlvmConfiguration) – The value to assign to the configuration property of this OlvmInitialization.
  • custom_script (str) – The value to assign to the custom_script property of this OlvmInitialization.
  • dns_search (str) – The value to assign to the dns_search property of this OlvmInitialization.
  • dns_servers (str) – The value to assign to the dns_servers property of this OlvmInitialization.
  • domain (str) – The value to assign to the domain property of this OlvmInitialization.
  • host_name (str) – The value to assign to the host_name property of this OlvmInitialization.
  • input_locale (str) – The value to assign to the input_locale property of this OlvmInitialization.
  • nic_configurations (list[oci.cloud_migrations.models.OlvmNicConfiguration]) – The value to assign to the nic_configurations property of this OlvmInitialization.
  • org_name (str) – The value to assign to the org_name property of this OlvmInitialization.
  • is_regenerate_ids (bool) – The value to assign to the is_regenerate_ids property of this OlvmInitialization.
  • is_regenerate_ssh_keys (bool) – The value to assign to the is_regenerate_ssh_keys property of this OlvmInitialization.
  • system_locale (str) – The value to assign to the system_locale property of this OlvmInitialization.
  • timezone (str) – The value to assign to the timezone property of this OlvmInitialization.
  • ui_language (str) – The value to assign to the ui_language property of this OlvmInitialization.
  • user_locale (str) – The value to assign to the user_locale property of this OlvmInitialization.
  • username (str) – The value to assign to the username property of this OlvmInitialization.
  • windows_license_key (str) – The value to assign to the windows_license_key property of this OlvmInitialization.
active_directory_ou

Gets the active_directory_ou of this OlvmInitialization. Active Directory Organizational Unit.

Returns:The active_directory_ou of this OlvmInitialization.
Return type:str
cloud_init_network_protocol

Gets the cloud_init_network_protocol of this OlvmInitialization. Defines the values for the cloud-init protocol. This protocol decides how the cloud-init network parameters are formatted before being passed to the virtual machine in order to be processed by cloud-init.

Allowed values for this property are: “ENI”, “OPENSTACK_METADATA”

Returns:The cloud_init_network_protocol of this OlvmInitialization.
Return type:str
configuration

Gets the configuration of this OlvmInitialization.

Returns:The configuration of this OlvmInitialization.
Return type:oci.cloud_migrations.models.OlvmConfiguration
custom_script

Gets the custom_script of this OlvmInitialization. Custom script that will be run when the VM starts.

Returns:The custom_script of this OlvmInitialization.
Return type:str

Gets the dns_search of this OlvmInitialization. DNS Search of the virtual machine.

Returns:The dns_search of this OlvmInitialization.
Return type:str
dns_servers

Gets the dns_servers of this OlvmInitialization. DNS Servers of the virtual machine.

Returns:The dns_servers of this OlvmInitialization.
Return type:str
domain

Gets the domain of this OlvmInitialization. Domain of the virtual machine.

Returns:The domain of this OlvmInitialization.
Return type:str
host_name

Gets the host_name of this OlvmInitialization. Host name of the virtual machine.

Returns:The host_name of this OlvmInitialization.
Return type:str
input_locale

Gets the input_locale of this OlvmInitialization. Input locale of the virtual machine.

Returns:The input_locale of this OlvmInitialization.
Return type:str
is_regenerate_ids

Gets the is_regenerate_ids of this OlvmInitialization. Indicates if new IDs should be regenerated.

Returns:The is_regenerate_ids of this OlvmInitialization.
Return type:bool
is_regenerate_ssh_keys

Gets the is_regenerate_ssh_keys of this OlvmInitialization. Indicates if new SSH Keys should be regenerated.

Returns:The is_regenerate_ssh_keys of this OlvmInitialization.
Return type:bool
nic_configurations

Gets the nic_configurations of this OlvmInitialization. The configuration of a virtual network interface.

Returns:The nic_configurations of this OlvmInitialization.
Return type:list[oci.cloud_migrations.models.OlvmNicConfiguration]
org_name

Gets the org_name of this OlvmInitialization. Organization name.

Returns:The org_name of this OlvmInitialization.
Return type:str
system_locale

Gets the system_locale of this OlvmInitialization. System locale of the virtual machine.

Returns:The system_locale of this OlvmInitialization.
Return type:str
timezone

Gets the timezone of this OlvmInitialization. Timezone of the virtual machine.

Returns:The timezone of this OlvmInitialization.
Return type:str
ui_language

Gets the ui_language of this OlvmInitialization. UI Language of the virtual machine.

Returns:The ui_language of this OlvmInitialization.
Return type:str
user_locale

Gets the user_locale of this OlvmInitialization. User Locale of the virtual machine.

Returns:The user_locale of this OlvmInitialization.
Return type:str
username

Gets the username of this OlvmInitialization. User name of the virtual machine.

Returns:The username of this OlvmInitialization.
Return type:str
windows_license_key

Gets the windows_license_key of this OlvmInitialization. Windows License Key of the virtual machine.

Returns:The windows_license_key of this OlvmInitialization.
Return type:str