Class ManualInterventionsRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.manualinterventions.ManualInterventionsRequestBuilder
Provides functionality to work with Release Manual Intervention Api.
-
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
ConstructorDescriptionManualInterventionsRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget
(int manualInterventionId, int releaseId) Get manual intervention for a given release and manual intervention id.getAsync
(int manualInterventionId, int releaseId) Get manual intervention for a given release and manual intervention id.list
(int releaseId) List all manual interventions for a given release.listAsync
(int releaseId) List all manual interventions for a given release.update
(int manualInterventionId, int releaseId, ManualInterventionUpdateRequest manualInterventionUpdateRequest) Update manual intervention.updateAsync
(int manualInterventionId, int releaseId, ManualInterventionUpdateRequest manualInterventionUpdateRequest) Update manual intervention.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
ManualInterventionsRequestBuilder
public ManualInterventionsRequestBuilder(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
-
getAsync
public CompletableFuture<ManualIntervention> getAsync(int manualInterventionId, int releaseId) throws AzDException Get manual intervention for a given release and manual intervention id.- Parameters:
manualInterventionId
- Id of the manual intervention.releaseId
- Id of the release.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-
listAsync
List all manual interventions for a given release.- Parameters:
releaseId
- Id of the release.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-
updateAsync
public CompletableFuture<ManualIntervention> updateAsync(int manualInterventionId, int releaseId, ManualInterventionUpdateRequest manualInterventionUpdateRequest) throws AzDException Update manual intervention.- Parameters:
manualInterventionId
- Id of the manual intervention.releaseId
- Id of the release.manualInterventionUpdateRequest
- Represents the request body to update manual intervention.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-
get
Get manual intervention for a given release and manual intervention id.- Parameters:
manualInterventionId
- Id of the manual intervention.releaseId
- Id of the release.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-
list
List all manual interventions for a given release.- Parameters:
releaseId
- Id of the release.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-
update
public ManualIntervention update(int manualInterventionId, int releaseId, ManualInterventionUpdateRequest manualInterventionUpdateRequest) throws AzDException Update manual intervention.- Parameters:
manualInterventionId
- Id of the manual intervention.releaseId
- Id of the release.manualInterventionUpdateRequest
- Represents the request body to update manual intervention.- Returns:
- Manual Intervention object
ManualIntervention
- Throws:
AzDException
- Default Api exception handler
-