Class AzureMachineProviderSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.AzureMachineProviderSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureMachineProviderSpecBuilder>,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 AzureMachineProviderSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureMachineProviderSpecBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureMachineProviderSpec()No args constructor for use in serializationAzureMachineProviderSpec(Boolean acceleratedNetworking, String apiVersion, List<String> applicationSecurityGroups, String availabilitySet, String capacityReservationGroupID, io.fabric8.kubernetes.api.model.SecretReference credentialsSecret, List<DataDisk> dataDisks, AzureDiagnostics diagnostics, Image image, String internalLoadBalancer, String kind, String location, String managedIdentity, io.fabric8.kubernetes.api.model.ObjectMeta metadata, Long natRule, String networkResourceGroup, OSDisk osDisk, Boolean publicIP, String publicLoadBalancer, String resourceGroup, String securityGroup, SecurityProfile securityProfile, SpotVMOptions spotVMOptions, String sshPublicKey, String subnet, Map<String,String> tags, String ultraSSDCapability, io.fabric8.kubernetes.api.model.SecretReference userDataSecret, String vmSize, String vnet, String zone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureMachineProviderSpecBuilderedit()BooleangetAcceleratedNetworking()acceleratedNetworking enables or disables Azure accelerated networking feature.Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<String>getApplicationSecurityGroups()Application Security Groups that need to be attached to the machine's interface.StringgetAvailabilitySet()availabilitySet specifies the availability set to use for this instance.StringgetCapacityReservationGroupID()capacityReservationGroupID specifies the capacity reservation group resource id that should be used for allocating the virtual machine.io.fabric8.kubernetes.api.model.SecretReferencegetCredentialsSecret()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.List<DataDisk>getDataDisks()DataDisk specifies the parameters that are used to add one or more data disks to the machine.AzureDiagnosticsgetDiagnostics()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.ImagegetImage()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.StringgetInternalLoadBalancer()InternalLoadBalancerName to use for this instanceStringgetKind()Kind is a string value representing the REST resource this object represents.StringgetLocation()location is the region to use to create the instanceStringgetManagedIdentity()managedIdentity to set managed identity nameio.fabric8.kubernetes.api.model.ObjectMetagetMetadata()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.LonggetNatRule()natRule to set inbound NAT rule of the load balancerStringgetNetworkResourceGroup()networkResourceGroup is the resource group for the virtual machine's networkOSDiskgetOsDisk()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.BooleangetPublicIP()publicIP if true a public IP will be usedStringgetPublicLoadBalancer()publicLoadBalancer to use for this instanceStringgetResourceGroup()resourceGroup is the resource group for the virtual machineStringgetSecurityGroup()Network Security Group that needs to be attached to the machine's interface.SecurityProfilegetSecurityProfile()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.SpotVMOptionsgetSpotVMOptions()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.StringgetSshPublicKey()sshPublicKey is the public key to use to SSH to the virtual machine.StringgetSubnet()subnet to use for this instanceMap<String,String>getTags()tags is a list of tags to apply to the machine.StringgetUltraSSDCapability()ultraSSDCapability enables or disables Azure UltraSSD capability for a virtual machine.io.fabric8.kubernetes.api.model.SecretReferencegetUserDataSecret()AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.StringgetVmSize()vmSize is the size of the VM to create.StringgetVnet()vnet to set virtual network nameStringgetZone()Availability Zone for the virtual machine.voidsetAcceleratedNetworking(Boolean acceleratedNetworking)acceleratedNetworking enables or disables Azure accelerated networking feature.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetApplicationSecurityGroups(List<String> applicationSecurityGroups)Application Security Groups that need to be attached to the machine's interface.voidsetAvailabilitySet(String availabilitySet)availabilitySet specifies the availability set to use for this instance.voidsetCapacityReservationGroupID(String capacityReservationGroupID)capacityReservationGroupID specifies the capacity reservation group resource id that should be used for allocating the virtual machine.voidsetCredentialsSecret(io.fabric8.kubernetes.api.model.SecretReference credentialsSecret)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetDataDisks(List<DataDisk> dataDisks)DataDisk specifies the parameters that are used to add one or more data disks to the machine.voidsetDiagnostics(AzureDiagnostics diagnostics)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetImage(Image image)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetInternalLoadBalancer(String internalLoadBalancer)InternalLoadBalancerName to use for this instancevoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetLocation(String location)location is the region to use to create the instancevoidsetManagedIdentity(String managedIdentity)managedIdentity to set managed identity namevoidsetMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetNatRule(Long natRule)natRule to set inbound NAT rule of the load balancervoidsetNetworkResourceGroup(String networkResourceGroup)networkResourceGroup is the resource group for the virtual machine's networkvoidsetOsDisk(OSDisk osDisk)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetPublicIP(Boolean publicIP)publicIP if true a public IP will be usedvoidsetPublicLoadBalancer(String publicLoadBalancer)publicLoadBalancer to use for this instancevoidsetResourceGroup(String resourceGroup)resourceGroup is the resource group for the virtual machinevoidsetSecurityGroup(String securityGroup)Network Security Group that needs to be attached to the machine's interface.voidsetSecurityProfile(SecurityProfile securityProfile)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetSpotVMOptions(SpotVMOptions spotVMOptions)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetSshPublicKey(String sshPublicKey)sshPublicKey is the public key to use to SSH to the virtual machine.voidsetSubnet(String subnet)subnet to use for this instancevoidsetTags(Map<String,String> tags)tags is a list of tags to apply to the machine.voidsetUltraSSDCapability(String ultraSSDCapability)ultraSSDCapability enables or disables Azure UltraSSD capability for a virtual machine.voidsetUserDataSecret(io.fabric8.kubernetes.api.model.SecretReference userDataSecret)AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine.voidsetVmSize(String vmSize)vmSize is the size of the VM to create.voidsetVnet(String vnet)vnet to set virtual network namevoidsetZone(String zone)Availability Zone for the virtual machine.AzureMachineProviderSpecBuildertoBuilder()-
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
-
AzureMachineProviderSpec
public AzureMachineProviderSpec()
No args constructor for use in serialization
-
AzureMachineProviderSpec
public AzureMachineProviderSpec(Boolean acceleratedNetworking, String apiVersion, List<String> applicationSecurityGroups, String availabilitySet, String capacityReservationGroupID, io.fabric8.kubernetes.api.model.SecretReference credentialsSecret, List<DataDisk> dataDisks, AzureDiagnostics diagnostics, Image image, String internalLoadBalancer, String kind, String location, String managedIdentity, io.fabric8.kubernetes.api.model.ObjectMeta metadata, Long natRule, String networkResourceGroup, OSDisk osDisk, Boolean publicIP, String publicLoadBalancer, String resourceGroup, String securityGroup, SecurityProfile securityProfile, SpotVMOptions spotVMOptions, String sshPublicKey, String subnet, Map<String,String> tags, String ultraSSDCapability, io.fabric8.kubernetes.api.model.SecretReference userDataSecret, String vmSize, String vnet, String zone)
-
-
Method Detail
-
getAcceleratedNetworking
public Boolean getAcceleratedNetworking()
acceleratedNetworking enables or disables Azure accelerated networking feature. Set to false by default. If true, then this will depend on whether the requested VMSize is supported. If set to true with an unsupported VMSize, Azure will return an error.
-
setAcceleratedNetworking
public void setAcceleratedNetworking(Boolean acceleratedNetworking)
acceleratedNetworking enables or disables Azure accelerated networking feature. Set to false by default. If true, then this will depend on whether the requested VMSize is supported. If set to true with an unsupported VMSize, Azure will return an error.
-
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
-
getApplicationSecurityGroups
public List<String> getApplicationSecurityGroups()
Application Security Groups that need to be attached to the machine's interface. No application security groups will be attached if zero-length.
-
setApplicationSecurityGroups
public void setApplicationSecurityGroups(List<String> applicationSecurityGroups)
Application Security Groups that need to be attached to the machine's interface. No application security groups will be attached if zero-length.
-
getAvailabilitySet
public String getAvailabilitySet()
availabilitySet specifies the availability set to use for this instance. Availability set should be precreated, before using this field.
-
setAvailabilitySet
public void setAvailabilitySet(String availabilitySet)
availabilitySet specifies the availability set to use for this instance. Availability set should be precreated, before using this field.
-
getCapacityReservationGroupID
public String getCapacityReservationGroupID()
capacityReservationGroupID specifies the capacity reservation group resource id that should be used for allocating the virtual machine. The field size should be greater than 0 and the field input must start with '/'. The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'. The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
-
setCapacityReservationGroupID
public void setCapacityReservationGroupID(String capacityReservationGroupID)
capacityReservationGroupID specifies the capacity reservation group resource id that should be used for allocating the virtual machine. The field size should be greater than 0 and the field input must start with '/'. The input for capacityReservationGroupID must be similar to '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}'. The keys which are used should be among 'subscriptions', 'providers' and 'resourcegroups' followed by valid ID or names respectively.
-
getCredentialsSecret
public io.fabric8.kubernetes.api.model.SecretReference getCredentialsSecret()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setCredentialsSecret
public void setCredentialsSecret(io.fabric8.kubernetes.api.model.SecretReference credentialsSecret)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getDataDisks
public List<DataDisk> getDataDisks()
DataDisk specifies the parameters that are used to add one or more data disks to the machine.
-
setDataDisks
public void setDataDisks(List<DataDisk> dataDisks)
DataDisk specifies the parameters that are used to add one or more data disks to the machine.
-
getDiagnostics
public AzureDiagnostics getDiagnostics()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setDiagnostics
public void setDiagnostics(AzureDiagnostics diagnostics)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getImage
public Image getImage()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setImage
public void setImage(Image image)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getInternalLoadBalancer
public String getInternalLoadBalancer()
InternalLoadBalancerName to use for this instance
-
setInternalLoadBalancer
public void setInternalLoadBalancer(String internalLoadBalancer)
InternalLoadBalancerName to use for this 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
-
getLocation
public String getLocation()
location is the region to use to create the instance
-
setLocation
public void setLocation(String location)
location is the region to use to create the instance
-
getManagedIdentity
public String getManagedIdentity()
managedIdentity to set managed identity name
-
setManagedIdentity
public void setManagedIdentity(String managedIdentity)
managedIdentity to set managed identity name
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 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)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata
-
getNatRule
public Long getNatRule()
natRule to set inbound NAT rule of the load balancer
-
setNatRule
public void setNatRule(Long natRule)
natRule to set inbound NAT rule of the load balancer
-
getNetworkResourceGroup
public String getNetworkResourceGroup()
networkResourceGroup is the resource group for the virtual machine's network
-
setNetworkResourceGroup
public void setNetworkResourceGroup(String networkResourceGroup)
networkResourceGroup is the resource group for the virtual machine's network
-
getOsDisk
public OSDisk getOsDisk()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setOsDisk
public void setOsDisk(OSDisk osDisk)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getPublicIP
public Boolean getPublicIP()
publicIP if true a public IP will be used
-
setPublicIP
public void setPublicIP(Boolean publicIP)
publicIP if true a public IP will be used
-
getPublicLoadBalancer
public String getPublicLoadBalancer()
publicLoadBalancer to use for this instance
-
setPublicLoadBalancer
public void setPublicLoadBalancer(String publicLoadBalancer)
publicLoadBalancer to use for this instance
-
getResourceGroup
public String getResourceGroup()
resourceGroup is the resource group for the virtual machine
-
setResourceGroup
public void setResourceGroup(String resourceGroup)
resourceGroup is the resource group for the virtual machine
-
getSecurityGroup
public String getSecurityGroup()
Network Security Group that needs to be attached to the machine's interface. No security group will be attached if empty.
-
setSecurityGroup
public void setSecurityGroup(String securityGroup)
Network Security Group that needs to be attached to the machine's interface. No security group will be attached if empty.
-
getSecurityProfile
public SecurityProfile getSecurityProfile()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setSecurityProfile
public void setSecurityProfile(SecurityProfile securityProfile)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getSpotVMOptions
public SpotVMOptions getSpotVMOptions()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setSpotVMOptions
public void setSpotVMOptions(SpotVMOptions spotVMOptions)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getSshPublicKey
public String getSshPublicKey()
sshPublicKey is the public key to use to SSH to the virtual machine.
-
setSshPublicKey
public void setSshPublicKey(String sshPublicKey)
sshPublicKey is the public key to use to SSH to the virtual machine.
-
getSubnet
public String getSubnet()
subnet to use for this instance
-
setSubnet
public void setSubnet(String subnet)
subnet to use for this instance
-
setTags
public void setTags(Map<String,String> tags)
tags is a list of tags to apply to the machine.
-
getUltraSSDCapability
public String getUltraSSDCapability()
ultraSSDCapability enables or disables Azure UltraSSD capability for a virtual machine. This can be used to allow/disallow binding of Azure UltraSSD to the Machine both as Data Disks or via Persistent Volumes. This Azure feature is subject to a specific scope and certain limitations. More informations on this can be found in the official Azure documentation for Ultra Disks: (https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd?tabs=azure-portal#ga-scope-and-limitations).When omitted, if at least one Data Disk of type UltraSSD is specified, the platform will automatically enable the capability. If a Perisistent Volume backed by an UltraSSD is bound to a Pod on the Machine, when this field is ommitted, the platform will *not* automatically enable the capability (unless already enabled by the presence of an UltraSSD as Data Disk). This may manifest in the Pod being stuck in `ContainerCreating` phase. This defaulting behaviour may be subject to change in future.
When set to "Enabled", if the capability is available for the Machine based on the scope and limitations described above, the capability will be set on the Machine. This will thus allow UltraSSD both as Data Disks and Persistent Volumes. If set to "Enabled" when the capability can't be available due to scope and limitations, the Machine will go into "Failed" state.
When set to "Disabled", UltraSSDs will not be allowed either as Data Disks nor as Persistent Volumes. In this case if any UltraSSDs are specified as Data Disks on a Machine, the Machine will go into a "Failed" state. If instead any UltraSSDs are backing the volumes (via Persistent Volumes) of any Pods scheduled on a Node which is backed by the Machine, the Pod may get stuck in `ContainerCreating` phase.
-
setUltraSSDCapability
public void setUltraSSDCapability(String ultraSSDCapability)
ultraSSDCapability enables or disables Azure UltraSSD capability for a virtual machine. This can be used to allow/disallow binding of Azure UltraSSD to the Machine both as Data Disks or via Persistent Volumes. This Azure feature is subject to a specific scope and certain limitations. More informations on this can be found in the official Azure documentation for Ultra Disks: (https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd?tabs=azure-portal#ga-scope-and-limitations).When omitted, if at least one Data Disk of type UltraSSD is specified, the platform will automatically enable the capability. If a Perisistent Volume backed by an UltraSSD is bound to a Pod on the Machine, when this field is ommitted, the platform will *not* automatically enable the capability (unless already enabled by the presence of an UltraSSD as Data Disk). This may manifest in the Pod being stuck in `ContainerCreating` phase. This defaulting behaviour may be subject to change in future.
When set to "Enabled", if the capability is available for the Machine based on the scope and limitations described above, the capability will be set on the Machine. This will thus allow UltraSSD both as Data Disks and Persistent Volumes. If set to "Enabled" when the capability can't be available due to scope and limitations, the Machine will go into "Failed" state.
When set to "Disabled", UltraSSDs will not be allowed either as Data Disks nor as Persistent Volumes. In this case if any UltraSSDs are specified as Data Disks on a Machine, the Machine will go into a "Failed" state. If instead any UltraSSDs are backing the volumes (via Persistent Volumes) of any Pods scheduled on a Node which is backed by the Machine, the Pod may get stuck in `ContainerCreating` phase.
-
getUserDataSecret
public io.fabric8.kubernetes.api.model.SecretReference getUserDataSecret()
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
setUserDataSecret
public void setUserDataSecret(io.fabric8.kubernetes.api.model.SecretReference userDataSecret)
AzureMachineProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an Azure virtual machine. It is used by the Azure machine actuator to create a single Machine. Required parameters such as location that are not specified by this configuration, will be defaulted by the actuator. Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).
-
getVmSize
public String getVmSize()
vmSize is the size of the VM to create.
-
setVmSize
public void setVmSize(String vmSize)
vmSize is the size of the VM to create.
-
getVnet
public String getVnet()
vnet to set virtual network name
-
setVnet
public void setVnet(String vnet)
vnet to set virtual network name
-
getZone
public String getZone()
Availability Zone for the virtual machine. If nil, the virtual machine should be deployed to no zone
-
setZone
public void setZone(String zone)
Availability Zone for the virtual machine. If nil, the virtual machine should be deployed to no zone
-
edit
public AzureMachineProviderSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AzureMachineProviderSpecBuilder>
-
toBuilder
public AzureMachineProviderSpecBuilder toBuilder()
-
-