This page describes how to create a customer tenant under a reseller in the cloud broker.
To create a scope in the API, get public cloud regions and datacenters (as required)
API documentation:
- Create the scope for the customer
- Go to Users → Scopes
- Click the + add button
- Enter the Name, which will be the customer name
- As the Parent scope, select the
BU scope
- In the Datacenters column, select the providers or regions as required
API documentation: https://wiki.abiquo.com/api/latest/ScopesResource.html#create-a-scope
Create the customer enterprise
General how-to: Create tenants via APIAt the top of the Enterprises list, click the + add button to add an enterprise
On the General tab- Enter the customer Name
- As the Default scope, set the
customer scope
- For the customer headquarters, select Key node
On the Datacenters tab, drag providers into the Allowed list. For example,
This is a separate request in the API. For each region or datacenter, create a datacenter limit.Amazon
. Select and edit providers (or regions) and datacenters to set the default VDC role for each provider for the enterprise.
API: https://wiki.abiquo.com/api/latest/EnterpriseLimitsByDatacentersResource.html#create-a-datacenter-limit- On the Properties tab, enter the appropriate properties for the customer type as described in the following tables
- For each property, enter a Key and Value, and click Add
When you have finished editing the tenant, click Save
See Abiquo Broker Enterprise Properties.
This is a separate request in the API. When you update properties you will overwrite any existing properties
For properties that apply to Reseller enterprises, see Abiquo broker enterprise properties for resellers.
API: https://wiki.abiquo.com/api/latest/EnterprisesResource.html#update-enterprise-properties
- Add the customer enterprise to the customer scope
- Go to Users → Scopes --> select the
customer scope
- Click the pencil button to edit
Select the customer enterprise in the Enterprises list
API: https://wiki.abiquo.com/api/latest/ScopesResource.html#update-a-scope
Add a basic link to the scope with arel
value ofENTERPRISE
- Go to Users → Scopes --> select the
- Create a pricing template
- Go to Pricing → Pricing models
Click + add and enter details,
API: https://wiki.abiquo.com/api/latest/PricingTemplatesResource.html#create-a-pricing-template
- Go to Pricing → Pricing models
- API step Get the enterprise
- Assign the pricing model to the enterprise.
- Go to Pricing → Enterprise associations
- Find the enterprise in the list and select the pricing model from the list beside the enterprise name
API: https://wiki.abiquo.com/api/latest/EnterprisesResource.html#upate-an-enterprise
Update the enterprise to add a link to the pricing model with arel
value ofpricingtemplate
- Create a customer administrator user
- Go to Users → Select enterprise → Users
- Click the + add button to add a user
(Note the screenshot does not show the enterprise filter) - On the General tab, select the following values
- Role:
CUSTOMER_ADMIN
- Scope:
Customer scope (enterprise scope)
API: https://wiki.abiquo.com/api/latest/UsersResource.html#create-a-user-in-an-enterprise
- Role:
Related pages