Interface CloudInstancesExpiration

    • Method Detail

      • markInstanceExpired

        void markInstanceExpired​(@NotNull
                                 String profileId,
                                 @NotNull
                                 String instanceId)
        Terminate instance after current build finishes
        Parameters:
        profileId - profile id
        instanceId - id of instance to terminate after current build finishes
        Since:
        2020.2
      • isInstanceExpired

        boolean isInstanceExpired​(@NotNull
                                  String profileId,
                                  @NotNull
                                  String instanceId)
        Parameters:
        profileId -
        instanceId -
        Returns:
        true, if no other builds will be run on this instance. False otherwise
        Since:
        2020.2