Class AciCloud
- java.lang.Object
-
- hudson.model.AbstractModelObject
-
- hudson.model.Actionable
-
- hudson.slaves.Cloud
-
- com.microsoft.jenkins.containeragents.aci.AciCloud
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Cloud>
,ModelObject
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithContextMenu
public class AciCloud extends Cloud
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AciCloud.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.slaves.Cloud
Cloud.CloudState
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHost(AciAgent agent)
void
addIpEnv(AciAgent agent)
boolean
canProvision(Cloud.CloudState cloudState)
com.azure.resourcemanager.AzureResourceManager
getAzureClient()
String
getCredentialsId()
AciContainerTemplate
getFirstTemplate(Label label)
String
getLogAnalyticsCredentialsId()
String
getName()
String
getResourceGroup()
List<AciContainerTemplate>
getTemplates()
static ExecutorService
getThreadPool()
Collection<NodeProvisioner.PlannedNode>
provision(Cloud.CloudState cloudState, int excessWorkload)
void
setLogAnalyticsCredentialsId(String logAnalyticsCredentialsId)
-
Methods inherited from class hudson.slaves.Cloud
all, canProvision, getACL, getDescriptor, getDisplayName, getSearchUrl, getUrl, provision, registerPermissions
-
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
-
-
-
Constructor Detail
-
AciCloud
@DataBoundConstructor public AciCloud(String name, String credentialsId, String resourceGroup, List<AciContainerTemplate> templates)
-
-
Method Detail
-
setLogAnalyticsCredentialsId
@DataBoundSetter public void setLogAnalyticsCredentialsId(String logAnalyticsCredentialsId)
-
getAzureClient
public com.azure.resourcemanager.AzureResourceManager getAzureClient()
-
provision
public Collection<NodeProvisioner.PlannedNode> provision(Cloud.CloudState cloudState, int excessWorkload)
-
canProvision
public boolean canProvision(Cloud.CloudState cloudState)
- Overrides:
canProvision
in classCloud
-
getFirstTemplate
public AciContainerTemplate getFirstTemplate(Label label)
-
getName
public String getName()
-
getCredentialsId
public String getCredentialsId()
-
getLogAnalyticsCredentialsId
public String getLogAnalyticsCredentialsId()
-
getResourceGroup
public String getResourceGroup()
-
getTemplates
public List<AciContainerTemplate> getTemplates()
-
getThreadPool
public static ExecutorService getThreadPool()
-
-