director-sdk

cloudera.director.EulaApi

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

get

Eula get()

Get the EULA

Example

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)

Parameters

This endpoint does not need any parameter.

Return type

Eula

Authorization

No authorization required

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update

update(eula)

Update the EULA

Example

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)

Parameters

Name Type Description Notes
eula Eula    

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]