@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OktaIntegrationApi extends Object
| Constructor and Description |
|---|
OktaIntegrationApi() |
OktaIntegrationApi(ApiClient apiClient) |
public OktaIntegrationApi()
public OktaIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic OktaAccountResponse createOktaAccount(OktaAccountRequest body) throws ApiException
See createOktaAccountWithHttpInfo(com.datadog.api.client.v2.model.OktaAccountRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<OktaAccountResponse> createOktaAccountAsync(OktaAccountRequest body)
See createOktaAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.OktaAccountRequest).
body - (required)public ApiResponse<OktaAccountResponse> createOktaAccountWithHttpInfo(OktaAccountRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OktaAccountResponse>> createOktaAccountWithHttpInfoAsync(OktaAccountRequest body)
See createOktaAccountWithHttpInfo(com.datadog.api.client.v2.model.OktaAccountRequest).
body - (required)public void deleteOktaAccount(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOktaAccountAsync(String accountId)
accountId - None (required)public ApiResponse<Void> deleteOktaAccountWithHttpInfo(String accountId) throws ApiException
accountId - None (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>> deleteOktaAccountWithHttpInfoAsync(String accountId)
accountId - None (required)public OktaAccountResponse getOktaAccount(String accountId) throws ApiException
accountId - None (required)ApiException - if fails to make API callpublic CompletableFuture<OktaAccountResponse> getOktaAccountAsync(String accountId)
accountId - None (required)public ApiResponse<OktaAccountResponse> getOktaAccountWithHttpInfo(String accountId) throws ApiException
accountId - None (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<OktaAccountResponse>> getOktaAccountWithHttpInfoAsync(String accountId)
accountId - None (required)public OktaAccountsResponse listOktaAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OktaAccountsResponse> listOktaAccountsAsync()
public ApiResponse<OktaAccountsResponse> listOktaAccountsWithHttpInfo() 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<OktaAccountsResponse>> listOktaAccountsWithHttpInfoAsync()
public OktaAccountResponse updateOktaAccount(String accountId, OktaAccountUpdateRequest body) throws ApiException
accountId - None (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<OktaAccountResponse> updateOktaAccountAsync(String accountId, OktaAccountUpdateRequest body)
accountId - None (required)body - (required)public ApiResponse<OktaAccountResponse> updateOktaAccountWithHttpInfo(String accountId, OktaAccountUpdateRequest body) throws ApiException
accountId - None (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<OktaAccountResponse>> updateOktaAccountWithHttpInfoAsync(String accountId, OktaAccountUpdateRequest body)
accountId - None (required)body - (required)Copyright © 2024. All rights reserved.