@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OrganizationsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationsApi.UploadIdPMetadataOptionalParameters
Manage optional parameters to uploadIdPMetadata.
|
| Constructor and Description |
|---|
OrganizationsApi() |
OrganizationsApi(ApiClient apiClient) |
public OrganizationsApi()
public OrganizationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic OrgConfigGetResponse getOrgConfig(String orgConfigName) throws ApiException
orgConfigName - The name of an Org Config. (required)ApiException - if fails to make API callpublic CompletableFuture<OrgConfigGetResponse> getOrgConfigAsync(String orgConfigName)
orgConfigName - The name of an Org Config. (required)public ApiResponse<OrgConfigGetResponse> getOrgConfigWithHttpInfo(String orgConfigName) throws ApiException
orgConfigName - The name of an Org Config. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConfigGetResponse>> getOrgConfigWithHttpInfoAsync(String orgConfigName)
orgConfigName - The name of an Org Config. (required)public OrgConfigListResponse listOrgConfigs() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OrgConfigListResponse> listOrgConfigsAsync()
public ApiResponse<OrgConfigListResponse> listOrgConfigsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConfigListResponse>> listOrgConfigsWithHttpInfoAsync()
public OrgConfigGetResponse updateOrgConfig(String orgConfigName, OrgConfigWriteRequest body) throws ApiException
See updateOrgConfigWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.OrgConfigWriteRequest).
orgConfigName - The name of an Org Config. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<OrgConfigGetResponse> updateOrgConfigAsync(String orgConfigName, OrgConfigWriteRequest body)
orgConfigName - The name of an Org Config. (required)body - (required)public ApiResponse<OrgConfigGetResponse> updateOrgConfigWithHttpInfo(String orgConfigName, OrgConfigWriteRequest body) throws ApiException
orgConfigName - The name of an Org Config. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OrgConfigGetResponse>> updateOrgConfigWithHttpInfoAsync(String orgConfigName, OrgConfigWriteRequest body)
See updateOrgConfigWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.OrgConfigWriteRequest).
orgConfigName - The name of an Org Config. (required)body - (required)public void uploadIdPMetadata()
throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<Void> uploadIdPMetadataAsync()
public void uploadIdPMetadata(OrganizationsApi.UploadIdPMetadataOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Void> uploadIdPMetadataAsync(OrganizationsApi.UploadIdPMetadataOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<Void> uploadIdPMetadataWithHttpInfo(OrganizationsApi.UploadIdPMetadataOptionalParameters parameters) throws ApiException
Use this endpoint to upload or replace IdP metadata for SAML login configuration.
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> uploadIdPMetadataWithHttpInfoAsync(OrganizationsApi.UploadIdPMetadataOptionalParameters parameters)
parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.