Class AciContainerTemplate
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AciContainerTemplate>
-
- com.microsoft.jenkins.containeragents.aci.AciContainerTemplate
-
- All Implemented Interfaces:
Describable<AciContainerTemplate>
public class AciContainerTemplate extends AbstractDescribableImpl<AciContainerTemplate>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AciContainerTemplate.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description AciContainerTemplate(String name, String label, int timeout, String osType, String image, String command, String rootFs, List<AciPort> ports, List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> privateRegistryCredentials, List<PodEnvVar> envVars, List<AzureFileVolume> volumes, RetentionStrategy<?> retentionStrategy, String cpu, String memory)
-
Method Summary
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
AciContainerTemplate
@DataBoundConstructor public AciContainerTemplate(String name, String label, int timeout, String osType, String image, String command, String rootFs, List<AciPort> ports, List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> privateRegistryCredentials, List<PodEnvVar> envVars, List<AzureFileVolume> volumes, RetentionStrategy<?> retentionStrategy, String cpu, String memory)
-
-
Method Detail
-
provisionAgents
public void provisionAgents(AciCloud cloud, AciAgent agent, org.apache.commons.lang3.time.StopWatch stopWatch) throws Exception
- Throws:
Exception
-
isJnlp
public boolean isJnlp()
-
getName
public String getName()
-
getLabel
public String getLabel()
-
getImage
public String getImage()
-
getOsType
public String getOsType()
-
getTimeout
public int getTimeout()
-
getCommand
public String getCommand()
-
getRootFs
public String getRootFs()
-
getCpu
public String getCpu()
-
getMemory
public String getMemory()
-
getRetentionStrategy
public RetentionStrategy<?> getRetentionStrategy()
-
getPrivateRegistryCredentials
public List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> getPrivateRegistryCredentials()
-
getVolumes
public List<AzureFileVolume> getVolumes()
-
setAvailable
public void setAvailable(boolean available)
-
getAvailable
public boolean getAvailable()
-
getLaunchMethodType
public String getLaunchMethodType()
-
setLaunchMethodType
@DataBoundSetter public void setLaunchMethodType(String launchMethodType)
-
getSshCredentialsId
public String getSshCredentialsId()
-
getSshPort
public String getSshPort()
-
setLaunchMethodTypeContent
@DataBoundSetter public void setLaunchMethodTypeContent(LaunchMethodTypeContent launchMethodTypeContent)
-
getLaunchMethodTypeContent
public LaunchMethodTypeContent getLaunchMethodTypeContent()
-
getPrivateIpAddress
public AciPrivateIpAddress getPrivateIpAddress()
-
setPrivateIpAddress
@DataBoundSetter public void setPrivateIpAddress(AciPrivateIpAddress privateIpAddress)
-
-