Documentation ¶
Overview ¶
+groupName=virtual.vsphere.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Disk
- func (in *Disk) DeepCopy() *Disk
- func (in *Disk) DeepCopyInto(out *Disk)
- func (in *Disk) DeepCopyObject() runtime.Object
- func (r *Disk) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Disk) ValidateCreate() error
- func (r *Disk) ValidateDelete() error
- func (r *Disk) ValidateUpdate(old runtime.Object) error
- type DiskList
- type DiskSpec
- type DiskSpecResource
- type DiskStatus
- type Machine
- func (in *Machine) DeepCopy() *Machine
- func (in *Machine) DeepCopyInto(out *Machine)
- func (in *Machine) DeepCopyObject() runtime.Object
- func (r *Machine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Machine) ValidateCreate() error
- func (r *Machine) ValidateDelete() error
- func (r *Machine) ValidateUpdate(old runtime.Object) error
- type MachineList
- type MachineSnapshot
- func (in *MachineSnapshot) DeepCopy() *MachineSnapshot
- func (in *MachineSnapshot) DeepCopyInto(out *MachineSnapshot)
- func (in *MachineSnapshot) DeepCopyObject() runtime.Object
- func (r *MachineSnapshot) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MachineSnapshot) ValidateCreate() error
- func (r *MachineSnapshot) ValidateDelete() error
- func (r *MachineSnapshot) ValidateUpdate(old runtime.Object) error
- type MachineSnapshotList
- type MachineSnapshotSpec
- type MachineSnapshotSpecResource
- type MachineSnapshotStatus
- type MachineSpec
- type MachineSpecCdrom
- type MachineSpecCdromCodec
- type MachineSpecClone
- type MachineSpecCloneCodec
- type MachineSpecCloneCustomize
- type MachineSpecCloneCustomizeCodec
- type MachineSpecCloneCustomizeLinuxOptions
- type MachineSpecCloneCustomizeLinuxOptionsCodec
- type MachineSpecCloneCustomizeNetworkInterface
- type MachineSpecCloneCustomizeWindowsOptions
- type MachineSpecCloneCustomizeWindowsOptionsCodec
- type MachineSpecDisk
- type MachineSpecNetworkInterface
- type MachineSpecOvfDeploy
- type MachineSpecOvfDeployCodec
- type MachineSpecResource
- type MachineSpecVapp
- type MachineSpecVappCodec
- type MachineStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: virtual.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Disk ¶
type Disk struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DiskSpec `json:"spec,omitempty"` Status DiskStatus `json:"status,omitempty"` }
func (*Disk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.
func (*Disk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Disk) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Disk) SetupWebhookWithManager ¶
func (*Disk) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Disk) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DiskList ¶
type DiskList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Disk CRD objects Items []Disk `json:"items,omitempty"` }
DiskList is a list of Disks
func (*DiskList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskList.
func (*DiskList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiskList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiskSpec ¶
type DiskSpec struct { State *DiskSpecResource `json:"state,omitempty" tf:"-"` Resource DiskSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*DiskSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSpec.
func (*DiskSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskSpecResource ¶
type DiskSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional // Deprecated AdapterType *string `json:"adapterType,omitempty" tf:"adapter_type"` // +optional CreateDirectories *bool `json:"createDirectories,omitempty" tf:"create_directories"` // +optional Datacenter *string `json:"datacenter,omitempty" tf:"datacenter"` Datastore *string `json:"datastore" tf:"datastore"` Size *int64 `json:"size" tf:"size"` // +optional Type *string `json:"type,omitempty" tf:"type"` VmdkPath *string `json:"vmdkPath" tf:"vmdk_path"` }
func (*DiskSpecResource) DeepCopy ¶
func (in *DiskSpecResource) DeepCopy() *DiskSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSpecResource.
func (*DiskSpecResource) DeepCopyInto ¶
func (in *DiskSpecResource) DeepCopyInto(out *DiskSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiskStatus ¶
type DiskStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*DiskStatus) DeepCopy ¶
func (in *DiskStatus) DeepCopy() *DiskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskStatus.
func (*DiskStatus) DeepCopyInto ¶
func (in *DiskStatus) DeepCopyInto(out *DiskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Machine ¶
type Machine struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineSpec `json:"spec,omitempty"` Status MachineStatus `json:"status,omitempty"` }
func (*Machine) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Machine) SetupWebhookWithManager ¶
func (*Machine) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Machine) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MachineList ¶
type MachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Machine CRD objects Items []Machine `json:"items,omitempty"` }
MachineList is a list of Machines
func (*MachineList) DeepCopy ¶
func (in *MachineList) DeepCopy() *MachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.
func (*MachineList) DeepCopyInto ¶
func (in *MachineList) DeepCopyInto(out *MachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineList) DeepCopyObject ¶
func (in *MachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineSnapshot ¶
type MachineSnapshot struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineSnapshotSpec `json:"spec,omitempty"` Status MachineSnapshotStatus `json:"status,omitempty"` }
func (*MachineSnapshot) DeepCopy ¶
func (in *MachineSnapshot) DeepCopy() *MachineSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSnapshot.
func (*MachineSnapshot) DeepCopyInto ¶
func (in *MachineSnapshot) DeepCopyInto(out *MachineSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineSnapshot) DeepCopyObject ¶
func (in *MachineSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MachineSnapshot) SetupWebhookWithManager ¶
func (r *MachineSnapshot) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*MachineSnapshot) ValidateCreate ¶
func (r *MachineSnapshot) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MachineSnapshot) ValidateDelete ¶
func (r *MachineSnapshot) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*MachineSnapshot) ValidateUpdate ¶
func (r *MachineSnapshot) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type MachineSnapshotList ¶
type MachineSnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of MachineSnapshot CRD objects Items []MachineSnapshot `json:"items,omitempty"` }
MachineSnapshotList is a list of MachineSnapshots
func (*MachineSnapshotList) DeepCopy ¶
func (in *MachineSnapshotList) DeepCopy() *MachineSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSnapshotList.
func (*MachineSnapshotList) DeepCopyInto ¶
func (in *MachineSnapshotList) DeepCopyInto(out *MachineSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineSnapshotList) DeepCopyObject ¶
func (in *MachineSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineSnapshotSpec ¶
type MachineSnapshotSpec struct { State *MachineSnapshotSpecResource `json:"state,omitempty" tf:"-"` Resource MachineSnapshotSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*MachineSnapshotSpec) DeepCopy ¶
func (in *MachineSnapshotSpec) DeepCopy() *MachineSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSnapshotSpec.
func (*MachineSnapshotSpec) DeepCopyInto ¶
func (in *MachineSnapshotSpec) DeepCopyInto(out *MachineSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSnapshotSpecResource ¶
type MachineSnapshotSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Consolidate *bool `json:"consolidate,omitempty" tf:"consolidate"` Description *string `json:"description" tf:"description"` Memory *bool `json:"memory" tf:"memory"` Quiesce *bool `json:"quiesce" tf:"quiesce"` // +optional RemoveChildren *bool `json:"removeChildren,omitempty" tf:"remove_children"` SnapshotName *string `json:"snapshotName" tf:"snapshot_name"` VirtualMachineUUID *string `json:"virtualMachineUUID" tf:"virtual_machine_uuid"` }
func (*MachineSnapshotSpecResource) DeepCopy ¶
func (in *MachineSnapshotSpecResource) DeepCopy() *MachineSnapshotSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSnapshotSpecResource.
func (*MachineSnapshotSpecResource) DeepCopyInto ¶
func (in *MachineSnapshotSpecResource) DeepCopyInto(out *MachineSnapshotSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSnapshotStatus ¶
type MachineSnapshotStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*MachineSnapshotStatus) DeepCopy ¶
func (in *MachineSnapshotStatus) DeepCopy() *MachineSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSnapshotStatus.
func (*MachineSnapshotStatus) DeepCopyInto ¶
func (in *MachineSnapshotStatus) DeepCopyInto(out *MachineSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { State *MachineSpecResource `json:"state,omitempty" tf:"-"` Resource MachineSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCdrom ¶
type MachineSpecCdrom struct { // Indicates whether the device should be mapped to a remote client device // +optional ClientDevice *bool `json:"clientDevice,omitempty" tf:"client_device"` // The datastore ID the ISO is located on. // +optional DatastoreID *string `json:"datastoreID,omitempty" tf:"datastore_id"` // The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1. // +optional DeviceAddress *string `json:"deviceAddress,omitempty" tf:"device_address"` // The unique device ID for this device within its virtual machine. // +optional Key *int64 `json:"key,omitempty" tf:"key"` // The path to the ISO file on the datastore. // +optional Path *string `json:"path,omitempty" tf:"path"` }
func (*MachineSpecCdrom) DeepCopy ¶
func (in *MachineSpecCdrom) DeepCopy() *MachineSpecCdrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecCdrom.
func (*MachineSpecCdrom) DeepCopyInto ¶
func (in *MachineSpecCdrom) DeepCopyInto(out *MachineSpecCdrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCdromCodec ¶
type MachineSpecCdromCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecCdromCodec) Decode ¶
func (MachineSpecCdromCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecClone ¶
type MachineSpecClone struct { // The customization spec for this clone. This allows the user to configure the virtual machine post-clone. // +optional Customize *MachineSpecCloneCustomize `json:"customize,omitempty" tf:"customize"` // Whether or not to create a linked clone when cloning. When this option is used, the source VM must have a single snapshot associated with it. // +optional LinkedClone *bool `json:"linkedClone,omitempty" tf:"linked_clone"` // Mapping of ovf networks to the networks to use in vSphere. // +optional OvfNetworkMap *map[string]string `json:"ovfNetworkMap,omitempty" tf:"ovf_network_map"` // Mapping of ovf storage to the datastores to use in vSphere. // +optional OvfStorageMap *map[string]string `json:"ovfStorageMap,omitempty" tf:"ovf_storage_map"` // The UUID of the source virtual machine or template. TemplateUUID *string `json:"templateUUID" tf:"template_uuid"` // The timeout, in minutes, to wait for the virtual machine clone to complete. // +optional Timeout *int64 `json:"timeout,omitempty" tf:"timeout"` }
func (*MachineSpecClone) DeepCopy ¶
func (in *MachineSpecClone) DeepCopy() *MachineSpecClone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecClone.
func (*MachineSpecClone) DeepCopyInto ¶
func (in *MachineSpecClone) DeepCopyInto(out *MachineSpecClone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCloneCodec ¶
type MachineSpecCloneCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecCloneCodec) Decode ¶
func (MachineSpecCloneCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecCloneCustomize ¶
type MachineSpecCloneCustomize struct { // The list of DNS servers for a virtual network adapter with a static IP address. // +optional DnsServerList []string `json:"dnsServerList,omitempty" tf:"dns_server_list"` // A list of DNS search domains to add to the DNS configuration on the virtual machine. // +optional DnsSuffixList []string `json:"dnsSuffixList,omitempty" tf:"dns_suffix_list"` // The IPv4 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource. // +optional Ipv4Gateway *string `json:"ipv4Gateway,omitempty" tf:"ipv4_gateway"` // The IPv6 default gateway when using network_interface customization on the virtual machine. This address must be local to a static IPv4 address configured in an interface sub-resource. // +optional Ipv6Gateway *string `json:"ipv6Gateway,omitempty" tf:"ipv6_gateway"` // A list of configuration options specific to Linux virtual machines. // +optional LinuxOptions *MachineSpecCloneCustomizeLinuxOptions `json:"linuxOptions,omitempty" tf:"linux_options"` // A specification of network interface configuration options. // +optional NetworkInterface []MachineSpecCloneCustomizeNetworkInterface `json:"networkInterface,omitempty" tf:"network_interface"` // The amount of time, in minutes, to wait for guest OS customization to complete before returning with an error. Setting this value to 0 or a negative value skips the waiter. // +optional Timeout *int64 `json:"timeout,omitempty" tf:"timeout"` // A list of configuration options specific to Windows virtual machines. // +optional WindowsOptions *MachineSpecCloneCustomizeWindowsOptions `json:"windowsOptions,omitempty" tf:"windows_options"` // Use this option to specify a windows sysprep file directly. // +optional WindowsSysprepText *string `json:"-" sensitive:"true" tf:"windows_sysprep_text"` }
func (*MachineSpecCloneCustomize) DeepCopy ¶
func (in *MachineSpecCloneCustomize) DeepCopy() *MachineSpecCloneCustomize
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecCloneCustomize.
func (*MachineSpecCloneCustomize) DeepCopyInto ¶
func (in *MachineSpecCloneCustomize) DeepCopyInto(out *MachineSpecCloneCustomize)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCloneCustomizeCodec ¶
type MachineSpecCloneCustomizeCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecCloneCustomizeCodec) Decode ¶
func (MachineSpecCloneCustomizeCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecCloneCustomizeLinuxOptions ¶
type MachineSpecCloneCustomizeLinuxOptions struct { // The FQDN for this virtual machine. Domain *string `json:"domain" tf:"domain"` // The host name for this virtual machine. HostName *string `json:"hostName" tf:"host_name"` // Specifies whether or not the hardware clock should be in UTC or not. // +optional HwClockUtc *bool `json:"hwClockUtc,omitempty" tf:"hw_clock_utc"` // Customize the time zone on the VM. This should be a time zone-style entry, like America/Los_Angeles. // +optional TimeZone *string `json:"timeZone,omitempty" tf:"time_zone"` }
func (*MachineSpecCloneCustomizeLinuxOptions) DeepCopy ¶
func (in *MachineSpecCloneCustomizeLinuxOptions) DeepCopy() *MachineSpecCloneCustomizeLinuxOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecCloneCustomizeLinuxOptions.
func (*MachineSpecCloneCustomizeLinuxOptions) DeepCopyInto ¶
func (in *MachineSpecCloneCustomizeLinuxOptions) DeepCopyInto(out *MachineSpecCloneCustomizeLinuxOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCloneCustomizeLinuxOptionsCodec ¶
type MachineSpecCloneCustomizeLinuxOptionsCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecCloneCustomizeLinuxOptionsCodec) Decode ¶
func (MachineSpecCloneCustomizeLinuxOptionsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecCloneCustomizeNetworkInterface ¶
type MachineSpecCloneCustomizeNetworkInterface struct { // A DNS search domain to add to the DNS configuration on the virtual machine. // +optional DnsDomain *string `json:"dnsDomain,omitempty" tf:"dns_domain"` // Network-interface specific DNS settings for Windows operating systems. Ignored on Linux. // +optional DnsServerList []string `json:"dnsServerList,omitempty" tf:"dns_server_list"` // The IPv4 address assigned to this network adapter. If left blank, DHCP is used. // +optional Ipv4Address *string `json:"ipv4Address,omitempty" tf:"ipv4_address"` // The IPv4 CIDR netmask for the supplied IP address. Ignored if DHCP is selected. // +optional Ipv4Netmask *int64 `json:"ipv4Netmask,omitempty" tf:"ipv4_netmask"` // The IPv6 address assigned to this network adapter. If left blank, default auto-configuration is used. // +optional Ipv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address"` // The IPv6 CIDR netmask for the supplied IP address. Ignored if auto-configuration is selected. // +optional Ipv6Netmask *int64 `json:"ipv6Netmask,omitempty" tf:"ipv6_netmask"` }
func (*MachineSpecCloneCustomizeNetworkInterface) DeepCopy ¶
func (in *MachineSpecCloneCustomizeNetworkInterface) DeepCopy() *MachineSpecCloneCustomizeNetworkInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecCloneCustomizeNetworkInterface.
func (*MachineSpecCloneCustomizeNetworkInterface) DeepCopyInto ¶
func (in *MachineSpecCloneCustomizeNetworkInterface) DeepCopyInto(out *MachineSpecCloneCustomizeNetworkInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCloneCustomizeWindowsOptions ¶
type MachineSpecCloneCustomizeWindowsOptions struct { // The new administrator password for this virtual machine. // +optional AdminPassword *string `json:"-" sensitive:"true" tf:"admin_password"` // Specifies whether or not the VM automatically logs on as Administrator. // +optional AutoLogon *bool `json:"autoLogon,omitempty" tf:"auto_logon"` // Specifies how many times the VM should auto-logon the Administrator account when auto_logon is true. // +optional AutoLogonCount *int64 `json:"autoLogonCount,omitempty" tf:"auto_logon_count"` // The host name for this virtual machine. ComputerName *string `json:"computerName" tf:"computer_name"` // The password of the domain administrator used to join this virtual machine to the domain. // +optional DomainAdminPassword *string `json:"-" sensitive:"true" tf:"domain_admin_password"` // The user account of the domain administrator used to join this virtual machine to the domain. // +optional DomainAdminUser *string `json:"domainAdminUser,omitempty" tf:"domain_admin_user"` // The full name of the user of this virtual machine. // +optional FullName *string `json:"fullName,omitempty" tf:"full_name"` // The domain that the virtual machine should join. // +optional JoinDomain *string `json:"joinDomain,omitempty" tf:"join_domain"` // The organization name this virtual machine is being installed for. // +optional OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name"` // The product key for this virtual machine. // +optional ProductKey *string `json:"-" sensitive:"true" tf:"product_key"` // A list of commands to run at first user logon, after guest customization. // +optional RunOnceCommandList []string `json:"runOnceCommandList,omitempty" tf:"run_once_command_list"` // The new time zone for the virtual machine. This is a sysprep-dictated timezone code. // +optional TimeZone *int64 `json:"timeZone,omitempty" tf:"time_zone"` // The workgroup for this virtual machine if not joining a domain. // +optional Workgroup *string `json:"workgroup,omitempty" tf:"workgroup"` }
func (*MachineSpecCloneCustomizeWindowsOptions) DeepCopy ¶
func (in *MachineSpecCloneCustomizeWindowsOptions) DeepCopy() *MachineSpecCloneCustomizeWindowsOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecCloneCustomizeWindowsOptions.
func (*MachineSpecCloneCustomizeWindowsOptions) DeepCopyInto ¶
func (in *MachineSpecCloneCustomizeWindowsOptions) DeepCopyInto(out *MachineSpecCloneCustomizeWindowsOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecCloneCustomizeWindowsOptionsCodec ¶
type MachineSpecCloneCustomizeWindowsOptionsCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecCloneCustomizeWindowsOptionsCodec) Decode ¶
func (MachineSpecCloneCustomizeWindowsOptionsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecDisk ¶
type MachineSpecDisk struct { // If this is true, the disk is attached instead of created. Implies keep_on_remove. // +optional Attach *bool `json:"attach,omitempty" tf:"attach"` // The type of controller the disk should be connected to. Must be 'scsi', 'sata', or 'ide'. // +optional ControllerType *string `json:"controllerType,omitempty" tf:"controller_type"` // The datastore ID for this virtual disk, if different than the virtual machine. // +optional DatastoreID *string `json:"datastoreID,omitempty" tf:"datastore_id"` // The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1. // +optional DeviceAddress *string `json:"deviceAddress,omitempty" tf:"device_address"` // The mode of this this virtual disk for purposes of writes and snapshotting. Can be one of append, independent_nonpersistent, independent_persistent, nonpersistent, persistent, or undoable. // +optional DiskMode *string `json:"diskMode,omitempty" tf:"disk_mode"` // The sharing mode of this virtual disk. Can be one of sharingMultiWriter or sharingNone. // +optional DiskSharing *string `json:"diskSharing,omitempty" tf:"disk_sharing"` // The virtual disk file zeroing policy when thin_provision is not true. The default is false, which lazily-zeros the disk, speeding up thick-provisioned disk creation time. // +optional EagerlyScrub *bool `json:"eagerlyScrub,omitempty" tf:"eagerly_scrub"` // The upper limit of IOPS that this disk can use. // +optional IoLimit *int64 `json:"ioLimit,omitempty" tf:"io_limit"` // The I/O guarantee that this disk has, in IOPS. // +optional IoReservation *int64 `json:"ioReservation,omitempty" tf:"io_reservation"` // +optional IoShareCount *int64 `json:"ioShareCount,omitempty" tf:"io_share_count"` // +optional IoShareLevel *string `json:"ioShareLevel,omitempty" tf:"io_share_level"` // Set to true to keep the underlying VMDK file when removing this virtual disk from configuration. // +optional KeepOnRemove *bool `json:"keepOnRemove,omitempty" tf:"keep_on_remove"` // The unique device ID for this device within its virtual machine. // +optional Key *int64 `json:"key,omitempty" tf:"key"` // A unique label for this disk. Label *string `json:"label" tf:"label"` // The full path of the virtual disk. This can only be provided if attach is set to true, otherwise it is a read-only value. // +optional Path *string `json:"path,omitempty" tf:"path"` // The size of the disk, in GB. // +optional Size *int64 `json:"size,omitempty" tf:"size"` // The ID of the storage policy to assign to the virtual disk in VM. // +optional StoragePolicyID *string `json:"storagePolicyID,omitempty" tf:"storage_policy_id"` // If true, this disk is thin provisioned, with space for the file being allocated on an as-needed basis. // +optional ThinProvisioned *bool `json:"thinProvisioned,omitempty" tf:"thin_provisioned"` // The unique device number for this disk. This number determines where on the SCSI bus this device will be attached. // +optional UnitNumber *int64 `json:"unitNumber,omitempty" tf:"unit_number"` // The UUID of the virtual disk. // +optional Uuid *string `json:"uuid,omitempty" tf:"uuid"` // If true, writes for this disk are sent directly to the filesystem immediately instead of being buffered. // +optional WriteThrough *bool `json:"writeThrough,omitempty" tf:"write_through"` }
func (*MachineSpecDisk) DeepCopy ¶
func (in *MachineSpecDisk) DeepCopy() *MachineSpecDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecDisk.
func (*MachineSpecDisk) DeepCopyInto ¶
func (in *MachineSpecDisk) DeepCopyInto(out *MachineSpecDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecNetworkInterface ¶
type MachineSpecNetworkInterface struct { // The controller type. Can be one of e1000, e1000e, or vmxnet3. // +optional AdapterType *string `json:"adapterType,omitempty" tf:"adapter_type"` // The upper bandwidth limit of this network interface, in Mbits/sec. // +optional BandwidthLimit *int64 `json:"bandwidthLimit,omitempty" tf:"bandwidth_limit"` // The bandwidth reservation of this network interface, in Mbits/sec. // +optional BandwidthReservation *int64 `json:"bandwidthReservation,omitempty" tf:"bandwidth_reservation"` // +optional BandwidthShareCount *int64 `json:"bandwidthShareCount,omitempty" tf:"bandwidth_share_count"` // +optional BandwidthShareLevel *string `json:"bandwidthShareLevel,omitempty" tf:"bandwidth_share_level"` // The internally-computed address of this device, such as scsi:0:1, denoting scsi bus #0 and device unit 1. // +optional DeviceAddress *string `json:"deviceAddress,omitempty" tf:"device_address"` // The unique device ID for this device within its virtual machine. // +optional Key *int64 `json:"key,omitempty" tf:"key"` // The MAC address of this network interface. Can only be manually set if use_static_mac is true. // +optional MacAddress *string `json:"macAddress,omitempty" tf:"mac_address"` // The ID of the network to connect this network interface to. NetworkID *string `json:"networkID" tf:"network_id"` // Mapping of network interface to OVF network. // +optional OvfMapping *string `json:"ovfMapping,omitempty" tf:"ovf_mapping"` // If true, the mac_address field is treated as a static MAC address and set accordingly. // +optional UseStaticMAC *bool `json:"useStaticMAC,omitempty" tf:"use_static_mac"` }
func (*MachineSpecNetworkInterface) DeepCopy ¶
func (in *MachineSpecNetworkInterface) DeepCopy() *MachineSpecNetworkInterface
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecNetworkInterface.
func (*MachineSpecNetworkInterface) DeepCopyInto ¶
func (in *MachineSpecNetworkInterface) DeepCopyInto(out *MachineSpecNetworkInterface)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecOvfDeploy ¶
type MachineSpecOvfDeploy struct { // Allow unverified ssl certificates while deploying ovf/ova from url. // +optional AllowUnverifiedSslCert *bool `json:"allowUnverifiedSslCert,omitempty" tf:"allow_unverified_ssl_cert"` // The Deployment option to be chosen. If empty, the default option is used. // +optional DeploymentOption *string `json:"deploymentOption,omitempty" tf:"deployment_option"` // An optional disk provisioning. If set, all the disks in the deployed ovf will have the same specified disk type (e.g., thin provisioned). // +optional DiskProvisioning *string `json:"diskProvisioning,omitempty" tf:"disk_provisioning"` // Allow properties with ovf:userConfigurable=false to be set. // +optional EnableHiddenProperties *bool `json:"enableHiddenProperties,omitempty" tf:"enable_hidden_properties"` // The IP allocation policy. // +optional IpAllocationPolicy *string `json:"ipAllocationPolicy,omitempty" tf:"ip_allocation_policy"` // The IP protocol. // +optional IpProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol"` // The absolute path to the ovf/ova file in the local system. // +optional LocalOvfPath *string `json:"localOvfPath,omitempty" tf:"local_ovf_path"` // The mapping of name of network identifiers from the ovf descriptor to network UUID in the VI infrastructure. // +optional OvfNetworkMap *map[string]string `json:"ovfNetworkMap,omitempty" tf:"ovf_network_map"` // URL to the remote ovf/ova file to be deployed. // +optional RemoteOvfURL *string `json:"remoteOvfURL,omitempty" tf:"remote_ovf_url"` }
func (*MachineSpecOvfDeploy) DeepCopy ¶
func (in *MachineSpecOvfDeploy) DeepCopy() *MachineSpecOvfDeploy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecOvfDeploy.
func (*MachineSpecOvfDeploy) DeepCopyInto ¶
func (in *MachineSpecOvfDeploy) DeepCopyInto(out *MachineSpecOvfDeploy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecOvfDeployCodec ¶
type MachineSpecOvfDeployCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecOvfDeployCodec) Decode ¶
func (MachineSpecOvfDeployCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineSpecResource ¶
type MachineSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The guest name for the operating system when guest_id is otherGuest or otherGuest64. // +optional AlternateGuestName *string `json:"alternateGuestName,omitempty" tf:"alternate_guest_name"` // User-provided description of the virtual machine. // +optional Annotation *string `json:"annotation,omitempty" tf:"annotation"` // The number of milliseconds to wait before starting the boot sequence. // +optional BootDelay *int64 `json:"bootDelay,omitempty" tf:"boot_delay"` // The number of milliseconds to wait before retrying the boot sequence. This only valid if boot_retry_enabled is true. // +optional BootRetryDelay *int64 `json:"bootRetryDelay,omitempty" tf:"boot_retry_delay"` // If set to true, a virtual machine that fails to boot will try again after the delay defined in boot_retry_delay. // +optional BootRetryEnabled *bool `json:"bootRetryEnabled,omitempty" tf:"boot_retry_enabled"` // A specification for a CDROM device on this virtual machine. // +optional Cdrom *MachineSpecCdrom `json:"cdrom,omitempty" tf:"cdrom"` // A unique identifier for a given version of the last configuration applied, such the timestamp of the last update to the configuration. // +optional ChangeVersion *string `json:"changeVersion,omitempty" tf:"change_version"` // A specification for cloning a virtual machine from template. // +optional Clone *MachineSpecClone `json:"clone,omitempty" tf:"clone"` // Allow CPUs to be added to this virtual machine while it is running. // +optional CpuHotAddEnabled *bool `json:"cpuHotAddEnabled,omitempty" tf:"cpu_hot_add_enabled"` // Allow CPUs to be added to this virtual machine while it is running. // +optional CpuHotRemoveEnabled *bool `json:"cpuHotRemoveEnabled,omitempty" tf:"cpu_hot_remove_enabled"` // The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources. // +optional CpuLimit *int64 `json:"cpuLimit,omitempty" tf:"cpu_limit"` // Enable CPU performance counters on this virtual machine. // +optional CpuPerformanceCountersEnabled *bool `json:"cpuPerformanceCountersEnabled,omitempty" tf:"cpu_performance_counters_enabled"` // The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed. // +optional CpuReservation *int64 `json:"cpuReservation,omitempty" tf:"cpu_reservation"` // +optional CpuShareCount *int64 `json:"cpuShareCount,omitempty" tf:"cpu_share_count"` // +optional CpuShareLevel *string `json:"cpuShareLevel,omitempty" tf:"cpu_share_level"` // A list of custom attributes to set on this resource. // +optional CustomAttributes *map[string]string `json:"customAttributes,omitempty" tf:"custom_attributes"` // The ID of the datacenter where the VM is to be created. // +optional DatacenterID *string `json:"datacenterID,omitempty" tf:"datacenter_id"` // The ID of a datastore cluster to put the virtual machine in. // +optional DatastoreClusterID *string `json:"datastoreClusterID,omitempty" tf:"datastore_cluster_id"` // The ID of the virtual machine's datastore. The virtual machine configuration is placed here, along with any virtual disks that are created without datastores. // +optional DatastoreID *string `json:"datastoreID,omitempty" tf:"datastore_id"` // The IP address selected by Terraform to be used for the provisioner. // +optional DefaultIPAddress *string `json:"defaultIPAddress,omitempty" tf:"default_ip_address"` // A specification for a virtual disk device on this virtual machine. // +optional // +kubebuilder:validation:MaxItems=60 Disk []MachineSpecDisk `json:"disk,omitempty" tf:"disk"` // When the boot type set in firmware is efi, this enables EFI secure boot. // +optional EfiSecureBootEnabled *bool `json:"efiSecureBootEnabled,omitempty" tf:"efi_secure_boot_enabled"` // Expose the UUIDs of attached virtual disks to the virtual machine, allowing access to them in the guest. // +optional EnableDiskUUID *bool `json:"enableDiskUUID,omitempty" tf:"enable_disk_uuid"` // Enable logging on this virtual machine. // +optional EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging"` // The EPT/RVI (hardware memory virtualization) setting for this virtual machine. Can be one of automatic, on, or off. // +optional EptRviMode *string `json:"eptRviMode,omitempty" tf:"ept_rvi_mode"` // Extra configuration data for this virtual machine. Can be used to supply advanced parameters not normally in configuration, such as instance metadata, or configuration data for OVF images. // +optional ExtraConfig *map[string]string `json:"extraConfig,omitempty" tf:"extra_config"` // The firmware interface to use on the virtual machine. Can be one of bios or efi. // +optional Firmware *string `json:"firmware,omitempty" tf:"firmware"` // The name of the folder to locate the virtual machine in. // +optional Folder *string `json:"folder,omitempty" tf:"folder"` // Set to true to force power-off a virtual machine if a graceful guest shutdown failed for a necessary operation. // +optional ForcePowerOff *bool `json:"forcePowerOff,omitempty" tf:"force_power_off"` // The guest ID for the operating system. // +optional GuestID *string `json:"guestID,omitempty" tf:"guest_id"` // The current list of IP addresses on this virtual machine. // +optional GuestIPAddresses []string `json:"guestIPAddresses,omitempty" tf:"guest_ip_addresses"` // The hardware version for the virtual machine. // +optional HardwareVersion *int64 `json:"hardwareVersion,omitempty" tf:"hardware_version"` // The ID of an optional host system to pin the virtual machine to. // +optional HostSystemID *string `json:"hostSystemID,omitempty" tf:"host_system_id"` // The (non-nested) hardware virtualization setting for this virtual machine. Can be one of hvAuto, hvOn, or hvOff. // +optional HvMode *string `json:"hvMode,omitempty" tf:"hv_mode"` // The number of IDE controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers. // +optional IdeControllerCount *int64 `json:"ideControllerCount,omitempty" tf:"ide_controller_count"` // List of IP addresses and CIDR networks to ignore while waiting for an IP // +optional IgnoredGuestIPS []string `json:"ignoredGuestIPS,omitempty" tf:"ignored_guest_ips"` // A flag internal to Terraform that indicates that this resource was either imported or came from a earlier major version of this resource. Reset after the first post-import or post-upgrade apply. // +optional Imported *bool `json:"imported,omitempty" tf:"imported"` // Controls the scheduling delay of the virtual machine. Use a higher sensitivity for applications that require lower latency, such as VOIP, media player applications, or applications that require frequent access to mouse or keyboard devices. Can be one of low, normal, medium, or high. // +optional LatencySensitivity *string `json:"latencySensitivity,omitempty" tf:"latency_sensitivity"` // The size of the virtual machine's memory, in MB. // +optional Memory *int64 `json:"memory,omitempty" tf:"memory"` // Allow memory to be added to this virtual machine while it is running. // +optional MemoryHotAddEnabled *bool `json:"memoryHotAddEnabled,omitempty" tf:"memory_hot_add_enabled"` // The maximum amount of memory (in MB) or CPU (in MHz) that this virtual machine can consume, regardless of available resources. // +optional MemoryLimit *int64 `json:"memoryLimit,omitempty" tf:"memory_limit"` // The amount of memory (in MB) or CPU (in MHz) that this virtual machine is guaranteed. // +optional MemoryReservation *int64 `json:"memoryReservation,omitempty" tf:"memory_reservation"` // +optional MemoryShareCount *int64 `json:"memoryShareCount,omitempty" tf:"memory_share_count"` // +optional MemoryShareLevel *string `json:"memoryShareLevel,omitempty" tf:"memory_share_level"` // The amount of time, in minutes, to wait for a vMotion operation to complete before failing. // +optional MigrateWaitTimeout *int64 `json:"migrateWaitTimeout,omitempty" tf:"migrate_wait_timeout"` // The machine object ID from VMware vSphere. // +optional Moid *string `json:"moid,omitempty" tf:"moid"` // The name of this virtual machine. Name *string `json:"name" tf:"name"` // Enable nested hardware virtualization on this virtual machine, facilitating nested virtualization in the guest. // +optional NestedHvEnabled *bool `json:"nestedHvEnabled,omitempty" tf:"nested_hv_enabled"` // A specification for a virtual NIC on this virtual machine. // +optional // +kubebuilder:validation:MaxItems=10 NetworkInterface []MachineSpecNetworkInterface `json:"networkInterface,omitempty" tf:"network_interface"` // The number of cores to distribute amongst the CPUs in this virtual machine. If specified, the value supplied to num_cpus must be evenly divisible by this value. // +optional NumCoresPerSocket *int64 `json:"numCoresPerSocket,omitempty" tf:"num_cores_per_socket"` // The number of virtual processors to assign to this virtual machine. // +optional NumCpus *int64 `json:"numCpus,omitempty" tf:"num_cpus"` // A specification for deploying a virtual machine from ovf/ova template. // +optional OvfDeploy *MachineSpecOvfDeploy `json:"ovfDeploy,omitempty" tf:"ovf_deploy"` // A list of PCI passthrough devices // +optional PciDeviceID []string `json:"pciDeviceID,omitempty" tf:"pci_device_id"` // The amount of time, in seconds, that we will be trying to power on a VM // +optional PoweronTimeout *int64 `json:"poweronTimeout,omitempty" tf:"poweron_timeout"` // Value internal to Terraform used to determine if a configuration set change requires a reboot. // +optional RebootRequired *bool `json:"rebootRequired,omitempty" tf:"reboot_required"` // Triggers replacement of resource whenever it changes. // +optional ReplaceTrigger *string `json:"replaceTrigger,omitempty" tf:"replace_trigger"` // The ID of a resource pool to put the virtual machine in. ResourcePoolID *string `json:"resourcePoolID" tf:"resource_pool_id"` // Enable the run of scripts after virtual machine power-on when VMware Tools is installed. // +optional RunToolsScriptsAfterPowerOn *bool `json:"runToolsScriptsAfterPowerOn,omitempty" tf:"run_tools_scripts_after_power_on"` // Enable the run of scripts after virtual machine resume when when VMware Tools is installed. // +optional RunToolsScriptsAfterResume *bool `json:"runToolsScriptsAfterResume,omitempty" tf:"run_tools_scripts_after_resume"` // Enable the run of scripts before guest operating system reboot when VMware Tools is installed. // +optional RunToolsScriptsBeforeGuestReboot *bool `json:"runToolsScriptsBeforeGuestReboot,omitempty" tf:"run_tools_scripts_before_guest_reboot"` // Enable the run of scripts before guest operating system shutdown when VMware Tools is installed. // +optional RunToolsScriptsBeforeGuestShutdown *bool `json:"runToolsScriptsBeforeGuestShutdown,omitempty" tf:"run_tools_scripts_before_guest_shutdown"` // Enable the run of scripts before guest operating system standby when VMware Tools is installed. // +optional RunToolsScriptsBeforeGuestStandby *bool `json:"runToolsScriptsBeforeGuestStandby,omitempty" tf:"run_tools_scripts_before_guest_standby"` // The number of SATA controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers. // +optional SataControllerCount *int64 `json:"sataControllerCount,omitempty" tf:"sata_controller_count"` // Mode for sharing the SCSI bus. The modes are physicalSharing, virtualSharing, and noSharing. // +optional ScsiBusSharing *string `json:"scsiBusSharing,omitempty" tf:"scsi_bus_sharing"` // The number of SCSI controllers that Terraform manages on this virtual machine. This directly affects the amount of disks you can add to the virtual machine and the maximum disk unit number. Note that lowering this value does not remove controllers. // +optional ScsiControllerCount *int64 `json:"scsiControllerCount,omitempty" tf:"scsi_controller_count"` // The type of SCSI bus this virtual machine will have. Can be one of lsilogic, lsilogic-sas or pvscsi. // +optional ScsiType *string `json:"scsiType,omitempty" tf:"scsi_type"` // The amount of time, in minutes, to wait for shutdown when making necessary updates to the virtual machine. // +optional ShutdownWaitTimeout *int64 `json:"shutdownWaitTimeout,omitempty" tf:"shutdown_wait_timeout"` // The ID of the storage policy to assign to the virtual machine home directory. // +optional StoragePolicyID *string `json:"storagePolicyID,omitempty" tf:"storage_policy_id"` // The swap file placement policy for this virtual machine. Can be one of inherit, hostLocal, or vmDirectory. // +optional SwapPlacementPolicy *string `json:"swapPlacementPolicy,omitempty" tf:"swap_placement_policy"` // Enable guest clock synchronization with the host. On vSphere 7.0 U1 and above, with only this setting the clock is synchronized on startup and resume. Requires VMware Tools to be installed. // +optional SyncTimeWithHost *bool `json:"syncTimeWithHost,omitempty" tf:"sync_time_with_host"` // Enable periodic clock synchronization with the host. Supported only on vSphere 7.0 U1 and above. On prior versions setting `sync_time_with_host` is enough for periodic synchronization. Requires VMware Tools to be installed. // +optional SyncTimeWithHostPeriodically *bool `json:"syncTimeWithHostPeriodically,omitempty" tf:"sync_time_with_host_periodically"` // A list of tag IDs to apply to this object. // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // Set the upgrade policy for VMware Tools. Can be one of `manual` or `upgradeAtPowerCycle`. // +optional ToolsUpgradePolicy *string `json:"toolsUpgradePolicy,omitempty" tf:"tools_upgrade_policy"` // The UUID of the virtual machine. Also exposed as the ID of the resource. // +optional Uuid *string `json:"uuid,omitempty" tf:"uuid"` // vApp configuration data for this virtual machine. Can be used to provide configuration data for OVF images. // +optional Vapp *MachineSpecVapp `json:"vapp,omitempty" tf:"vapp"` // vApp transport methods supported by virtual machine. // +optional VappTransport []string `json:"vappTransport,omitempty" tf:"vapp_transport"` // Flag to specify if Virtualization-based security is enabled for this virtual machine. // +optional VbsEnabled *bool `json:"vbsEnabled,omitempty" tf:"vbs_enabled"` // The state of VMware Tools in the guest. This will determine the proper course of action for some device operations. // +optional VmwareToolsStatus *string `json:"vmwareToolsStatus,omitempty" tf:"vmware_tools_status"` // The path of the virtual machine's configuration file in the VM's datastore. // +optional VmxPath *string `json:"vmxPath,omitempty" tf:"vmx_path"` // Flag to specify if I/O MMU virtualization, also called Intel Virtualization Technology for Directed I/O (VT-d) and AMD I/O Virtualization (AMD-Vi or IOMMU), is enabled. // +optional VvtdEnabled *bool `json:"vvtdEnabled,omitempty" tf:"vvtd_enabled"` // The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter. // +optional WaitForGuestIPTimeout *int64 `json:"waitForGuestIPTimeout,omitempty" tf:"wait_for_guest_ip_timeout"` // Controls whether or not the guest network waiter waits for a routable address. When false, the waiter does not wait for a default gateway, nor are IP addresses checked against any discovered default gateways as part of its success criteria. // +optional WaitForGuestNetRoutable *bool `json:"waitForGuestNetRoutable,omitempty" tf:"wait_for_guest_net_routable"` // The amount of time, in minutes, to wait for an available IP address on this virtual machine. A value less than 1 disables the waiter. // +optional WaitForGuestNetTimeout *int64 `json:"waitForGuestNetTimeout,omitempty" tf:"wait_for_guest_net_timeout"` }
func (*MachineSpecResource) DeepCopy ¶
func (in *MachineSpecResource) DeepCopy() *MachineSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecResource.
func (*MachineSpecResource) DeepCopyInto ¶
func (in *MachineSpecResource) DeepCopyInto(out *MachineSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecVapp ¶
type MachineSpecVapp struct { // A map of customizable vApp properties and their values. Allows customization of VMs cloned from OVF templates which have customizable vApp properties. // +optional Properties *map[string]string `json:"properties,omitempty" tf:"properties"` }
func (*MachineSpecVapp) DeepCopy ¶
func (in *MachineSpecVapp) DeepCopy() *MachineSpecVapp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpecVapp.
func (*MachineSpecVapp) DeepCopyInto ¶
func (in *MachineSpecVapp) DeepCopyInto(out *MachineSpecVapp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpecVappCodec ¶
type MachineSpecVappCodec struct { }
+k8s:deepcopy-gen=false
func (MachineSpecVappCodec) Decode ¶
func (MachineSpecVappCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type MachineStatus ¶
type MachineStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*MachineStatus) DeepCopy ¶
func (in *MachineStatus) DeepCopy() *MachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.
func (*MachineStatus) DeepCopyInto ¶
func (in *MachineStatus) DeepCopyInto(out *MachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.