Skip to content

Commit

Permalink
fixing param description. updating readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Box committed May 22, 2024
1 parent 2f3dd47 commit f50115d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
18 changes: 15 additions & 3 deletions avm/res/api-management/service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,14 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
location: '<location>'
loggers: [
{
loggerType: 'azureMonitor'
credentials: {
instrumentationKey: '<instrumentationKey>'
}
description: 'Logger to Azure Application Insights'
isBuffered: false
loggerType: 'applicationInsights'
name: 'logger'
resourceId: '<resourceId>'
}
]
minApiVersion: '2021-08-01'
Expand Down Expand Up @@ -843,8 +849,14 @@ module service 'br/public:avm/res/api-management/service:<version>' = {
"loggers": {
"value": [
{
"loggerType": "azureMonitor",
"name": "logger"
"credentials": {
"instrumentationKey": "<instrumentationKey>"
},
"description": "Logger to Azure Application Insights",
"isBuffered": false,
"loggerType": "applicationInsights",
"name": "logger",
"resourceId": "<resourceId>"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions avm/res/api-management/service/loggers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This module deploys an API Management Service Logger.
| Parameter | Type | Description |
| :-- | :-- | :-- |
| [`loggerType`](#parameter-loggertype) | string | Logger type. |
| [`name`](#parameter-name) | string | Resource Name |
| [`name`](#parameter-name) | string | Resource Name. |

**Conditional parameters**

Expand Down Expand Up @@ -57,7 +57,7 @@ Logger type.

### Parameter: `name`

Resource Name
Resource Name.

- Required: Yes
- Type: string
Expand Down
2 changes: 1 addition & 1 deletion avm/res/api-management/service/loggers/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata owner = 'Azure/module-maintainers'
@description('Conditional. The name of the parent API Management service. Required if the template is used in a standalone deployment.')
param apiManagementServiceName string

@description('Required. Resource Name')
@description('Required. Resource Name.')
param name string

@description('Optional. Logger description.')
Expand Down

0 comments on commit f50115d

Please sign in to comment.