@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AppDeploymentApi extends Object
| Constructor and Description |
|---|
AppDeploymentApi() |
AppDeploymentApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DeployAppResponse |
deployApp(String appId)
Deploy App.
|
CompletableFuture<DeployAppResponse> |
deployAppAsync(String appId)
Deploy App.
|
ApiResponse<DeployAppResponse> |
deployAppWithHttpInfo(String appId)
Deploy (publish) an app by ID
|
CompletableFuture<ApiResponse<DeployAppResponse>> |
deployAppWithHttpInfoAsync(String appId)
Deploy App.
|
DisableAppResponse |
disableApp(String appId)
Disable App.
|
CompletableFuture<DisableAppResponse> |
disableAppAsync(String appId)
Disable App.
|
ApiResponse<DisableAppResponse> |
disableAppWithHttpInfo(String appId)
Disable an app by ID
|
CompletableFuture<ApiResponse<DisableAppResponse>> |
disableAppWithHttpInfoAsync(String appId)
Disable App.
|
ApiClient |
getApiClient()
Get the API client.
|
void |
setApiClient(ApiClient apiClient)
Set the API client.
|
public AppDeploymentApi()
public AppDeploymentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic DeployAppResponse deployApp(String appId) throws ApiException
appId - (required)ApiException - if fails to make API callpublic CompletableFuture<DeployAppResponse> deployAppAsync(String appId)
appId - (required)public ApiResponse<DeployAppResponse> deployAppWithHttpInfo(String appId) throws ApiException
appId - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeployAppResponse>> deployAppWithHttpInfoAsync(String appId)
appId - (required)public DisableAppResponse disableApp(String appId) throws ApiException
appId - (required)ApiException - if fails to make API callpublic CompletableFuture<DisableAppResponse> disableAppAsync(String appId)
appId - (required)public ApiResponse<DisableAppResponse> disableAppWithHttpInfo(String appId) throws ApiException
appId - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DisableAppResponse>> disableAppWithHttpInfoAsync(String appId)
appId - (required)Copyright © 2024. All rights reserved.