Class AlibabaCloudMachineProviderConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<AlibabaCloudMachineProviderConfigBuilder>, 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 AlibabaCloudMachineProviderConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AlibabaCloudMachineProviderConfigBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
    AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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
      AlibabaCloudMachineProviderConfigBuilder edit()  
      Map<String,​Object> getAdditionalProperties()  
      String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      BandwidthProperties getBandwidth()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      List<DataDiskProperties> getDataDisk()
      DataDisks holds information regarding the extra disks attached to the instance
      String getImageId()
      The ID of the image used to create the instance.
      String getInstanceType()
      The instance type of the instance.
      String getKind()
      Kind is a string value representing the REST resource this object represents.
      io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      String getRamRoleName()
      ramRoleName is the name of the instance Resource Access Management (RAM) role.
      String getRegionId()
      The ID of the region in which to create the instance.
      AlibabaResourceReference getResourceGroup()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      List<AlibabaResourceReference> getSecurityGroups()
      securityGroups is a list of security group references to assign to the instance.
      SystemDiskProperties getSystemDisk()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      List<Tag> getTag()
      Tags are the set of metadata to add to an instance.
      String getTenancy()
      tenancy specifies whether to create the instance on a dedicated host.
      io.fabric8.kubernetes.api.model.LocalObjectReference getUserDataSecret()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      String getVpcId()
      The ID of the vpc
      AlibabaResourceReference getVSwitch()
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      String getZoneId()
      The ID of the zone in which to create the instance.
      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 setBandwidth​(BandwidthProperties bandwidth)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setDataDisk​(List<DataDiskProperties> dataDisk)
      DataDisks holds information regarding the extra disks attached to the instance
      void setImageId​(String imageId)
      The ID of the image used to create the instance.
      void setInstanceType​(String instanceType)
      The instance type of the instance.
      void setKind​(String kind)
      Kind is a string value representing the REST resource this object represents.
      void setMetadata​(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setRamRoleName​(String ramRoleName)
      ramRoleName is the name of the instance Resource Access Management (RAM) role.
      void setRegionId​(String regionId)
      The ID of the region in which to create the instance.
      void setResourceGroup​(AlibabaResourceReference resourceGroup)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setSecurityGroups​(List<AlibabaResourceReference> securityGroups)
      securityGroups is a list of security group references to assign to the instance.
      void setSystemDisk​(SystemDiskProperties systemDisk)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setTag​(List<Tag> tag)
      Tags are the set of metadata to add to an instance.
      void setTenancy​(String tenancy)
      tenancy specifies whether to create the instance on a dedicated host.
      void setUserDataSecret​(io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setVpcId​(String vpcId)
      The ID of the vpc
      void setVSwitch​(AlibabaResourceReference vSwitch)
      AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      void setZoneId​(String zoneId)
      The ID of the zone in which to create the instance.
      AlibabaCloudMachineProviderConfigBuilder 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
      • getBandwidth

        public BandwidthProperties getBandwidth()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • setBandwidth

        public void setBandwidth​(BandwidthProperties bandwidth)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • getDataDisk

        public List<DataDiskProperties> getDataDisk()
        DataDisks holds information regarding the extra disks attached to the instance
      • setDataDisk

        public void setDataDisk​(List<DataDiskProperties> dataDisk)
        DataDisks holds information regarding the extra disks attached to the instance
      • getImageId

        public String getImageId()
        The ID of the image used to create the instance.
      • setImageId

        public void setImageId​(String imageId)
        The ID of the image used to create the instance.
      • getInstanceType

        public String getInstanceType()
        The instance type of the instance.
      • setInstanceType

        public void setInstanceType​(String instanceType)
        The instance type of the instance.
      • 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
      • getMetadata

        public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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
      • getRamRoleName

        public String getRamRoleName()
        ramRoleName is the name of the instance Resource Access Management (RAM) role. This allows the instance to perform API calls as this specified RAM role.
      • setRamRoleName

        public void setRamRoleName​(String ramRoleName)
        ramRoleName is the name of the instance Resource Access Management (RAM) role. This allows the instance to perform API calls as this specified RAM role.
      • getRegionId

        public String getRegionId()
        The ID of the region in which to create the instance. You can call the DescribeRegions operation to query the most recent region list.
      • setRegionId

        public void setRegionId​(String regionId)
        The ID of the region in which to create the instance. You can call the DescribeRegions operation to query the most recent region list.
      • getResourceGroup

        public AlibabaResourceReference getResourceGroup()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • setResourceGroup

        public void setResourceGroup​(AlibabaResourceReference resourceGroup)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • getSecurityGroups

        public List<AlibabaResourceReference> getSecurityGroups()
        securityGroups is a list of security group references to assign to the instance. A reference holds either the security group ID, the resource name, or the required tags to search. When more than one security group is returned for a tag search, all the groups are associated with the instance up to the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in Limits. https://www.alibabacloud.com/help/en/doc-detail/25412.htm
      • setSecurityGroups

        public void setSecurityGroups​(List<AlibabaResourceReference> securityGroups)
        securityGroups is a list of security group references to assign to the instance. A reference holds either the security group ID, the resource name, or the required tags to search. When more than one security group is returned for a tag search, all the groups are associated with the instance up to the maximum number of security groups to which an instance can belong. For more information, see the "Security group limits" section in Limits. https://www.alibabacloud.com/help/en/doc-detail/25412.htm
      • getSystemDisk

        public SystemDiskProperties getSystemDisk()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • setSystemDisk

        public void setSystemDisk​(SystemDiskProperties systemDisk)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • getTag

        public List<Tag> getTag()
        Tags are the set of metadata to add to an instance.
      • setTag

        public void setTag​(List<Tag> tag)
        Tags are the set of metadata to add to an instance.
      • getTenancy

        public String getTenancy()
        tenancy specifies whether to create the instance on a dedicated host. Valid values:


        default: creates the instance on a non-dedicated host. host: creates the instance on a dedicated host. If you do not specify the DedicatedHostID parameter, Alibaba Cloud automatically selects a dedicated host for the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `default`.

      • setTenancy

        public void setTenancy​(String tenancy)
        tenancy specifies whether to create the instance on a dedicated host. Valid values:


        default: creates the instance on a non-dedicated host. host: creates the instance on a dedicated host. If you do not specify the DedicatedHostID parameter, Alibaba Cloud automatically selects a dedicated host for the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `default`.

      • getUserDataSecret

        public io.fabric8.kubernetes.api.model.LocalObjectReference getUserDataSecret()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig 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)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • getVSwitch

        public AlibabaResourceReference getVSwitch()
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • setVSwitch

        public void setVSwitch​(AlibabaResourceReference vSwitch)
        AlibabaCloudMachineProviderConfig is the Schema for the alibabacloudmachineproviderconfig API Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
      • getVpcId

        public String getVpcId()
        The ID of the vpc
      • setVpcId

        public void setVpcId​(String vpcId)
        The ID of the vpc
      • getZoneId

        public String getZoneId()
        The ID of the zone in which to create the instance. You can call the DescribeZones operation to query the most recent region list.
      • setZoneId

        public void setZoneId​(String zoneId)
        The ID of the zone in which to create the instance. You can call the DescribeZones operation to query the most recent region list.
      • getAdditionalProperties

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

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

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