Package com.datadog.api.client.v2.api
Class FastlyIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.FastlyIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FastlyIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd Fastly account.Add Fastly account.Create a Fastly account.Add Fastly account.createFastlyService(String accountId, FastlyServiceRequest body) Add Fastly service.createFastlyServiceAsync(String accountId, FastlyServiceRequest body) Add Fastly service.createFastlyServiceWithHttpInfo(String accountId, FastlyServiceRequest body) Create a Fastly service for an account.createFastlyServiceWithHttpInfoAsync(String accountId, FastlyServiceRequest body) Add Fastly service.voiddeleteFastlyAccount(String accountId) Delete Fastly account.deleteFastlyAccountAsync(String accountId) Delete Fastly account.deleteFastlyAccountWithHttpInfo(String accountId) Delete a Fastly account.deleteFastlyAccountWithHttpInfoAsync(String accountId) Delete Fastly account.voiddeleteFastlyService(String accountId, String serviceId) Delete Fastly service.deleteFastlyServiceAsync(String accountId, String serviceId) Delete Fastly service.deleteFastlyServiceWithHttpInfo(String accountId, String serviceId) Delete a Fastly service for an account.deleteFastlyServiceWithHttpInfoAsync(String accountId, String serviceId) Delete Fastly service.Get the API client.getFastlyAccount(String accountId) Get Fastly account.getFastlyAccountAsync(String accountId) Get Fastly account.getFastlyAccountWithHttpInfo(String accountId) Get a Fastly account.getFastlyAccountWithHttpInfoAsync(String accountId) Get Fastly account.getFastlyService(String accountId, String serviceId) Get Fastly service.getFastlyServiceAsync(String accountId, String serviceId) Get Fastly service.getFastlyServiceWithHttpInfo(String accountId, String serviceId) Get a Fastly service for an account.getFastlyServiceWithHttpInfoAsync(String accountId, String serviceId) Get Fastly service.List Fastly accounts.List Fastly accounts.List Fastly accounts.List Fastly accounts.listFastlyServices(String accountId) List Fastly services.listFastlyServicesAsync(String accountId) List Fastly services.listFastlyServicesWithHttpInfo(String accountId) List Fastly services for an account.listFastlyServicesWithHttpInfoAsync(String accountId) List Fastly services.voidsetApiClient(ApiClient apiClient) Set the API client.updateFastlyAccount(String accountId, FastlyAccountUpdateRequest body) Update Fastly account.updateFastlyAccountAsync(String accountId, FastlyAccountUpdateRequest body) Update Fastly account.updateFastlyAccountWithHttpInfo(String accountId, FastlyAccountUpdateRequest body) Update a Fastly account.updateFastlyAccountWithHttpInfoAsync(String accountId, FastlyAccountUpdateRequest body) Update Fastly account.updateFastlyService(String accountId, String serviceId, FastlyServiceRequest body) Update Fastly service.updateFastlyServiceAsync(String accountId, String serviceId, FastlyServiceRequest body) Update Fastly service.updateFastlyServiceWithHttpInfo(String accountId, String serviceId, FastlyServiceRequest body) Update a Fastly service for an account.updateFastlyServiceWithHttpInfoAsync(String accountId, String serviceId, FastlyServiceRequest body) Update Fastly service.
-
Constructor Details
-
FastlyIntegrationApi
public FastlyIntegrationApi() -
FastlyIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createFastlyAccount
public FastlyAccountResponse createFastlyAccount(FastlyAccountCreateRequest body) throws ApiException Add Fastly account.See
createFastlyAccountWithHttpInfo(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).- Parameters:
body- (required)- Returns:
- FastlyAccountResponse
- Throws:
ApiException- if fails to make API call
-
createFastlyAccountAsync
public CompletableFuture<FastlyAccountResponse> createFastlyAccountAsync(FastlyAccountCreateRequest body) Add Fastly account.See
createFastlyAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<FastlyAccountResponse>
-
createFastlyAccountWithHttpInfo
public ApiResponse<FastlyAccountResponse> createFastlyAccountWithHttpInfo(FastlyAccountCreateRequest body) throws ApiException Create a Fastly account.- Parameters:
body- (required)- Returns:
- ApiResponse<FastlyAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createFastlyAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyAccountResponse>> createFastlyAccountWithHttpInfoAsync(FastlyAccountCreateRequest body) Add Fastly account.See
createFastlyAccountWithHttpInfo(com.datadog.api.client.v2.model.FastlyAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<FastlyAccountResponse>>
-
createFastlyService
public FastlyServiceResponse createFastlyService(String accountId, FastlyServiceRequest body) throws ApiException Add Fastly service.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- FastlyServiceResponse
- Throws:
ApiException- if fails to make API call
-
createFastlyServiceAsync
public CompletableFuture<FastlyServiceResponse> createFastlyServiceAsync(String accountId, FastlyServiceRequest body) Add Fastly service.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- CompletableFuture<FastlyServiceResponse>
-
createFastlyServiceWithHttpInfo
public ApiResponse<FastlyServiceResponse> createFastlyServiceWithHttpInfo(String accountId, FastlyServiceRequest body) throws ApiException Create a Fastly service for an account.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- ApiResponse<FastlyServiceResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createFastlyServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyServiceResponse>> createFastlyServiceWithHttpInfoAsync(String accountId, FastlyServiceRequest body) Add Fastly service.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<FastlyServiceResponse>>
-
deleteFastlyAccount
Delete Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Throws:
ApiException- if fails to make API call
-
deleteFastlyAccountAsync
Delete Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture
-
deleteFastlyAccountWithHttpInfo
Delete a Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteFastlyAccountWithHttpInfoAsync
Delete Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteFastlyService
Delete Fastly service.See
deleteFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Throws:
ApiException- if fails to make API call
-
deleteFastlyServiceAsync
Delete Fastly service.See
deleteFastlyServiceWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- CompletableFuture
-
deleteFastlyServiceWithHttpInfo
public ApiResponse<Void> deleteFastlyServiceWithHttpInfo(String accountId, String serviceId) throws ApiException Delete a Fastly service for an account.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteFastlyServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteFastlyServiceWithHttpInfoAsync(String accountId, String serviceId) Delete Fastly service.See
deleteFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getFastlyAccount
Get Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- FastlyAccountResponse
- Throws:
ApiException- if fails to make API call
-
getFastlyAccountAsync
Get Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture<FastlyAccountResponse>
-
getFastlyAccountWithHttpInfo
public ApiResponse<FastlyAccountResponse> getFastlyAccountWithHttpInfo(String accountId) throws ApiException Get a Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- ApiResponse<FastlyAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getFastlyAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyAccountResponse>> getFastlyAccountWithHttpInfoAsync(String accountId) Get Fastly account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture<ApiResponse<FastlyAccountResponse>>
-
getFastlyService
public FastlyServiceResponse getFastlyService(String accountId, String serviceId) throws ApiException Get Fastly service.See
getFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- FastlyServiceResponse
- Throws:
ApiException- if fails to make API call
-
getFastlyServiceAsync
public CompletableFuture<FastlyServiceResponse> getFastlyServiceAsync(String accountId, String serviceId) Get Fastly service.See
getFastlyServiceWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- CompletableFuture<FastlyServiceResponse>
-
getFastlyServiceWithHttpInfo
public ApiResponse<FastlyServiceResponse> getFastlyServiceWithHttpInfo(String accountId, String serviceId) throws ApiException Get a Fastly service for an account.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- ApiResponse<FastlyServiceResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getFastlyServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyServiceResponse>> getFastlyServiceWithHttpInfoAsync(String accountId, String serviceId) Get Fastly service.See
getFastlyServiceWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)- Returns:
- CompletableFuture<ApiResponse<FastlyServiceResponse>>
-
listFastlyAccounts
List Fastly accounts.- Returns:
- FastlyAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listFastlyAccountsAsync
List Fastly accounts.- Returns:
- CompletableFuture<FastlyAccountsResponse>
-
listFastlyAccountsWithHttpInfo
List Fastly accounts.- Returns:
- ApiResponse<FastlyAccountsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listFastlyAccountsWithHttpInfoAsync
List Fastly accounts.- Returns:
- CompletableFuture<ApiResponse<FastlyAccountsResponse>>
-
listFastlyServices
List Fastly services.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- FastlyServicesResponse
- Throws:
ApiException- if fails to make API call
-
listFastlyServicesAsync
List Fastly services.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture<FastlyServicesResponse>
-
listFastlyServicesWithHttpInfo
public ApiResponse<FastlyServicesResponse> listFastlyServicesWithHttpInfo(String accountId) throws ApiException List Fastly services for an account.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- ApiResponse<FastlyServicesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listFastlyServicesWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyServicesResponse>> listFastlyServicesWithHttpInfoAsync(String accountId) List Fastly services.- Parameters:
accountId- Fastly Account id. (required)- Returns:
- CompletableFuture<ApiResponse<FastlyServicesResponse>>
-
updateFastlyAccount
public FastlyAccountResponse updateFastlyAccount(String accountId, FastlyAccountUpdateRequest body) throws ApiException Update Fastly account.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- FastlyAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateFastlyAccountAsync
public CompletableFuture<FastlyAccountResponse> updateFastlyAccountAsync(String accountId, FastlyAccountUpdateRequest body) Update Fastly account.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- CompletableFuture<FastlyAccountResponse>
-
updateFastlyAccountWithHttpInfo
public ApiResponse<FastlyAccountResponse> updateFastlyAccountWithHttpInfo(String accountId, FastlyAccountUpdateRequest body) throws ApiException Update a Fastly account.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- ApiResponse<FastlyAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateFastlyAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyAccountResponse>> updateFastlyAccountWithHttpInfoAsync(String accountId, FastlyAccountUpdateRequest body) Update Fastly account.- Parameters:
accountId- Fastly Account id. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<FastlyAccountResponse>>
-
updateFastlyService
public FastlyServiceResponse updateFastlyService(String accountId, String serviceId, FastlyServiceRequest body) throws ApiException Update Fastly service.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)body- (required)- Returns:
- FastlyServiceResponse
- Throws:
ApiException- if fails to make API call
-
updateFastlyServiceAsync
public CompletableFuture<FastlyServiceResponse> updateFastlyServiceAsync(String accountId, String serviceId, FastlyServiceRequest body) Update Fastly service.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)body- (required)- Returns:
- CompletableFuture<FastlyServiceResponse>
-
updateFastlyServiceWithHttpInfo
public ApiResponse<FastlyServiceResponse> updateFastlyServiceWithHttpInfo(String accountId, String serviceId, FastlyServiceRequest body) throws ApiException Update a Fastly service for an account.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)body- (required)- Returns:
- ApiResponse<FastlyServiceResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateFastlyServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<FastlyServiceResponse>> updateFastlyServiceWithHttpInfoAsync(String accountId, String serviceId, FastlyServiceRequest body) Update Fastly service.- Parameters:
accountId- Fastly Account id. (required)serviceId- Fastly Service ID. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<FastlyServiceResponse>>
-