In this video I will talk about –
- Why to log api management traffic to event hub? Benefits of it.
- I will explain it with the help of real world Use cases
- Setup logger in api management using rest api.
#azure #apimanagement #apigateway #AzureBeyondDemos
Request Body Sample -
{
"properties": {
"loggerType": "azureEventHub",
"description": "adding a new logger",
"credentials": {
"endpointAddress":"YourEHNamespace.servicebus.windows.net",
"identityClientId":"SystemAssigned",
"name":"YourEventHub"
}
}
}
For below error solution is discussed in the video -
{
"error": {
"code": "NoRegisteredProviderFound",
"message": "No registered resource provider found for location 'southindia' and API version 'SupportedVersion' for type 'service'. The supported api-versions are '2014-02-14, 2015-09-15, 2016-07-07, 2016-10-10, 2017-03-01, 2018-01-01, 2018-06-01-preview, 2019-01-01, 2019-12-01-preview, 2019-12-01, 2020-06-01-preview, 2020-12-01, 2021-01-01-preview, 2021-04-01-preview, 2021-08-01, 2021-12-01-preview, 2022-04-01-preview, 2022-08-01, 2022-09-01-preview, 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview'. The supported locations are 'centralindia, uaenorth, australiacentral, germanywestcentral, westcentralus, norwayeast, switzerlandnorth, koreasouth, westindia, koreacentral, southafricanorth, ukwest, brazilsouth, eastasia, southindia, canadacentral, canadaeast, australiasoutheast, japaneast, northcentralus, southeastasia, westus2, centralus, uksouth, australiaeast, japanwest, westus, francecentral, southcentralus, eastus2, eastus, northeurope, westeurope, westus3, jioindiacentral, jioindiawest, swedencentral, qatarcentral, polandcentral, italynorth, spaincentral, mexicocentral, israelcentral, newzealandnorth'."
}
}
No comments:
Post a Comment