f5sdk.cs.mgmt_client module

Management client

class f5sdk.cs.mgmt_client.ManagementClient(**kwargs)

A class used as a management client for F5 Cloud Services

access_token

the access token for the service

Type

str

token_details

the token details for the service

Type

dict

logger

instantiated logger object

Type

object

make_request()

Refer to method documentation

make_request(uri, **kwargs)

Makes request to service (HTTP/S)

Parameters
  • uri (str) – the URI where the request should be made

  • **kwargs – optional keyword arguments

Keyword Arguments
  • method (str) – the HTTP method to use

  • headers (str) – the HTTP headers to use

  • body (str) – the HTTP body to use

  • body_content_type (str) – the HTTP body content type to use

  • bool_response (bool) – return boolean based on HTTP success/failure

Returns

a dictionary containing the JSON response

Return type

dict