Skip to content

Commit 7b69553

Browse files
committed
fixed prereq links
1 parent 7c01169 commit 7b69553

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/api-management/api-management-howto-log-event-hubs.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Create and manage API Management loggers by using the [API Management REST API](
5555

5656
### Logger with connection string credentials
5757

58+
For prerequisites, see [Configure Event Hubs connection string](#option-1-configure-event-hubs-connection-string).
59+
5860
#### [PowerShell](#tab/PowerShell)
5961

6062
The following example uses the [New-AzApiManagementLogger](/powershell/module/az.apimanagement/new-azapimanagementlogger) cmdlet to create a logger to an event hub by configuring a connection string.
@@ -79,7 +81,7 @@ resource ehLoggerWithConnectionString 'Microsoft.ApiManagement/service/loggers@2
7981
parent: '<APIManagementInstanceName>'
8082
properties: {
8183
loggerType: 'azureEventHub'
82-
description: 'Event hub logger with system-assigned managed identity'
84+
description: 'Event hub logger with connection string'
8385
credentials: {
8486
connectionString: 'Endpoint=sb://<EventHubsNamespace>.servicebus.windows.net/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<key>'
8587
name: 'ApimEventHub'
@@ -99,7 +101,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
99101
"name": "ContosoLogger1",
100102
"properties": {
101103
"loggerType": "azureEventHub",
102-
"description": "Event hub logger with system-assigned managed identity",
104+
"description": "Event hub logger with connection string",
103105
"resourceId": "<EventHubsResourceID>"
104106
"credentials": {
105107
"connectionString": "Endpoint=sb://<EventHubsNamespace>/;SharedAccessKeyName=<KeyName>;SharedAccessKey=<key>",
@@ -112,7 +114,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
112114

113115
### Logger with system-assigned managed identity credentials
114116

115-
See [Configure API Management managed identity](#configure-event-hub-connection-string).
117+
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
116118

117119
#### [PowerShell](#tab/PowerShell)
118120

@@ -162,7 +164,7 @@ Include a JSON snippet similar to the following in your Azure Resource Manager t
162164
---
163165
### Logger with user-assigned managed identity credentials
164166

165-
See [Configure API Management managed identity](#configure-event-hub-connection-string).
167+
For prerequisites, see [Configure API Management managed identity](#option-2-configure-api-management-managed-identity).
166168

167169
#### [PowerShell](#tab/PowerShell)
168170

@@ -173,7 +175,6 @@ Use the API Management [REST API](/rest/api/apimanagement/current-preview/logger
173175
Include a snippet similar the following in your Bicep template.
174176

175177
```Bicep
176-
177178
resource ehLoggerWithUserAssignedIdentity 'Microsoft.ApiManagement/service/loggers@2022-04-01-preview' = {
178179
name: 'ContosoLogger1'
179180
parent: '<APIManagementInstanceName>'

0 commit comments

Comments
 (0)