Package jetbrains.buildServer.clouds
Interface CloudProfile
-
- All Known Implementing Classes:
CloudProfileImpl
public interface CloudProfile
Parameters of cloud profile that used in TeamCity.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getCloudCode()
String
getDescription()
User's comment for the profile.Collection<CloudImageParameters>
getImages()
CloudClientParameters
getParameters()
Cloud implementation specific parametersString
getProfileId()
Abstract identifier.String
getProfileName()
User defined profile nameMap<String,String>
getProfileProperties()
returns all profile-level properties as mapString
getProjectId()
Internal id of project containing that profileLong
getTerminateIdleTime()
Time to wait before idle agent is terminatedboolean
isEnabled()
Indicates whether the profile is enabledString
profileDescription()
Deprecated.use #toString()
-
-
-
Method Detail
-
getProfileId
@NotNull String getProfileId()
Abstract identifier. Unique in the buildserver runtime instance scope.- Returns:
- the profile identifier
-
getProjectId
@NotNull String getProjectId()
Internal id of project containing that profile- Returns:
- internal id of project containing that profile
- Since:
- 2017.1
-
getCloudCode
@NotNull String getCloudCode()
- Returns:
- name of the cloud plugin
- See Also:
CloudType.getCloudCode()
-
getProfileName
@NotNull String getProfileName()
User defined profile name- Returns:
- name.
-
getDescription
@NotNull String getDescription()
User's comment for the profile.- Returns:
- description
-
profileDescription
@NotNull @Deprecated String profileDescription()
Deprecated.use #toString()
-
getTerminateIdleTime
@Nullable Long getTerminateIdleTime()
Time to wait before idle agent is terminated- Returns:
- Time to wait before idle agent is terminated
-
isEnabled
boolean isEnabled()
Indicates whether the profile is enabled- Returns:
- true, when profile is enabled. False otherwise
-
getProfileProperties
@NotNull Map<String,String> getProfileProperties()
returns all profile-level properties as map- Returns:
- see above
- Since:
- 2017.1
-
getParameters
@NotNull CloudClientParameters getParameters()
Cloud implementation specific parameters- Returns:
- connection parameters
-
getImages
@NotNull Collection<CloudImageParameters> getImages()
- Returns:
- cloud images parameters defined in profile
-
-