Class AlibabaCloudMachineProviderConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.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
-
-
Constructor Summary
Constructors Constructor Description AlibabaCloudMachineProviderConfig()No args constructor for use in serializationAlibabaCloudMachineProviderConfig(String apiVersion, BandwidthProperties bandwidth, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret, List<DataDiskProperties> dataDisk, String imageId, String instanceType, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String ramRoleName, String regionId, AlibabaResourceReference resourceGroup, List<AlibabaResourceReference> securityGroups, SystemDiskProperties systemDisk, List<Tag> tag, String tenancy, io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret, AlibabaResourceReference vSwitch, String vpcId, String zoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlibabaCloudMachineProviderConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.BandwidthPropertiesgetBandwidth()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.LocalObjectReferencegetCredentialsSecret()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 instanceStringgetImageId()The ID of the image used to create the instance.StringgetInstanceType()The instance type of the instance.StringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ObjectMetagetMetadata()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).StringgetRamRoleName()ramRoleName is the name of the instance Resource Access Management (RAM) role.StringgetRegionId()The ID of the region in which to create the instance.AlibabaResourceReferencegetResourceGroup()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.SystemDiskPropertiesgetSystemDisk()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.StringgetTenancy()tenancy specifies whether to create the instance on a dedicated host.io.fabric8.kubernetes.api.model.LocalObjectReferencegetUserDataSecret()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).StringgetVpcId()The ID of the vpcAlibabaResourceReferencegetVSwitch()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).StringgetZoneId()The ID of the zone in which to create the instance.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetBandwidth(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).voidsetCredentialsSecret(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).voidsetDataDisk(List<DataDiskProperties> dataDisk)DataDisks holds information regarding the extra disks attached to the instancevoidsetImageId(String imageId)The ID of the image used to create the instance.voidsetInstanceType(String instanceType)The instance type of the instance.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(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).voidsetRamRoleName(String ramRoleName)ramRoleName is the name of the instance Resource Access Management (RAM) role.voidsetRegionId(String regionId)The ID of the region in which to create the instance.voidsetResourceGroup(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).voidsetSecurityGroups(List<AlibabaResourceReference> securityGroups)securityGroups is a list of security group references to assign to the instance.voidsetSystemDisk(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).voidsetTag(List<Tag> tag)Tags are the set of metadata to add to an instance.voidsetTenancy(String tenancy)tenancy specifies whether to create the instance on a dedicated host.voidsetUserDataSecret(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).voidsetVpcId(String vpcId)The ID of the vpcvoidsetVSwitch(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).voidsetZoneId(String zoneId)The ID of the zone in which to create the instance.AlibabaCloudMachineProviderConfigBuildertoBuilder()-
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
-
AlibabaCloudMachineProviderConfig
public AlibabaCloudMachineProviderConfig()
No args constructor for use in serialization
-
AlibabaCloudMachineProviderConfig
public AlibabaCloudMachineProviderConfig(String apiVersion, BandwidthProperties bandwidth, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecret, List<DataDiskProperties> dataDisk, String imageId, String instanceType, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String ramRoleName, String regionId, AlibabaResourceReference resourceGroup, List<AlibabaResourceReference> securityGroups, SystemDiskProperties systemDisk, List<Tag> tag, String tenancy, io.fabric8.kubernetes.api.model.LocalObjectReference userDataSecret, AlibabaResourceReference vSwitch, String vpcId, String zoneId)
-
-
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
-
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:
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
-
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:
getMetadatain interfaceio.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:
setMetadatain interfaceio.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).
-
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.
-
edit
public AlibabaCloudMachineProviderConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlibabaCloudMachineProviderConfigBuilder>
-
toBuilder
public AlibabaCloudMachineProviderConfigBuilder toBuilder()
-
-