Package com.datadog.api.client.v2.api
Class OciIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.OciIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OciIntegrationApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate tenancy config.Create tenancy config.Create a new tenancy config to establish monitoring and data collection from your OCI environment.Create tenancy config.voiddeleteTenancyConfig(String tenancyOcid) Delete tenancy config.deleteTenancyConfigAsync(String tenancyOcid) Delete tenancy config.deleteTenancyConfigWithHttpInfo(String tenancyOcid) Delete an existing tenancy config.deleteTenancyConfigWithHttpInfoAsync(String tenancyOcid) Delete tenancy config.Get the API client.getTenancyConfig(String tenancyOcid) Get tenancy config.getTenancyConfigAsync(String tenancyOcid) Get tenancy config.Get tenancy configs.Get tenancy configs.Get a list of all configured OCI tenancy integrations.Get tenancy configs.getTenancyConfigWithHttpInfo(String tenancyOcid) Get a single tenancy config object by its OCID.getTenancyConfigWithHttpInfoAsync(String tenancyOcid) Get tenancy config.listTenancyProducts(String productKeys) List tenancy products.listTenancyProductsAsync(String productKeys) List tenancy products.listTenancyProductsWithHttpInfo(String productKeys) Lists the products for a given tenancy.listTenancyProductsWithHttpInfoAsync(String productKeys) List tenancy products.voidsetApiClient(ApiClient apiClient) Set the API client.updateTenancyConfig(String tenancyOcid, UpdateTenancyConfigRequest body) Update tenancy config.updateTenancyConfigAsync(String tenancyOcid, UpdateTenancyConfigRequest body) Update tenancy config.updateTenancyConfigWithHttpInfo(String tenancyOcid, UpdateTenancyConfigRequest body) Update an existing tenancy config.updateTenancyConfigWithHttpInfoAsync(String tenancyOcid, UpdateTenancyConfigRequest body) Update tenancy config.
-
Constructor Details
-
OciIntegrationApi
public OciIntegrationApi() -
OciIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createTenancyConfig
Create tenancy config.See
createTenancyConfigWithHttpInfo(com.datadog.api.client.v2.model.CreateTenancyConfigRequest).- Parameters:
body- (required)- Returns:
- TenancyConfig
- Throws:
ApiException- if fails to make API call
-
createTenancyConfigAsync
Create tenancy config.See
createTenancyConfigWithHttpInfoAsync(com.datadog.api.client.v2.model.CreateTenancyConfigRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<TenancyConfig>
-
createTenancyConfigWithHttpInfo
public ApiResponse<TenancyConfig> createTenancyConfigWithHttpInfo(CreateTenancyConfigRequest body) throws ApiException Create a new tenancy config to establish monitoring and data collection from your OCI environment. Requires OCI authentication credentials and tenancy details. Warning: Datadog recommends interacting with this endpoint only through the Datadog web UI to ensure all necessary OCI resources have been created and configured properly.- Parameters:
body- (required)- Returns:
- ApiResponse<TenancyConfig>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 429 Too many requests -
-
createTenancyConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<TenancyConfig>> createTenancyConfigWithHttpInfoAsync(CreateTenancyConfigRequest body) Create tenancy config.See
createTenancyConfigWithHttpInfo(com.datadog.api.client.v2.model.CreateTenancyConfigRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<TenancyConfig>>
-
deleteTenancyConfig
Delete tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to delete. (required)- Throws:
ApiException- if fails to make API call
-
deleteTenancyConfigAsync
Delete tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to delete. (required)- Returns:
- CompletableFuture
-
deleteTenancyConfigWithHttpInfo
Delete an existing tenancy config. This will stop all data collection from the specified OCI tenancy and remove the stored configuration. This operation cannot be undone.- Parameters:
tenancyOcid- The OCID of the tenancy config to delete. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 429 Too many requests -
-
deleteTenancyConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteTenancyConfigWithHttpInfoAsync(String tenancyOcid) Delete tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to delete. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getTenancyConfig
Get tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to retrieve. (required)- Returns:
- TenancyConfig
- Throws:
ApiException- if fails to make API call
-
getTenancyConfigAsync
Get tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to retrieve. (required)- Returns:
- CompletableFuture<TenancyConfig>
-
getTenancyConfigWithHttpInfo
public ApiResponse<TenancyConfig> getTenancyConfigWithHttpInfo(String tenancyOcid) throws ApiException Get a single tenancy config object by its OCID. Returns detailed configuration including authentication credentials, enabled services, region settings, and collection preferences.- Parameters:
tenancyOcid- The OCID of the tenancy config to retrieve. (required)- Returns:
- ApiResponse<TenancyConfig>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getTenancyConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<TenancyConfig>> getTenancyConfigWithHttpInfoAsync(String tenancyOcid) Get tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to retrieve. (required)- Returns:
- CompletableFuture<ApiResponse<TenancyConfig>>
-
getTenancyConfigs
Get tenancy configs.- Returns:
- TenancyConfigList
- Throws:
ApiException- if fails to make API call
-
getTenancyConfigsAsync
Get tenancy configs.- Returns:
- CompletableFuture<TenancyConfigList>
-
getTenancyConfigsWithHttpInfo
Get a list of all configured OCI tenancy integrations. Returns basic information about each tenancy including authentication credentials, region settings, and collection preferences for metrics, logs, and resources.- Returns:
- ApiResponse<TenancyConfigList>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getTenancyConfigsWithHttpInfoAsync
Get tenancy configs.- Returns:
- CompletableFuture<ApiResponse<TenancyConfigList>>
-
listTenancyProducts
List tenancy products.- Parameters:
productKeys- Comma-separated list of product keys to filter by. (required)- Returns:
- TenancyProductsList
- Throws:
ApiException- if fails to make API call
-
listTenancyProductsAsync
List tenancy products.- Parameters:
productKeys- Comma-separated list of product keys to filter by. (required)- Returns:
- CompletableFuture<TenancyProductsList>
-
listTenancyProductsWithHttpInfo
public ApiResponse<TenancyProductsList> listTenancyProductsWithHttpInfo(String productKeys) throws ApiException Lists the products for a given tenancy. Returns the enabled/disabled status of Datadog products (such as Cloud Security Posture Management) for specific OCI tenancies.- Parameters:
productKeys- Comma-separated list of product keys to filter by. (required)- Returns:
- ApiResponse<TenancyProductsList>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
listTenancyProductsWithHttpInfoAsync
public CompletableFuture<ApiResponse<TenancyProductsList>> listTenancyProductsWithHttpInfoAsync(String productKeys) List tenancy products.- Parameters:
productKeys- Comma-separated list of product keys to filter by. (required)- Returns:
- CompletableFuture<ApiResponse<TenancyProductsList>>
-
updateTenancyConfig
public TenancyConfig updateTenancyConfig(String tenancyOcid, UpdateTenancyConfigRequest body) throws ApiException Update tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to update. (required)body- (required)- Returns:
- TenancyConfig
- Throws:
ApiException- if fails to make API call
-
updateTenancyConfigAsync
public CompletableFuture<TenancyConfig> updateTenancyConfigAsync(String tenancyOcid, UpdateTenancyConfigRequest body) Update tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to update. (required)body- (required)- Returns:
- CompletableFuture<TenancyConfig>
-
updateTenancyConfigWithHttpInfo
public ApiResponse<TenancyConfig> updateTenancyConfigWithHttpInfo(String tenancyOcid, UpdateTenancyConfigRequest body) throws ApiException Update an existing tenancy config. You can modify authentication credentials, enable/disable collection types, update service filters, and change region settings. Warning: We recommend using the Datadog web UI to avoid unintended update effects.- Parameters:
tenancyOcid- The OCID of the tenancy config to update. (required)body- (required)- Returns:
- ApiResponse<TenancyConfig>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
updateTenancyConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<TenancyConfig>> updateTenancyConfigWithHttpInfoAsync(String tenancyOcid, UpdateTenancyConfigRequest body) Update tenancy config.- Parameters:
tenancyOcid- The OCID of the tenancy config to update. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<TenancyConfig>>
-