Package com.datadog.api.client.v2.api
Class OktaIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.OktaIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OktaIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd Okta account.Add Okta account.Create an Okta account.Add Okta account.voiddeleteOktaAccount(String accountId) Delete Okta account.deleteOktaAccountAsync(String accountId) Delete Okta account.deleteOktaAccountWithHttpInfo(String accountId) Delete an Okta account.deleteOktaAccountWithHttpInfoAsync(String accountId) Delete Okta account.Get the API client.getOktaAccount(String accountId) Get Okta account.getOktaAccountAsync(String accountId) Get Okta account.getOktaAccountWithHttpInfo(String accountId) Get an Okta account.getOktaAccountWithHttpInfoAsync(String accountId) Get Okta account.List Okta accounts.List Okta accounts.List Okta accounts.List Okta accounts.voidsetApiClient(ApiClient apiClient) Set the API client.updateOktaAccount(String accountId, OktaAccountUpdateRequest body) Update Okta account.updateOktaAccountAsync(String accountId, OktaAccountUpdateRequest body) Update Okta account.updateOktaAccountWithHttpInfo(String accountId, OktaAccountUpdateRequest body) Update an Okta account.updateOktaAccountWithHttpInfoAsync(String accountId, OktaAccountUpdateRequest body) Update Okta account.
-
Constructor Details
-
OktaIntegrationApi
public OktaIntegrationApi() -
OktaIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createOktaAccount
Add Okta account.See
createOktaAccountWithHttpInfo(com.datadog.api.client.v2.model.OktaAccountRequest).- Parameters:
body- (required)- Returns:
- OktaAccountResponse
- Throws:
ApiException- if fails to make API call
-
createOktaAccountAsync
Add Okta account.See
createOktaAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.OktaAccountRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<OktaAccountResponse>
-
createOktaAccountWithHttpInfo
public ApiResponse<OktaAccountResponse> createOktaAccountWithHttpInfo(OktaAccountRequest body) throws ApiException Create an Okta account.- Parameters:
body- (required)- Returns:
- ApiResponse<OktaAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createOktaAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<OktaAccountResponse>> createOktaAccountWithHttpInfoAsync(OktaAccountRequest body) Add Okta account.See
createOktaAccountWithHttpInfo(com.datadog.api.client.v2.model.OktaAccountRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<OktaAccountResponse>>
-
deleteOktaAccount
Delete Okta account.- Parameters:
accountId- None (required)- Throws:
ApiException- if fails to make API call
-
deleteOktaAccountAsync
Delete Okta account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture
-
deleteOktaAccountWithHttpInfo
Delete an Okta account.- Parameters:
accountId- None (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 -
-
deleteOktaAccountWithHttpInfoAsync
Delete Okta account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getOktaAccount
Get Okta account.- Parameters:
accountId- None (required)- Returns:
- OktaAccountResponse
- Throws:
ApiException- if fails to make API call
-
getOktaAccountAsync
Get Okta account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<OktaAccountResponse>
-
getOktaAccountWithHttpInfo
public ApiResponse<OktaAccountResponse> getOktaAccountWithHttpInfo(String accountId) throws ApiException Get an Okta account.- Parameters:
accountId- None (required)- Returns:
- ApiResponse<OktaAccountResponse>
- 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 -
-
getOktaAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<OktaAccountResponse>> getOktaAccountWithHttpInfoAsync(String accountId) Get Okta account.- Parameters:
accountId- None (required)- Returns:
- CompletableFuture<ApiResponse<OktaAccountResponse>>
-
listOktaAccounts
List Okta accounts.- Returns:
- OktaAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listOktaAccountsAsync
List Okta accounts.- Returns:
- CompletableFuture<OktaAccountsResponse>
-
listOktaAccountsWithHttpInfo
List Okta accounts.- Returns:
- ApiResponse<OktaAccountsResponse>
- 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 -
-
listOktaAccountsWithHttpInfoAsync
List Okta accounts.- Returns:
- CompletableFuture<ApiResponse<OktaAccountsResponse>>
-
updateOktaAccount
public OktaAccountResponse updateOktaAccount(String accountId, OktaAccountUpdateRequest body) throws ApiException Update Okta account.- Parameters:
accountId- None (required)body- (required)- Returns:
- OktaAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateOktaAccountAsync
public CompletableFuture<OktaAccountResponse> updateOktaAccountAsync(String accountId, OktaAccountUpdateRequest body) Update Okta account.- Parameters:
accountId- None (required)body- (required)- Returns:
- CompletableFuture<OktaAccountResponse>
-
updateOktaAccountWithHttpInfo
public ApiResponse<OktaAccountResponse> updateOktaAccountWithHttpInfo(String accountId, OktaAccountUpdateRequest body) throws ApiException Update an Okta account.- Parameters:
accountId- None (required)body- (required)- Returns:
- ApiResponse<OktaAccountResponse>
- 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 -
-
updateOktaAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<OktaAccountResponse>> updateOktaAccountWithHttpInfoAsync(String accountId, OktaAccountUpdateRequest body) Update Okta account.- Parameters:
accountId- None (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<OktaAccountResponse>>
-