Deriving Billing accounts and Projects happens twice daily in a gap of 12 hours. The data collection job begins at the following times, and the entities are expected to show up in about 30 min from the time the job starts.
Process |
UTC Time |
---|---|
Billing Account Discovery |
8 AM and 8 PM |
Cost Data Collection for Cost History New |
9 AM and 9 PM |
Cost Data Collection for Cost History Invoice |
11 AM and 11 PM |
Project discovery |
11 Am and 11 PM |
Derived Projects |
Gets copied from Partner tenant to Customer tenant every 15 mins. |
Example Scenarios:
A new Billing account (BA) at the partner level gets created at 6.30 AM UTC.
Then the BA should get discovered by querying the BigQuery in approximately 1.5 hrs to 2 hrs. The cost data would show up after 11 AM UTC as the Cost Data collection job occurs every 12 hrs at 11 AM & 11 PM UTC. The Projects created as part of the BA will show up simultaneously when the collection happens at the partner level. Once created at the partner level, the Projects should be synced to the tenant level every 15 min after assigning the Billing account to the tenant using API.
A new Project gets created as part of a new billing account at the partner level Billing account.
-
Use GCP Billing Account Assignment GraphQL API-
createAccountMspClientAccountAssignment
to assign a billing account from the Partner tenant to Customer tenant. Partner tenant copies all Projects from Partner to the Customer tenant and sync every 15 mins. -
Once the Projects are visible at Customer tenant, configure Service Email with the required Private Key to start the collection for those Projects.
Note that the Asset collection begins on the scheduled time. The processing time for Project discovery is the same as mentioned in the above example scenario.