Class AciContainerTemplate
java.lang.Object
hudson.model.AbstractDescribableImpl<AciContainerTemplate>
com.microsoft.jenkins.containeragents.aci.AciContainerTemplate
- All Implemented Interfaces:
Describable<AciContainerTemplate>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAciContainerTemplate
(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
Modifier and TypeMethodDescriptionboolean
getCpu()
getImage()
getLabel()
getName()
getPorts()
List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint>
int
boolean
isJnlp()
void
provisionAgents
(AciCloud cloud, AciAgent agent, org.apache.commons.lang3.time.StopWatch stopWatch) void
setAvailable
(boolean available) void
setLaunchMethodType
(String launchMethodType) void
setLaunchMethodTypeContent
(LaunchMethodTypeContent launchMethodTypeContent) void
setPrivateIpAddress
(AciPrivateIpAddress privateIpAddress) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
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 Details
-
provisionAgents
public void provisionAgents(AciCloud cloud, AciAgent agent, org.apache.commons.lang3.time.StopWatch stopWatch) throws Exception - Throws:
Exception
-
isJnlp
public boolean isJnlp() -
getName
-
getLabel
-
getLabelSet
-
getImage
-
getOsType
-
getTimeout
public int getTimeout() -
getCommand
-
getRootFs
-
getPorts
-
getCpu
-
getMemory
-
getRetentionStrategy
-
getEnvVars
-
getPrivateRegistryCredentials
public List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> getPrivateRegistryCredentials() -
getVolumes
-
setAvailable
public void setAvailable(boolean available) -
getAvailable
public boolean getAvailable() -
getLaunchMethodType
-
setLaunchMethodType
-
getSshCredentialsId
-
getSshPort
-
setLaunchMethodTypeContent
@DataBoundSetter public void setLaunchMethodTypeContent(LaunchMethodTypeContent launchMethodTypeContent) -
getLaunchMethodTypeContent
-
getPrivateIpAddress
-
setPrivateIpAddress
-