Class 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
    • Field Summary

      • Fields inherited from interface io.fabric8.kubernetes.api.model.HasMetadata

        DNS_LABEL_END, DNS_LABEL_REGEXP, DNS_LABEL_START, FINALIZER_NAME_MATCHER, REQUIRES_NON_NULL_METADATA, REQUIRES_NON_NULL_NAME, REQUIRES_NON_NULL_NAMESPACE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NutanixMachineProviderConfigBuilder edit()  
      Map<String,​Object> getAdditionalProperties()  
      String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      String getBootType()
      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.
      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).
      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).
      List<NutanixVMDisk> getDataDisks()
      dataDisks holds information of the data disks to attach to the Machine's VM
      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).
      List<NutanixGPU> getGpus()
      gpus is a list of GPU devices to attach to the machine's VM.
      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).
      String getKind()
      Kind is a string value representing the REST resource this object represents.
      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).
      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).
      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).
      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.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).
      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).
      Integer getVcpuSockets()
      vcpuSockets is the number of vCPU sockets of the VM
      Integer getVcpusPerSocket()
      vcpusPerSocket is the number of vCPUs per socket of the VM
      void setAdditionalProperties​(Map<String,​Object> additionalProperties)  
      void setAdditionalProperty​(String name, Object value)  
      void setApiVersion​(String apiVersion)
      APIVersion defines the versioned schema of this representation of an object.
      void setBootType​(String bootType)
      bootType indicates the boot type (Legacy, UEFI or SecureBoot) the Machine's VM uses to boot.
      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.
      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).
      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).
      void setDataDisks​(List<NutanixVMDisk> dataDisks)
      dataDisks holds information of the data disks to attach to the Machine's VM
      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).
      void setGpus​(List<NutanixGPU> gpus)
      gpus is a list of GPU devices to attach to the machine's VM.
      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).
      void setKind​(String kind)
      Kind is a string value representing the REST resource this object represents.
      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).
      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).
      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).
      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.
      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).
      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).
      void setVcpuSockets​(Integer vcpuSockets)
      vcpuSockets is the number of vCPU sockets of the VM
      void setVcpusPerSocket​(Integer vcpusPerSocket)
      vcpusPerSocket is the number of vCPUs per socket of the VM
      NutanixMachineProviderConfigBuilder toBuilder()  
      • 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
    • 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:
        getApiVersion in interface io.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:
        setApiVersion in interface io.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:
        getKind in interface io.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:
        getMetadata in interface io.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:
        setMetadata in interface io.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
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)