Class ManualInterventionsRequestBuilder

java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.release.manualinterventions.ManualInterventionsRequestBuilder

public class ManualInterventionsRequestBuilder extends BaseRequestBuilder
Provides functionality to work with Release Manual Intervention Api.
  • 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

      public CompletableFuture<ManualInterventions> listAsync(int releaseId) throws AzDException
      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

      public ManualIntervention get(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
    • list

      public ManualInterventions list(int releaseId) throws AzDException
      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