All URIs are relative to https://localhost/api/v46
Method | HTTP request | Description |
---|---|---|
generateCopyDocker | POST /controlPlanes/commands/generateCopyDocker | Launches the Generate Copy Docker Script Command. |
generateExternalVaultSetup | POST /controlPlanes/commands/generateExternalVaultSetup | Launches the Generate Vault Setup Command command. |
getControlPlanes | GET /controlPlanes | Current Control Planes. |
getExperienceCluster | GET /controlPlanes/{controlPlaneUuid}/getExperienceCluster | The Experience cluster this control plane is associated with, if any. |
getLogContent | POST /controlPlanes/fetchResources/{commandId}/logContent | Fetches the log content for the specific command. |
getManifestJson | POST /controlPlanes/fetchResources/manifest.json | Fetches the manifest. |
installControlPlane | POST /controlPlanes/commands/installControlPlane | Launches the install control plane command. |
installEmbeddedControlPlane | POST /controlPlanes/commands/installEmbeddedControlPlane | Brings up a control plane on embedded kubernetes. |
readControlPlaneByUuid | GET /controlPlanes/{controlPlaneUuid} | The control plane with the given id. |
uninstallControlPlane | POST /controlPlanes/{controlPlaneUuid}/commands/uninstallControlPlane | Launches Uninstall Command on the control plane with the given uuid. |
updateValuesYaml | POST /controlPlanes/{controlPlaneUuid}/commands/updateControlPlaneValuesYaml | Launches update the values. |
upgradeControlPlane | POST /controlPlanes/{controlPlaneUuid}/commands/upgradeControlPlane | Launches the Upgrade Command on the control plane with the given uuid. |
upgradeEmbeddedControlPlane | POST /controlPlanes/commands/upgradeEmbeddedControlPlane | Upgrade an experience cluster, including upgrading the control plane running on embedded kubernetes. |
ApiCommand generateCopyDocker(body)
Launches the Generate Copy Docker Script Command.
Launches the Generate Copy Docker Script Command
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiGenerateCopyDockerArgs body = new ApiGenerateCopyDockerArgs(); // ApiGenerateCopyDockerArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.generateCopyDocker(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#generateCopyDocker");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiGenerateCopyDockerArgs | Arguments for the Command | [optional] |
ApiCommand generateExternalVaultSetup(body)
Launches the Generate Vault Setup Command command.
Launches the Generate Vault Setup Command command
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiGenerateExternalVaultSetupArgs body = new ApiGenerateExternalVaultSetupArgs(); // ApiGenerateExternalVaultSetupArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.generateExternalVaultSetup(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#generateExternalVaultSetup");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiGenerateExternalVaultSetupArgs | Arguments for the Command | [optional] |
ApiControlPlaneList getControlPlanes()
Current Control Planes.
Current Control Planes
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
try {
ApiControlPlaneList result = apiInstance.getControlPlanes();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#getControlPlanes");
e.printStackTrace();
}
This endpoint does not need any parameter.
ApiCluster getExperienceCluster(controlPlaneUuid)
The Experience cluster this control plane is associated with, if any.
The Experience cluster this control plane is associated with, if any
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
String controlPlaneUuid = "controlPlaneUuid_example"; // String | The universally unique id of the control plane
try {
ApiCluster result = apiInstance.getExperienceCluster(controlPlaneUuid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#getExperienceCluster");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
controlPlaneUuid | String | The universally unique id of the control plane |
File getLogContent(commandId)
Fetches the log content for the specific command.
Fetches the log content for the specific command.
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
java.math.BigDecimal commandId = new java.math.BigDecimal(); // java.math.BigDecimal | the command id
try {
File result = apiInstance.getLogContent(commandId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#getLogContent");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
commandId | java.math.BigDecimal | the command id |
File getManifestJson(body)
Fetches the manifest.
Fetches the manifest.json under the specified remote repo.
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiRemoteRepoUrl body = new ApiRemoteRepoUrl(); // ApiRemoteRepoUrl | the remote repo url.
try {
File result = apiInstance.getManifestJson(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#getManifestJson");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiRemoteRepoUrl | the remote repo url. | [optional] |
ApiCommand installControlPlane(body)
Launches the install control plane command.
Launches the install control plane command.
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiInstallControlPlaneArgs body = new ApiInstallControlPlaneArgs(); // ApiInstallControlPlaneArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.installControlPlane(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#installControlPlane");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiInstallControlPlaneArgs | Arguments for the Command | [optional] |
ApiCommand installEmbeddedControlPlane(body)
Brings up a control plane on embedded kubernetes.
Brings up a control plane on embedded kubernetes. At its core, this command launches the FirstRun command on the Experience cluster
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiInstallEmbeddedControlPlaneArgs body = new ApiInstallEmbeddedControlPlaneArgs(); // ApiInstallEmbeddedControlPlaneArgs | The arguments for Ek8s control plane installation
try {
ApiCommand result = apiInstance.installEmbeddedControlPlane(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#installEmbeddedControlPlane");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiInstallEmbeddedControlPlaneArgs | The arguments for Ek8s control plane installation | [optional] |
ApiControlPlane readControlPlaneByUuid(controlPlaneUuid)
The control plane with the given id.
The control plane with the given id
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
String controlPlaneUuid = "controlPlaneUuid_example"; // String | The universally unique id of the control plane
try {
ApiControlPlane result = apiInstance.readControlPlaneByUuid(controlPlaneUuid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#readControlPlaneByUuid");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
controlPlaneUuid | String | The universally unique id of the control plane |
ApiCommand uninstallControlPlane(controlPlaneUuid, body)
Launches Uninstall Command on the control plane with the given uuid.
Launches Uninstall Command on the control plane with the given uuid
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
String controlPlaneUuid = "controlPlaneUuid_example"; // String | The universally unique id of the control plane
ApiUninstallControlPlaneArgs body = new ApiUninstallControlPlaneArgs(); // ApiUninstallControlPlaneArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.uninstallControlPlane(controlPlaneUuid, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#uninstallControlPlane");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
controlPlaneUuid | String | The universally unique id of the control plane | |
body | ApiUninstallControlPlaneArgs | Arguments for the Command | [optional] |
ApiCommand updateValuesYaml(controlPlaneUuid, body)
Launches update the values.
Launches update the values.yaml from the control plane with the given uuid This updates the content of values.yaml.merged in the CM database.
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
String controlPlaneUuid = "controlPlaneUuid_example"; // String | The universally unique id of the control plane
ApiUpdateControlPlaneValuesYamlArgs body = new ApiUpdateControlPlaneValuesYamlArgs(); // ApiUpdateControlPlaneValuesYamlArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.updateValuesYaml(controlPlaneUuid, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#updateValuesYaml");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
controlPlaneUuid | String | The universally unique id of the control plane | |
body | ApiUpdateControlPlaneValuesYamlArgs | Arguments for the Command | [optional] |
ApiCommand upgradeControlPlane(controlPlaneUuid, body)
Launches the Upgrade Command on the control plane with the given uuid.
Launches the Upgrade Command on the control plane with the given uuid
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
String controlPlaneUuid = "controlPlaneUuid_example"; // String | The universally unique id of the control plane
ApiUpgradeControlPlaneArgs body = new ApiUpgradeControlPlaneArgs(); // ApiUpgradeControlPlaneArgs | Arguments for the Command
try {
ApiCommand result = apiInstance.upgradeControlPlane(controlPlaneUuid, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#upgradeControlPlane");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
controlPlaneUuid | String | The universally unique id of the control plane | |
body | ApiUpgradeControlPlaneArgs | Arguments for the Command | [optional] |
ApiCommand upgradeEmbeddedControlPlane(body)
Upgrade an experience cluster, including upgrading the control plane running on embedded kubernetes.
Upgrade an experience cluster, including upgrading the control plane running on embedded kubernetes.
// Import classes:
//import com.cloudera.api.swagger.client.ApiClient;
//import com.cloudera.api.swagger.client.ApiException;
//import com.cloudera.api.swagger.client.Configuration;
//import com.cloudera.api.swagger.client.auth.*;
//import com.cloudera.api.swagger.ControlPlanesResourceApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");
ControlPlanesResourceApi apiInstance = new ControlPlanesResourceApi();
ApiUpgradeEmbeddedControlPlaneArgs body = new ApiUpgradeEmbeddedControlPlaneArgs(); // ApiUpgradeEmbeddedControlPlaneArgs | The arguments for Ek8s control plane upgrade
try {
ApiCommand result = apiInstance.upgradeEmbeddedControlPlane(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ControlPlanesResourceApi#upgradeEmbeddedControlPlane");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | ApiUpgradeEmbeddedControlPlaneArgs | The arguments for Ek8s control plane upgrade | [optional] |