All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
get | GET /api/d6.2/eula | Get the EULA |
update | PUT /api/d6.2/eula | Update the EULA |
Eula get()
Get the EULA
from __future__ import print_function
import time
import cloudera.director
from cloudera.director.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = cloudera.director.EulaApi()
try:
# Get the EULA
api_response = api_instance.get()
pprint(api_response)
except ApiException as e:
print("Exception when calling EulaApi->get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update(eula)
Update the EULA
from __future__ import print_function
import time
import cloudera.director
from cloudera.director.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = cloudera.director.EulaApi()
eula = cloudera.director.Eula() # Eula |
try:
# Update the EULA
api_instance.update(eula)
except ApiException as e:
print("Exception when calling EulaApi->update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
eula | Eula |
void (empty response body)
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]