Class NutanixMachineProviderConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.NutanixMachineProviderConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NutanixMachineProviderConfigBuilder>,io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NutanixMachineProviderConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<NutanixMachineProviderConfigBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NutanixMachineProviderConfig()No args constructor for use in serializationNutanixMachineProviderConfig(String apiVersion, String bootType, List<NutanixCategory> categories, NutanixResourceIdentifier cluster, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret, List<NutanixVMDisk> dataDisks, NutanixFailureDomainReference failureDomain, List<NutanixGPU> gpus, NutanixResourceIdentifier image, String kind, io.fabric8.kubernetes.api.model.Quantity memorySize, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NutanixResourceIdentifier project, List<NutanixResourceIdentifier> subnets, io.fabric8.kubernetes.api.model.Quantity systemDiskSize, io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret, Integer vcpuSockets, Integer vcpusPerSocket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NutanixMachineProviderConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetBootType()bootType indicates the boot type (Legacy, UEFI or SecureBoot) the Machine's VM uses to boot.List<NutanixCategory>getCategories()categories optionally adds one or more prism categories (each with key and value) for the Machine's VM to associate with.NutanixResourceIdentifiergetCluster()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).io.fabric8.kubernetes.api.model.LocalObjectReferencegetCredentialsSecret()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).List<NutanixVMDisk>getDataDisks()dataDisks holds information of the data disks to attach to the Machine's VMNutanixFailureDomainReferencegetFailureDomain()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).List<NutanixGPU>getGpus()gpus is a list of GPU devices to attach to the machine's VM.NutanixResourceIdentifiergetImage()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).StringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.QuantitygetMemorySize()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).NutanixResourceIdentifiergetProject()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).List<NutanixResourceIdentifier>getSubnets()subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to.io.fabric8.kubernetes.api.model.QuantitygetSystemDiskSize()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).io.fabric8.kubernetes.api.model.LocalObjectReferencegetUserDataSecret()NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).IntegergetVcpuSockets()vcpuSockets is the number of vCPU sockets of the VMIntegergetVcpusPerSocket()vcpusPerSocket is the number of vCPUs per socket of the VMvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetBootType(String bootType)bootType indicates the boot type (Legacy, UEFI or SecureBoot) the Machine's VM uses to boot.voidsetCategories(List<NutanixCategory> categories)categories optionally adds one or more prism categories (each with key and value) for the Machine's VM to associate with.voidsetCluster(NutanixResourceIdentifier cluster)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetCredentialsSecret(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetDataDisks(List<NutanixVMDisk> dataDisks)dataDisks holds information of the data disks to attach to the Machine's VMvoidsetFailureDomain(NutanixFailureDomainReference failureDomain)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetGpus(List<NutanixGPU> gpus)gpus is a list of GPU devices to attach to the machine's VM.voidsetImage(NutanixResourceIdentifier image)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMemorySize(io.fabric8.kubernetes.api.model.Quantity memorySize)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetProject(NutanixResourceIdentifier project)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetSubnets(List<NutanixResourceIdentifier> subnets)subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to.voidsetSystemDiskSize(io.fabric8.kubernetes.api.model.Quantity systemDiskSize)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetUserDataSecret(io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret)NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).voidsetVcpuSockets(Integer vcpuSockets)vcpuSockets is the number of vCPU sockets of the VMvoidsetVcpusPerSocket(Integer vcpusPerSocket)vcpusPerSocket is the number of vCPUs per socket of the VMNutanixMachineProviderConfigBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Constructor Detail
-
NutanixMachineProviderConfig
public NutanixMachineProviderConfig()
No args constructor for use in serialization
-
NutanixMachineProviderConfig
public NutanixMachineProviderConfig(String apiVersion, String bootType, List<NutanixCategory> categories, NutanixResourceIdentifier cluster, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret, List<NutanixVMDisk> dataDisks, NutanixFailureDomainReference failureDomain, List<NutanixGPU> gpus, NutanixResourceIdentifier image, String kind, io.fabric8.kubernetes.api.model.Quantity memorySize, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NutanixResourceIdentifier project, List<NutanixResourceIdentifier> subnets, io.fabric8.kubernetes.api.model.Quantity systemDiskSize, io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret, Integer vcpuSockets, Integer vcpusPerSocket)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getBootType
public String getBootType()
bootType indicates the boot type (Legacy, UEFI or SecureBoot) the Machine's VM uses to boot. If this field is empty or omitted, the VM will use the default boot type "Legacy" to boot. "SecureBoot" depends on "UEFI" boot, i.e., enabling "SecureBoot" means that "UEFI" boot is also enabled.
-
setBootType
public void setBootType(String bootType)
bootType indicates the boot type (Legacy, UEFI or SecureBoot) the Machine's VM uses to boot. If this field is empty or omitted, the VM will use the default boot type "Legacy" to boot. "SecureBoot" depends on "UEFI" boot, i.e., enabling "SecureBoot" means that "UEFI" boot is also enabled.
-
getCategories
public List<NutanixCategory> getCategories()
categories optionally adds one or more prism categories (each with key and value) for the Machine's VM to associate with. All the category key and value pairs specified must already exist in the prism central.
-
setCategories
public void setCategories(List<NutanixCategory> categories)
categories optionally adds one or more prism categories (each with key and value) for the Machine's VM to associate with. All the category key and value pairs specified must already exist in the prism central.
-
getCluster
public NutanixResourceIdentifier getCluster()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setCluster
public void setCluster(NutanixResourceIdentifier cluster)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getCredentialsSecret
public io.fabric8.kubernetes.api.model.LocalObjectReference getCredentialsSecret()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setCredentialsSecret
public void setCredentialsSecret(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getDataDisks
public List<NutanixVMDisk> getDataDisks()
dataDisks holds information of the data disks to attach to the Machine's VM
-
setDataDisks
public void setDataDisks(List<NutanixVMDisk> dataDisks)
dataDisks holds information of the data disks to attach to the Machine's VM
-
getFailureDomain
public NutanixFailureDomainReference getFailureDomain()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setFailureDomain
public void setFailureDomain(NutanixFailureDomainReference failureDomain)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getGpus
public List<NutanixGPU> getGpus()
gpus is a list of GPU devices to attach to the machine's VM. The GPU devices should already exist in Prism Central and associated with one of the Prism Element's hosts and available for the VM to attach (in "UNUSED" status).
-
setGpus
public void setGpus(List<NutanixGPU> gpus)
gpus is a list of GPU devices to attach to the machine's VM. The GPU devices should already exist in Prism Central and associated with one of the Prism Element's hosts and available for the VM to attach (in "UNUSED" status).
-
getImage
public NutanixResourceIdentifier getImage()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setImage
public void setImage(NutanixResourceIdentifier image)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMemorySize
public io.fabric8.kubernetes.api.model.Quantity getMemorySize()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setMemorySize
public void setMemorySize(io.fabric8.kubernetes.api.model.Quantity memorySize)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getProject
public NutanixResourceIdentifier getProject()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setProject
public void setProject(NutanixResourceIdentifier project)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getSubnets
public List<NutanixResourceIdentifier> getSubnets()
subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
-
setSubnets
public void setSubnets(List<NutanixResourceIdentifier> subnets)
subnets holds a list of identifiers (one or more) of the cluster's network subnets for the Machine's VM to connect to. The subnet identifiers (uuid or name) can be obtained from the Prism Central console or using the prism_central API.
-
getSystemDiskSize
public io.fabric8.kubernetes.api.model.Quantity getSystemDiskSize()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setSystemDiskSize
public void setSystemDiskSize(io.fabric8.kubernetes.api.model.Quantity systemDiskSize)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getUserDataSecret
public io.fabric8.kubernetes.api.model.LocalObjectReference getUserDataSecret()
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setUserDataSecret
public void setUserDataSecret(io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret)
NutanixMachineProviderConfig is the Schema for the nutanixmachineproviderconfigs API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getVcpuSockets
public Integer getVcpuSockets()
vcpuSockets is the number of vCPU sockets of the VM
-
setVcpuSockets
public void setVcpuSockets(Integer vcpuSockets)
vcpuSockets is the number of vCPU sockets of the VM
-
getVcpusPerSocket
public Integer getVcpusPerSocket()
vcpusPerSocket is the number of vCPUs per socket of the VM
-
setVcpusPerSocket
public void setVcpusPerSocket(Integer vcpusPerSocket)
vcpusPerSocket is the number of vCPUs per socket of the VM
-
edit
public NutanixMachineProviderConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NutanixMachineProviderConfigBuilder>
-
toBuilder
public NutanixMachineProviderConfigBuilder toBuilder()
-
-