Package org.azd.release.deployments
Class DeploymentsRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.deployments.DeploymentsRequestBuilder
Provides functionality to work with Release Deployments Api.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.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
ConstructorDescriptionDeploymentsRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionlist()
Returns the list of release deployments.list
(Consumer<DeploymentsRequestBuilder.RequestConfiguration> requestConfiguration) Returns the list of release deployments.Returns the list of release deployments.listAsync
(Consumer<DeploymentsRequestBuilder.RequestConfiguration> requestConfiguration) Returns the list of release deployments.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
DeploymentsRequestBuilder
public DeploymentsRequestBuilder(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
-
listAsync
Returns the list of release deployments.- Returns:
- Collection of release deployments.
Deployments
- Throws:
AzDException
- Default Api exception handler.
-
listAsync
public CompletableFuture<Deployments> listAsync(Consumer<DeploymentsRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Returns the list of release deployments.- Parameters:
requestConfiguration
- Represents the query parameters.- Returns:
- Collection of release deployments.
Deployments
- Throws:
AzDException
- Default Api exception handler.
-
list
Returns the list of release deployments.- Returns:
- Collection of release deployments.
Deployments
- Throws:
AzDException
- Default Api exception handler.
-
list
public Deployments list(Consumer<DeploymentsRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Returns the list of release deployments.- Parameters:
requestConfiguration
- Represents the query parameters.- Returns:
- Collection of release deployments.
Deployments
- Throws:
AzDException
- Default Api exception handler.
-