public class AzureTemplateOptions extends TemplateOptions implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
AzureTemplateOptions.Builder |
TemplateOptions.ImmutableTemplateOptions
RunScriptOptions.ImmutableRunScriptOptions
blockUntilRunning, inboundPorts, networks, nodeNames, NONE, privateKey, publicKey, script, securityGroups, tags, userMetadata
authenticateSudo, blockOnComplete, loginPassword, loginPrivateKey, loginUser, port, runAsRoot, seconds, taskName, wrapInInitScript
Constructor and Description |
---|
AzureTemplateOptions() |
Modifier and Type | Method and Description |
---|---|
AzureTemplateOptions |
availabilitySet(AvailabilitySet availabilitySet)
Sets the availability set where the nodes will be configured.
|
AzureTemplateOptions |
availabilitySet(String availabilitySetName)
Sets the availability set where the nodes will be configured.
|
AzureTemplateOptions |
clone() |
void |
copyTo(TemplateOptions to) |
AzureTemplateOptions |
customData(String customData)
Custom data (for cloud-init) for the Azure ARM API
|
AzureTemplateOptions |
dataDisks(DataDisk... dataDisks) |
AzureTemplateOptions |
dataDisks(Iterable<DataDisk> dataDisks) |
boolean |
equals(Object o) |
AvailabilitySet |
getAvailabilitySet() |
String |
getAvailabilitySetName() |
String |
getCustomData() |
List<DataDisk> |
getDataDisks() |
List<IpOptions> |
getIpOptions() |
String |
getResourceGroup() |
List<Secrets> |
getSecrets() |
OSProfile.WindowsConfiguration |
getWindowsConfiguration() |
int |
hashCode() |
AzureTemplateOptions |
ipOptions(IpOptions... ipOptions) |
AzureTemplateOptions |
ipOptions(Iterable<IpOptions> ipOptions)
Configure the NICs that will be attached to the created nodes.
|
AzureTemplateOptions |
resourceGroup(String resourceGroup)
The resource group where the new resources will be created.
|
AzureTemplateOptions |
secrets(Iterable<? extends Secrets> secrets)
Import certificates in the Windows Certificate Store
|
com.google.common.base.MoreObjects.ToStringHelper |
string() |
AzureTemplateOptions |
windowsConfiguration(OSProfile.WindowsConfiguration windowsConfiguration)
Windows configuration parameters
|
as, authorizePublicKey, blockOnComplete, blockOnPort, blockUntilRunning, dontAuthorizePublicKey, getGroups, getInboundPorts, getNetworks, getNodeNames, getPrivateKey, getPublicKey, getRunScript, getTags, getUserMetadata, inboundPorts, installPrivateKey, nameTask, networks, networks, nodeNames, overrideAuthenticateSudo, overrideLoginCredentials, overrideLoginPassword, overrideLoginPrivateKey, overrideLoginUser, runAsRoot, runScript, runScript, securityGroups, securityGroups, shouldBlockUntilRunning, tags, userMetadata, userMetadata, wrapInInitScript
copyTo, getLoginPassword, getLoginPrivateKey, getLoginUser, getPort, getSeconds, getTaskName, hasLoginPassword, hasLoginPasswordOption, hasLoginPrivateKey, hasLoginPrivateKeyOption, overrideLoginPassword, overrideLoginPrivateKey, shouldAuthenticateSudo, shouldBlockOnComplete, shouldRunAsRoot, shouldWrapInInitScript, toString
public AzureTemplateOptions availabilitySet(AvailabilitySet availabilitySet)
public AzureTemplateOptions availabilitySet(String availabilitySetName)
public AzureTemplateOptions resourceGroup(String resourceGroup)
public AzureTemplateOptions dataDisks(Iterable<DataDisk> dataDisks)
public AzureTemplateOptions dataDisks(DataDisk... dataDisks)
public AzureTemplateOptions ipOptions(Iterable<IpOptions> ipOptions)
Note that the number of NICs that can be attached depends on the size of the virtual machine, and that the guest operating system needs to be prepared to set up all the configured interfaces.
Depending on the image being used, a cloud-init or bootstrap script might be needed to make the interface setup.
public AzureTemplateOptions ipOptions(IpOptions... ipOptions)
AzureTemplateOptions#ipOptions(Iterable)
public AzureTemplateOptions windowsConfiguration(OSProfile.WindowsConfiguration windowsConfiguration)
public AzureTemplateOptions secrets(Iterable<? extends Secrets> secrets)
public AzureTemplateOptions customData(String customData)
public AvailabilitySet getAvailabilitySet()
public String getAvailabilitySetName()
public String getResourceGroup()
public OSProfile.WindowsConfiguration getWindowsConfiguration()
public String getCustomData()
public AzureTemplateOptions clone()
clone
in class TemplateOptions
public void copyTo(TemplateOptions to)
copyTo
in class TemplateOptions
public boolean equals(Object o)
equals
in class TemplateOptions
public int hashCode()
hashCode
in class TemplateOptions
public com.google.common.base.MoreObjects.ToStringHelper string()
string
in class TemplateOptions
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.