@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FastlyIntegrationApi extends Object
| Constructor and Description |
|---|
FastlyIntegrationApi() |
FastlyIntegrationApi(ApiClient apiClient) |
public FastlyIntegrationApi()
public FastlyIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic FastlyAccountResponse createFastlyAccount(FastlyAccountCreateRequest body) throws ApiException
See createFastlyAccountWithHttpInfo(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyAccountResponse> createFastlyAccountAsync(FastlyAccountCreateRequest body)
See createFastlyAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).
body - (required)public ApiResponse<FastlyAccountResponse> createFastlyAccountWithHttpInfo(FastlyAccountCreateRequest body) throws ApiException
body - (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<FastlyAccountResponse>> createFastlyAccountWithHttpInfoAsync(FastlyAccountCreateRequest body)
See createFastlyAccountWithHttpInfo(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).
body - (required)public FastlyServiceResponse createFastlyService(String accountId, FastlyServiceRequest body) throws ApiException
accountId - Fastly Account id. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyServiceResponse> createFastlyServiceAsync(String accountId, FastlyServiceRequest body)
accountId - Fastly Account id. (required)body - (required)public ApiResponse<FastlyServiceResponse> createFastlyServiceWithHttpInfo(String accountId, FastlyServiceRequest body) throws ApiException
accountId - Fastly Account id. (required)body - (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<FastlyServiceResponse>> createFastlyServiceWithHttpInfoAsync(String accountId, FastlyServiceRequest body)
accountId - Fastly Account id. (required)body - (required)public void deleteFastlyAccount(String accountId) throws ApiException
accountId - Fastly Account id. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteFastlyAccountAsync(String accountId)
accountId - Fastly Account id. (required)public ApiResponse<Void> deleteFastlyAccountWithHttpInfo(String accountId) throws ApiException
accountId - Fastly Account id. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteFastlyAccountWithHttpInfoAsync(String accountId)
accountId - Fastly Account id. (required)public void deleteFastlyService(String accountId, String serviceId) throws ApiException
See deleteFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteFastlyServiceAsync(String accountId, String serviceId)
See deleteFastlyServiceWithHttpInfoAsync(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)public ApiResponse<Void> deleteFastlyServiceWithHttpInfo(String accountId, String serviceId) throws ApiException
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteFastlyServiceWithHttpInfoAsync(String accountId, String serviceId)
See deleteFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)public FastlyAccountResponse getFastlyAccount(String accountId) throws ApiException
accountId - Fastly Account id. (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyAccountResponse> getFastlyAccountAsync(String accountId)
accountId - Fastly Account id. (required)public ApiResponse<FastlyAccountResponse> getFastlyAccountWithHttpInfo(String accountId) throws ApiException
accountId - Fastly Account id. (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<FastlyAccountResponse>> getFastlyAccountWithHttpInfoAsync(String accountId)
accountId - Fastly Account id. (required)public FastlyServiceResponse getFastlyService(String accountId, String serviceId) throws ApiException
See getFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyServiceResponse> getFastlyServiceAsync(String accountId, String serviceId)
See getFastlyServiceWithHttpInfoAsync(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)public ApiResponse<FastlyServiceResponse> getFastlyServiceWithHttpInfo(String accountId, String serviceId) throws ApiException
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (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<FastlyServiceResponse>> getFastlyServiceWithHttpInfoAsync(String accountId, String serviceId)
See getFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)public FastlyAccountsResponse listFastlyAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<FastlyAccountsResponse> listFastlyAccountsAsync()
public ApiResponse<FastlyAccountsResponse> listFastlyAccountsWithHttpInfo() throws ApiException
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<FastlyAccountsResponse>> listFastlyAccountsWithHttpInfoAsync()
public FastlyServicesResponse listFastlyServices(String accountId) throws ApiException
accountId - Fastly Account id. (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyServicesResponse> listFastlyServicesAsync(String accountId)
accountId - Fastly Account id. (required)public ApiResponse<FastlyServicesResponse> listFastlyServicesWithHttpInfo(String accountId) throws ApiException
accountId - Fastly Account id. (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<FastlyServicesResponse>> listFastlyServicesWithHttpInfoAsync(String accountId)
accountId - Fastly Account id. (required)public FastlyAccountResponse updateFastlyAccount(String accountId, FastlyAccountUpdateRequest body) throws ApiException
accountId - Fastly Account id. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyAccountResponse> updateFastlyAccountAsync(String accountId, FastlyAccountUpdateRequest body)
accountId - Fastly Account id. (required)body - (required)public ApiResponse<FastlyAccountResponse> updateFastlyAccountWithHttpInfo(String accountId, FastlyAccountUpdateRequest body) throws ApiException
accountId - Fastly Account id. (required)body - (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<FastlyAccountResponse>> updateFastlyAccountWithHttpInfoAsync(String accountId, FastlyAccountUpdateRequest body)
accountId - Fastly Account id. (required)body - (required)public FastlyServiceResponse updateFastlyService(String accountId, String serviceId, FastlyServiceRequest body) throws ApiException
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<FastlyServiceResponse> updateFastlyServiceAsync(String accountId, String serviceId, FastlyServiceRequest body)
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)body - (required)public ApiResponse<FastlyServiceResponse> updateFastlyServiceWithHttpInfo(String accountId, String serviceId, FastlyServiceRequest body) throws ApiException
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)body - (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<FastlyServiceResponse>> updateFastlyServiceWithHttpInfoAsync(String accountId, String serviceId, FastlyServiceRequest body)
accountId - Fastly Account id. (required)serviceId - Fastly Service ID. (required)body - (required)Copyright © 2024. All rights reserved.