Add service principal
- 12 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Add service principal
- Updated on 12 Mar 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Post
/CostAnalyzer/ServicePrincipal/Add
Security
API Key
Header parameter nameAPIKey
API key which has access for your API
Body parameters
object
friendlyName
string
tenantId
string (uuid)
clientId
string (uuid)
clientSecret
string
clientSecretExpirationDate
string (date-time)
subscriptionMappingInfo
Array of object (SubscriptionMappingInfoCostAnalyser)
object
subscriptionId
string (uuid)
mappedCostAnalyserGroupIdList
Array of string
string (uuid)
filters
Array of object (CostAnalyserViewFilterConfigurationExposedAPI)
object
servicePrincipal
object (CostAnalyserServicePrincipal)
subscriptionId
string (uuid)
clientId
string (uuid)
filterType
integer (int32)
Valid values[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
filterValues
Array of string
string
tagKey
string
object
friendlyName
string
tenantId
string (uuid)
clientId
string (uuid)
clientSecret
string
clientSecretExpirationDate
string (date-time)
subscriptionMappingInfo
Array of object (SubscriptionMappingInfoCostAnalyser)
object
subscriptionId
string (uuid)
mappedCostAnalyserGroupIdList
Array of string
string (uuid)
filters
Array of object (CostAnalyserViewFilterConfigurationExposedAPI)
object
servicePrincipal
object (CostAnalyserServicePrincipal)
subscriptionId
string (uuid)
clientId
string (uuid)
filterType
integer (int32)
Valid values[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
filterValues
Array of string
string
tagKey
string
object
friendlyName
string
tenantId
string (uuid)
clientId
string (uuid)
clientSecret
string
clientSecretExpirationDate
string (date-time)
subscriptionMappingInfo
Array of object (SubscriptionMappingInfoCostAnalyser)
object
subscriptionId
string (uuid)
mappedCostAnalyserGroupIdList
Array of string
string (uuid)
filters
Array of object (CostAnalyserViewFilterConfigurationExposedAPI)
object
servicePrincipal
object (CostAnalyserServicePrincipal)
subscriptionId
string (uuid)
clientId
string (uuid)
filterType
integer (int32)
Valid values[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
filterValues
Array of string
string
tagKey
string
object
friendlyName
string
tenantId
string (uuid)
clientId
string (uuid)
clientSecret
string
clientSecretExpirationDate
string (date-time)
subscriptionMappingInfo
Array of object (SubscriptionMappingInfoCostAnalyser)
object
subscriptionId
string (uuid)
mappedCostAnalyserGroupIdList
Array of string
string (uuid)
filters
Array of object (CostAnalyserViewFilterConfigurationExposedAPI)
object
servicePrincipal
object (CostAnalyserServicePrincipal)
subscriptionId
string (uuid)
clientId
string (uuid)
filterType
integer (int32)
Valid values[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
filterValues
Array of string
string
tagKey
string
Responses
200
Success
Was this article helpful?