Version:
SDK Class
Defines the global API for SDK consumers.
Syntax
public
sealed
class
SDK
Methods
|
Name |
Description |
|
CreateArtifactAsync(int applicationId, string releaseNumber, string buildNumber, int? deployableId, int? executionId, string artifactName, System.IO.Stream artifactData, bool overwrite)
|
|
|
CreateHttpClient(HttpClientCreationOptions options)
|
Returns a System.Net.Http.HttpClient that can be used to make HTTP requests.
|
|
GetCommonTempPath
|
Returns the path of a directory which can be used to store files accessible to the installed product.
|
|
GetConfigValue(string configKey)
|
|
|
GetCredentialById(int id)
|
|
|
GetCredentials(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, string name)
|
Returns information about all of the secure credentials defined in the system.
|
|
GetEnvironments
|
Returns information about all of the environments defined in the application.
|
|
GetProjects
|
Returns information about all of the projects defined in the application.
|
|
GetRaftItem(Inedo.Extensibility.RaftRepositories.RaftItemType type, string itemId, object context)
|
|
|
GetRaftItems(Inedo.Extensibility.RaftRepositories.RaftItemType type, object context)
|
|
|
GetSecureResource(Inedo.Extensibility.SecureResources.IResourceResolutionContext context, string name, Inedo.Extensibility.SecureResources.SecureResourceType type)
|
|
|
GetSecureResourceById(int id)
|
|
|
GetSecureResources(Inedo.Extensibility.SecureResources.IResourceResolutionContext context)
|
Returns information about all of the secure resources defined in the application.
|
|
GetServerRoles
|
Returns information about all of the server roles defined in the application.
|
|
GetServers(bool includeInactive)
|
|
|
GetServersInEnvironment(int environmentId)
|
|
|
GetServersInRole(int roleId)
|
|