Class ReleaseHelpersRequestBuilder


public class ReleaseHelpersRequestBuilder extends ReleaseBaseRequestBuilder
Helper request builder that combines multiple Apis to create logical helper methods for ease of use.
  • Constructor Details

    • ReleaseHelpersRequestBuilder

      public ReleaseHelpersRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential)
      Instantiates a new RequestBuilder instance and sets the default values.
      Parameters:
      organizationUrl - Represents organization location request url.
      accessTokenCredential - Access token credential object.
  • Method Details

    • queueRelease

      public ReleaseEnvironment queueRelease(int releaseId, String environmentName) throws AzDException
      Queue a release pipeline with release id and environment or stage name.
      Parameters:
      releaseId - Id of the release
      environmentName - Stage name or environment name
      Returns:
      Release Environment object ReleaseEnvironment
      Throws:
      AzDException - Default Api Exception handler.