Defines the global API for SDK consumers.
Name | Description | |
---|---|---|
BaseUrl |
Gets the application's base URL. |
|
ProductName |
Gets the application's name. |
|
ProductVersion |
Gets the application's version. |
Name | Description | |
---|---|---|
CreateArtifactAsync(int applicationId, string releaseNumber, string buildNumber, int? deployableId, int? executionId, string artifactName, System.IO.Stream artifactData, bool overwrite) |
Creates or overwrites an artifact in BuildMaster. |
|
GetCommonTempPath |
Returns the path of a directory which can be used to store files accessible to the installed product. |
|
GetConfigValue(string configKey) |
Returns the value of the global configuration item with the specified key, or null (Nothing in Visual Basic) if the key was not found. |
|
GetContainerSourceById(int id) |
Returns information about the specified container source defined in the application. |
|
GetContainerSources |
Returns information about all of the container sources defined in the application. |
|
GetCredentialById(int id) |
Returns information about the specified secure credential defined in the application. |
|
GetCredentials |
Returns information about all of the secure credentials defined in the system. |
|
GetCredentials(Inedo.Extensibility.Credentials.ICredentialResolutionContext context) |
Returns information about the secure credentials resolvable with specified context in the system. |
|
GetEnvironments |
Returns information about all of the environments defined in the application. |
|
GetPackageSourceById(int id) |
Returns information about the specified package source defined in the application. |
|
GetPackageSources |
Returns information about all of the package sources 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) |
Returns the raft item specified by itemId if possible; otherwise null (Nothing in Visual Basic). |
|
GetRaftItems(Inedo.Extensibility.RaftRepositories.RaftItemType type, object context) |
Returns raft items filtered by type that are accessible from the specified context. |
|
GetSecureResourceById(int id) |
Returns information about the specified secure resources defined in the application. |
|
GetSecureResources |
Returns information about all of the secure resources defined in the application. |
|
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) |
Returns information about all of the servers defined in the application. |
|
GetServersInEnvironment(int environmentId) |
Returns information about all of the servers which belong to the specified environment. |
|
GetServersInRole(int roleId) |
Returns information about all of the servers which belong to the specified server role. |