Overview
The getMyProviderConfig GQL Query can be leveraged to gather key Provider-level details about your Cloud Charging and Billing tenant.
Usage
getMyProviderConfig does not take any arguments and functions similar to getProviderConfig, but instead leverages the details associated with the authenticated user running the query to get the config of the current tenant, such as its current ProviderLifecycleStage.
- Requires one of the following roles to execute the Query
- Account_Admin ,Account_Query, Data_Admin, Plan_Designer, Plan_Publisher, Plan_Query , Product_Admin, Network_Admin, Network_Operator, Plan_Admin
- Returns a
GetMyProviderConfigResult
Example Query
query GetMyProviderConfig {
getMyProviderConfig {
... on ProviderConfig {
id
name
commonName
lifecycleStage
allowedLifecycleTransitions
homeNetworks
emergencyNumbers
eventBusArn
limits {
apiType
hardLimitTps
overHardLimitUntil
overSoftLimitUntil
rejectRequestsOverSoftLimit
softLimitTps
}
}
... on InvalidProviderLifecycleStage {
errorCode
errorMessage
providerLifecycleStage
}
... on RateLimitExceeded {
errorCode
errorMessage
retryAfter
}
}
}
Example Response
{
"data": {
"getMyProviderConfig": {
"id": "abcd-efghi-1234-5678-abcdefg12345",
"name": "Tenant Name",
"commonName": "Tenant.CommonName",
"lifecycleStage": "ACTIVE",
"allowedLifecycleTransitions": [
"SUSPENDED"
],
"homeNetworks": "123123",
"emergencyNumbers": [
"119",
"111"
],
"eventBusArn": null,
"limits": []
}
}
}