Class AzureFailureDomain
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.AzureFailureDomain
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureFailureDomainBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AzureFailureDomain extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureFailureDomainBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AzureFailureDomain configures failure domain information for the Azure platform.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureFailureDomain()No args constructor for use in serializationAzureFailureDomain(String subnet, String zone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureFailureDomainBuilderedit()Map<String,Object>getAdditionalProperties()StringgetSubnet()subnet is the name of the network subnet in which the VM will be created.StringgetZone()Availability Zone for the virtual machine.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetSubnet(String subnet)subnet is the name of the network subnet in which the VM will be created.voidsetZone(String zone)Availability Zone for the virtual machine.AzureFailureDomainBuildertoBuilder()
-
-
-
Method Detail
-
getSubnet
public String getSubnet()
subnet is the name of the network subnet in which the VM will be created. When omitted, the subnet value from the machine providerSpec template will be used.
-
setSubnet
public void setSubnet(String subnet)
subnet is the name of the network subnet in which the VM will be created. When omitted, the subnet value from the machine providerSpec template will be used.
-
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 AzureFailureDomainBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AzureFailureDomainBuilder>
-
toBuilder
public AzureFailureDomainBuilder toBuilder()
-
-