@Generated public class AppsAPI extends Object
| Constructor and Description |
|---|
AppsAPI(ApiClient apiClient)
Regular-use constructor
|
AppsAPI(AppsService mock)
Constructor for mocks
|
public AppsAPI(ApiClient apiClient)
public AppsAPI(AppsService mock)
public App waitGetAppIdle(String name) throws TimeoutException
TimeoutExceptionpublic App waitGetAppIdle(String name, Duration timeout, Consumer<App> callback) throws TimeoutException
TimeoutExceptionpublic AppDeployment waitGetDeploymentAppSucceeded(String appName, String deploymentId) throws TimeoutException
TimeoutExceptionpublic AppDeployment waitGetDeploymentAppSucceeded(String appName, String deploymentId, Duration timeout, Consumer<AppDeployment> callback) throws TimeoutException
TimeoutExceptionpublic Wait<App,App> create(CreateAppRequest request)
Creates a new app.
public Wait<AppDeployment,AppDeployment> createDeployment(String appName, String sourceCodePath)
public Wait<AppDeployment,AppDeployment> createDeployment(CreateAppDeploymentRequest request)
Creates an app deployment for the app with the supplied name.
public void delete(String name)
public void delete(DeleteAppRequest request)
Deletes an app.
public App get(GetAppRequest request)
Retrieves information for the app with the supplied name.
public AppDeployment getDeployment(String appName, String deploymentId)
public AppDeployment getDeployment(GetAppDeploymentRequest request)
Retrieves information for the app deployment with the supplied name and deployment id.
public AppEnvironment getEnvironment(String name)
public AppEnvironment getEnvironment(GetAppEnvironmentRequest request)
Retrieves app environment.
public Iterable<App> list(ListAppsRequest request)
Lists all apps in the workspace.
public Iterable<AppDeployment> listDeployments(String appName)
public Iterable<AppDeployment> listDeployments(ListAppDeploymentsRequest request)
Lists all app deployments for the app with the supplied name.
public void stop(String name)
public void stop(StopAppRequest request)
Stops the active deployment of the app in the workspace.
public App update(UpdateAppRequest request)
Updates the app with the supplied name.
public AppsService impl()
Copyright © 2024. All rights reserved.