Add service principal
  • 12 Mar 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Add service principal

  • Dark
    Light
  • PDF

Article summary

Post
/CostAnalyzer/ServicePrincipal/Add
Security
API Key
Header parameter nameAPIKey

API key which has access for your API

Body parameters
Expand All
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
Expand All
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
Expand All
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
Expand All
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?