Package org.azd.helpers.release
Class ReleaseHelpersRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.ReleaseBaseRequestBuilder
org.azd.helpers.release.ReleaseHelpersRequestBuilder
Helper request builder that combines multiple Apis to create logical helper methods for ease of use.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionReleaseHelpersRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionqueueRelease
(int releaseId, String environmentName) Queue a release pipeline with release id and environment or stage name.Methods inherited from class org.azd.release.ReleaseBaseRequestBuilder
approvals, definitions, deployments, folders, gates, manualInterventions, releases
Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
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
Queue a release pipeline with release id and environment or stage name.- Parameters:
releaseId
- Id of the releaseenvironmentName
- Stage name or environment name- Returns:
- Release Environment object
ReleaseEnvironment
- Throws:
AzDException
- Default Api Exception handler.
-