f5sdk.cloud_services.subscriptions.subscription module

Module for Cloud Services subscriptions subscription client

class f5sdk.cloud_services.subscriptions.subscription.SubscriptionClient(client, **kwargs)

A class used as a subscription client for Cloud Services

list()

Refer to method documentation

create()

Refer to method documentation

show()

Refer to method documentation

update()

Refer to method documentation

delete()

Refer to method documentation

create(**kwargs)

Create operation

Parameters

**kwargs – optional keyword arguments

Keyword Arguments
  • config (dict) – object containing configuration

  • config_file (str) – reference to a local file containing configuration

Returns

the serialized REST response

Return type

dict

delete(**kwargs)

Delete operation

Parameters

**kwargs – optional keyword arguments

Keyword Arguments
  • name (str) – name (id) of the object to operate against

  • config (dict) – object containing configuration

  • config_file (str) – reference to a local file containing configuration

Returns

the serialized REST response

Return type

dict

list(**kwargs)

List operation

Parameters

**kwargs – optional keyword arguments

Keyword Arguments

None

Returns

the serialized REST response

Return type

dict

show(**kwargs)

Show operation

Parameters

**kwargs – optional keyword arguments

Keyword Arguments
  • name (str) – name (id) of the object to operate against

  • config (dict) – object containing configuration

  • config_file (str) – reference to a local file containing configuration

Returns

the serialized REST response

Return type

dict

update(**kwargs)

Update operation

Parameters

**kwargs – optional keyword arguments

Keyword Arguments
  • name (str) – name (id) of the object to operate against

  • config (dict) – object containing configuration

  • config_file (str) – reference to a local file containing configuration

Returns

the serialized REST response

Return type

dict