rctab.routers.accounting.subscription

Create and fetch subscriptions.

Functions

create_subscription(conn, subscription, user)

Add an Azure subscription to the database.

get_sub_id(display_name[, _, conn])

Get the subscription ID given a display name.

get_subscription([sub_id, _, conn])

Whether a subscription with the specified uuid is registered.

post_subscription(subscription[, user, conn])

Create a new subscription.