class Rancher::VirtualMachine

Included Modules

Defined in:

rancher/types/generated/virtual_machine.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rancher::Object

client : Client client, client=(client : Client) client=, client? : Client | Nil client?, id : String id, id=(id : String) id=, id? : String | Nil id?, with_client(client : Client) with_client

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def blkio_weight : Int64 #

def blkio_weight=(blkio_weight : Int64) #

[View source]
def blkio_weight? : Int64 | Nil #

def cgroup_parent : String #

def cgroup_parent=(cgroup_parent : String) #

[View source]
def cgroup_parent? : String | Nil #

def command : Array(String) #

def command=(command : Array(String)) #

[View source]
def command? : Array(String) | Nil #

def count : Int64 #

def count=(count : Int64) #

[View source]
def count? : Int64 | Nil #

def cpu_count : Int64 #

def cpu_count=(cpu_count : Int64) #

[View source]
def cpu_count? : Int64 | Nil #

def cpu_percent : Int64 #

def cpu_percent=(cpu_percent : Int64) #

[View source]
def cpu_percent? : Int64 | Nil #

def cpu_period : Int64 #

def cpu_period=(cpu_period : Int64) #

[View source]
def cpu_period? : Int64 | Nil #

def cpu_quota : Int64 #

def cpu_quota=(cpu_quota : Int64) #

[View source]
def cpu_quota? : Int64 | Nil #

def cpu_realtime_period : Int64 #

def cpu_realtime_period=(cpu_realtime_period : Int64) #

[View source]
def cpu_realtime_period? : Int64 | Nil #

def cpu_realtime_runtime : Int64 #

def cpu_realtime_runtime=(cpu_realtime_runtime : Int64) #

[View source]
def cpu_realtime_runtime? : Int64 | Nil #

def cpu_set : String #

def cpu_set=(cpu_set : String) #

[View source]
def cpu_set? : String | Nil #

def cpu_set_mems : String #

def cpu_set_mems=(cpu_set_mems : String) #

[View source]
def cpu_set_mems? : String | Nil #

def cpu_shares : Int64 #

def cpu_shares=(cpu_shares : Int64) #

[View source]
def cpu_shares? : Int64 | Nil #

def create_index : Int64 #

def create_index=(create_index : Int64) #

[View source]
def create_index? : Int64 | Nil #

def created : Time #

def created=(created : Time) #

[View source]
def created? : Time | Nil #

def deployment_unit_uuid : String #

def deployment_unit_uuid=(deployment_unit_uuid : String) #

[View source]
def deployment_unit_uuid? : String | Nil #

def description : String #

def description=(description : String) #

[View source]
def description? : String | Nil #

def disk_quota : Int64 #

def disk_quota=(disk_quota : Int64) #

[View source]
def disk_quota? : Int64 | Nil #

def disks : Array(VirtualMachineDisk) #

def disks=(disks : Array(VirtualMachineDisk)) #

[View source]
def disks? : Array(VirtualMachineDisk) | Nil #

def dns : Array(String) #

def dns=(dns : Array(String)) #

[View source]
def dns? : Array(String) | Nil #

def dns_opt : Array(String) #

def dns_opt=(dns_opt : Array(String)) #

[View source]
def dns_opt? : Array(String) | Nil #

def dns_search : Array(String) #

def dns_search=(dns_search : Array(String)) #

[View source]
def dns_search? : Array(String) | Nil #

def domain_name : String #

def domain_name=(domain_name : String) #

[View source]
def domain_name? : String | Nil #

def expose : Array(String) #

def expose=(expose : Array(String)) #

[View source]
def expose? : Array(String) | Nil #

def external_id : String #

def external_id=(external_id : String) #

[View source]
def external_id? : String | Nil #

def extra_hosts : Array(String) #

def extra_hosts=(extra_hosts : Array(String)) #

[View source]
def extra_hosts? : Array(String) | Nil #

def first_running : Time #

def first_running=(first_running : Time) #

[View source]
def first_running? : Time | Nil #

def group_add : Array(String) #

def group_add=(group_add : Array(String)) #

[View source]
def group_add? : Array(String) | Nil #

def health_check : InstanceHealthCheck #

def health_check=(health_check : InstanceHealthCheck) #

[View source]
def health_check? : InstanceHealthCheck | Nil #

def health_cmd : Array(String) #

def health_cmd=(health_cmd : Array(String)) #

[View source]
def health_cmd? : Array(String) | Nil #

def health_interval : Int64 #

def health_interval=(health_interval : Int64) #

[View source]
def health_interval? : Int64 | Nil #

def health_retries : Int64 #

def health_retries=(health_retries : Int64) #

[View source]
def health_retries? : Int64 | Nil #

def health_state : String #

def health_state=(health_state : String) #

[View source]
def health_state? : String | Nil #

def health_timeout : Int64 #

def health_timeout=(health_timeout : Int64) #

[View source]
def health_timeout? : Int64 | Nil #

def hostname : String #

def hostname=(hostname : String) #

[View source]
def hostname? : String | Nil #

def image_uuid : String #

def image_uuid=(image_uuid : String) #

[View source]
def image_uuid? : String | Nil #

def instance_triggered_stop : String #

def instance_triggered_stop=(instance_triggered_stop : String) #

[View source]
def instance_triggered_stop? : String | Nil #

def io_maximum_bandwidth : Int64 #

def io_maximum_bandwidth=(io_maximum_bandwidth : Int64) #

[View source]
def io_maximum_bandwidth? : Int64 | Nil #

def io_maximum_i_ops : Int64 #

def io_maximum_i_ops=(io_maximum_i_ops : Int64) #

[View source]
def io_maximum_i_ops? : Int64 | Nil #

def ip : String #

def ip6 : String #

def ip6=(ip6 : String) #

[View source]
def ip6? : String | Nil #

def ip=(ip : String) #

[View source]
def ip? : String | Nil #

def ipc_mode : String #

def ipc_mode=(ipc_mode : String) #

[View source]
def ipc_mode? : String | Nil #

def isolation : String #

def isolation=(isolation : String) #

[View source]
def isolation? : String | Nil #

def kernel_memory : Int64 #

def kernel_memory=(kernel_memory : Int64) #

[View source]
def kernel_memory? : Int64 | Nil #

def kind : String #

def kind=(kind : String) #

[View source]
def kind? : String | Nil #

def log_config : LogConfig #

def log_config=(log_config : LogConfig) #

[View source]
def log_config? : LogConfig | Nil #

def memory : Int64 #

def memory=(memory : Int64) #

[View source]
def memory? : Int64 | Nil #

def memory_mb : Int64 #

def memory_mb=(memory_mb : Int64) #

[View source]
def memory_mb? : Int64 | Nil #

def memory_reservation : Int64 #

def memory_reservation=(memory_reservation : Int64) #

[View source]
def memory_reservation? : Int64 | Nil #

def memory_swap : Int64 #

def memory_swap=(memory_swap : Int64) #

[View source]
def memory_swap? : Int64 | Nil #

def memory_swappiness : Int64 #

def memory_swappiness=(memory_swappiness : Int64) #

[View source]
def memory_swappiness? : Int64 | Nil #

def milli_cpu_reservation : Int64 #

def milli_cpu_reservation=(milli_cpu_reservation : Int64) #

[View source]
def milli_cpu_reservation? : Int64 | Nil #

def mounts : Array(MountEntry) #

def mounts=(mounts : Array(MountEntry)) #

[View source]
def mounts? : Array(MountEntry) | Nil #

def name : String #

def name=(name : String) #

[View source]
def name? : String | Nil #

def native_container : Bool #

def native_container=(native_container : Bool) #

[View source]
def native_container? : Bool | Nil #

def net_alias : Array(String) #

def net_alias=(net_alias : Array(String)) #

[View source]
def net_alias? : Array(String) | Nil #

def network_mode : String #

def network_mode=(network_mode : String) #

[View source]
def network_mode? : String | Nil #

def oom_kill_disable : Bool #

def oom_kill_disable=(oom_kill_disable : Bool) #

[View source]
def oom_kill_disable? : Bool | Nil #

def oom_score_adj : Int64 #

def oom_score_adj=(oom_score_adj : Int64) #

[View source]
def oom_score_adj? : Int64 | Nil #

def pids_limit : Int64 #

def pids_limit=(pids_limit : Int64) #

[View source]
def pids_limit? : Int64 | Nil #

def ports : Array(String) #

def ports=(ports : Array(String)) #

[View source]
def ports? : Array(String) | Nil #

def primary_ip_address : String #

def primary_ip_address=(primary_ip_address : String) #

[View source]
def primary_ip_address? : String | Nil #

def removed : Time #

def removed=(removed : Time) #

[View source]
def removed? : Time | Nil #

def restart_policy : RestartPolicy #

def restart_policy=(restart_policy : RestartPolicy) #

[View source]
def restart_policy? : RestartPolicy | Nil #

def run_init : Bool #

def run_init=(run_init : Bool) #

[View source]
def run_init? : Bool | Nil #

def security_opt : Array(String) #

def security_opt=(security_opt : Array(String)) #

[View source]
def security_opt? : Array(String) | Nil #

def shm_size : Int64 #

def shm_size=(shm_size : Int64) #

[View source]
def shm_size? : Int64 | Nil #

def start_count : Int64 #

def start_count=(start_count : Int64) #

[View source]
def start_count? : Int64 | Nil #

def start_on_create : Bool #

def start_on_create=(start_on_create : Bool) #

[View source]
def start_on_create? : Bool | Nil #

def state : String #

def state=(state : String) #

[View source]
def state? : String | Nil #

def stop_signal : String #

def stop_signal=(stop_signal : String) #

[View source]
def stop_signal? : String | Nil #

def stop_timeout : Int64 #

def stop_timeout=(stop_timeout : Int64) #

[View source]
def stop_timeout? : Int64 | Nil #

def system : Bool #

def system=(system : Bool) #

[View source]
def system? : Bool | Nil #

def transitioning : String #

def transitioning=(transitioning : String) #

[View source]
def transitioning? : String | Nil #

def transitioning_message : String #

def transitioning_message=(transitioning_message : String) #

[View source]
def transitioning_message? : String | Nil #

def transitioning_progress : Int64 #

def transitioning_progress=(transitioning_progress : Int64) #

[View source]
def transitioning_progress? : Int64 | Nil #

def ulimits : Array(Ulimit) #

def ulimits=(ulimits : Array(Ulimit)) #

[View source]
def ulimits? : Array(Ulimit) | Nil #

def user_ports : Array(String) #

def user_ports=(user_ports : Array(String)) #

[View source]
def user_ports? : Array(String) | Nil #

def userdata : String #

def userdata=(userdata : String) #

[View source]
def userdata? : String | Nil #

def userns_mode : String #

def userns_mode=(userns_mode : String) #

[View source]
def userns_mode? : String | Nil #

def uts : String #

def uts=(uts : String) #

[View source]
def uts? : String | Nil #

def uuid : String #

def uuid=(uuid : String) #

[View source]
def uuid? : String | Nil #

def vcpu : Int64 #

def vcpu=(vcpu : Int64) #

[View source]
def vcpu? : Int64 | Nil #

def version : String #

def version=(version : String) #

[View source]
def version? : String | Nil #

def volume_driver : String #

def volume_driver=(volume_driver : String) #

[View source]
def volume_driver? : String | Nil #