io.rancher.service.SecondaryLaunchConfigService Maven / Gradle / Ivy
The newest version!
package io.rancher.service;
import io.rancher.base.Filters;
import io.rancher.base.TypeCollection;
import io.rancher.type.SecondaryLaunchConfig;
import io.rancher.type.InstanceConsoleInput;
import io.rancher.type.InstanceConsole;
import io.rancher.type.InstanceStop;
import io.rancher.type.Instance;
import io.rancher.type.ContainerExec;
import io.rancher.type.HostAccess;
import io.rancher.type.ContainerProxy;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;
public interface SecondaryLaunchConfigService {
@GET("secondaryLaunchConfig")
Call> list();
@GET("secondaryLaunchConfig")
Call> list(@QueryMap Filters filters);
@GET("secondaryLaunchConfig/{id}")
Call get(@Path("id") String id);
@POST("secondaryLaunchConfig")
Call create(@Body SecondaryLaunchConfig secondaryLaunchConfig);
@PUT("secondaryLaunchConfig/{id}")
Call update(@Path("id") String id, @Body SecondaryLaunchConfig secondaryLaunchConfig);
@DELETE("secondaryLaunchConfig/{id}")
Call delete(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=allocate")
Call allocate(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=console")
Call console(@Path("id") String id, @Body InstanceConsoleInput instanceConsoleInput);
@POST("secondaryLaunchConfig/{id}?action=deallocate")
Call deallocate(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=error")
Call error(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=execute")
Call execute(@Path("id") String id, @Body ContainerExec containerExec);
@POST("secondaryLaunchConfig/{id}?action=migrate")
Call migrate(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=proxy")
Call proxy(@Path("id") String id, @Body ContainerProxy containerProxy);
@POST("secondaryLaunchConfig/{id}?action=purge")
Call purge(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=remove")
Call remove(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=restart")
Call restart(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=start")
Call start(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=stop")
Call stop(@Path("id") String id, @Body InstanceStop instanceStop);
@POST("secondaryLaunchConfig/{id}?action=updatehealthy")
Call updatehealthy(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=updatereinitializing")
Call updatereinitializing(@Path("id") String id);
@POST("secondaryLaunchConfig/{id}?action=updateunhealthy")
Call updateunhealthy(@Path("id") String id);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy