All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.heat.AdoptStackData Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package org.openstack4j.model.heat;

import java.util.Map;
import org.openstack4j.model.ModelEntity;

/**
 * This interface describes adopt_stack_data element. It is used
 * for stack adoption and as a return value for stack abandoning. All getters
 * map to the possible return values of
 *  Delete /v1/{tenant_id}/stacks/{stack_name}/{stack_id}/abandon
 *
 * @see https://developer.openstack.org/api-ref/orchestration/v1
 *
 * @author Ales Kemr
 */
public interface AdoptStackData extends ModelEntity {

    /**
     * Returns stack action, e.g. CREATE
     * 
     * @return stack action
     */
    String getAction();

    /**
     * Returns the id of the stack
     *
     * @return the id of the stack
     */
    String getId();

    /**
     * Returns the name of the stack
     *
     * @return the name of the stack
     */
    String getName();

    /**
     * Returns the status of the stack
     *
     * @return the status of the stack
     */
    String getStatus();

    /**
     * Returns stack template as a map
     *
     * @return stack template as a map
     */
    Map getTemplate();

    /**
     * Returns map of existing resources, to be adopted into the stack
     *
     * @return Map of existing resources to be adopted into the stack
     */
    Map> getResources();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy