f5sdk.cs.subscriptions package¶
Module for Cloud Services subscriptions
Example - Update Subscription:
from f5sdk.cs.subscriptions import SubscriptionClient
subscription_client = SubscriptionClient(mgmt_client)
# configure subscription - DNS zones, records, etc.
subscription_client.update(
name='subscription_id',
config_file='./decl.json'
)
Example - List Subscriptions:
from f5sdk.cs.subscriptions import SubscriptionClient
subscription_client = SubscriptionClient(mgmt_client)
# configure subscription - DNS zones, records, etc.
subscription_client.list(
query_parameters={
'account_id': ''
}
)
-
class
f5sdk.cs.subscriptions.
SubscriptionClient
(client, **kwargs)¶ Cloud Services subscription client
-
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
query_parameters (dict) – Query parameters for the request
- 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
-