- Home
- API Enriched
- Billing And Usage
- web
- List Usage Plans.
List Usage Plans.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/system/usage_plans/custom_list';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/web/namespaces/system/usage_plans/custom_list \ --header 'Authorization: <Authorization>'Endpoint to GET usage plans.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”A successful response.
Response with the usage plans info.
object
Collection of available plans.
Localized info of usage plan.
object
Locale in the ISO dashed format.
Collection of currently publicly available plans.
Structure that holds all data needed to choose usage plan.
object
List of addon services that can be subscribed part of current plan.
Details about addon service.
object
Human readable name of addon.
Name of the addon feature.
If true then there’s no automatic billing.
True if plan is active. Note that customers are only allowed to current plans.
object
API Limits defines ratelimit parameters for an API at the stdlib service The key of the api_limits map is rpc FQN e.g. “VES.I/o.schema.advertise_policy.api.create”
object
API Gateway Limits defines rate limit value parameters for an API at a service level (prism, sentinel, etc) The key of the apigw_limits map is rpc FQN e.g. “VES.I/o.schema.advertise_policy.api.create”
object
Object Limits define maximum number of instances that can be present per object kind for the tenant The key of the object_limits map is object kind e.g. “virtual_host”
object
Resource Limits define maximum value of resources in the appropriate units that can be present. The key of the resource limits is the resource name.
object
Description of the plan as mark-down text.
Flat fee of the plan in cents.
List of addon services that are available part of current plan.
Details about addon service.
object
Human readable name of addon.
Name of the addon feature.
Name of the plan, the name is not guaranteed to be human readable.
Optional second line of the title of the plan, human readable.
Title of the plan, human readable.
object
Mandatory information to migrate onto this plan.
If true then any migration onto this plan must be approved by the billing department.
Trial period associated with this plan. Different pricing conditions are in place during the trial period - flat fee my not apply, or similar.
Example
{ "usage_plans": [ { "plans": [ { "renewal_period_unit": "PERIOD_UNKNOWN", "state": "STATE_UNSPECIFIED", "tenant_type": "UNKNOWN", "transition_flow": { "method": "TRANSITION_METHOD_UNSPECIFIED", "required_fields": [ "TRANSITION_REQUIRED_FIELD_UNSPECIFIED" ] }, "trial_period_unit": "PERIOD_UNKNOWN", "usage_plan_type": "FREE" } ] } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example