Skip to content

Commit

Permalink
Fixed param description (#4076)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr authored Oct 12, 2023
1 parent 5d110a6 commit f2448b2
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 24 deletions.
7 changes: 6 additions & 1 deletion modules/web/static-site/custom-domain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ This module deploys a Static Web App Site Custom Domain.

## Parameters

**Required parameters**

| Parameter Name | Type | Description |
| :-- | :-- | :-- |
| `name` | string | The custom domain name. |

**Conditional parameters**

| Parameter Name | Type | Description |
| :-- | :-- | :-- |
| `name` | string | The custom domain name. Required if the template is used in a standalone deployment. |
| `staticSiteName` | string | The name of the parent Static Web App. Required if the template is used in a standalone deployment. |

**Optional parameters**
Expand Down
2 changes: 1 addition & 1 deletion modules/web/static-site/custom-domain/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata name = 'Static Web App Site Custom Domains'
metadata description = 'This module deploys a Static Web App Site Custom Domain.'
metadata owner = 'Azure/module-maintainers'

@description('Conditional. The custom domain name. Required if the template is used in a standalone deployment.')
@description('Required. The custom domain name.')
param name string

@description('Conditional. The name of the parent Static Web App. Required if the template is used in a standalone deployment.')
Expand Down
6 changes: 3 additions & 3 deletions modules/web/static-site/custom-domain/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.20.4.51522",
"templateHash": "12334533883169216576"
"version": "0.22.6.54827",
"templateHash": "13208835708722733896"
},
"name": "Static Web App Site Custom Domains",
"description": "This module deploys a Static Web App Site Custom Domain.",
Expand All @@ -15,7 +15,7 @@
"name": {
"type": "string",
"metadata": {
"description": "Conditional. The custom domain name. Required if the template is used in a standalone deployment."
"description": "Required. The custom domain name."
}
},
"staticSiteName": {
Expand Down
38 changes: 19 additions & 19 deletions modules/web/static-site/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "18252581681683363361"
"version": "0.22.6.54827",
"templateHash": "12872096460250206815"
},
"name": "Static Web Apps",
"description": "This module deploys a Static Web App.",
Expand Down Expand Up @@ -279,8 +279,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "16239200301217299333"
"version": "0.22.6.54827",
"templateHash": "13553590806488370796"
},
"name": "Static Web App Site Linked Backends",
"description": "This module deploys a Custom Function App into a Static Web App Site using the Linked Backends property.",
Expand Down Expand Up @@ -412,8 +412,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "14542116541399181875"
"version": "0.22.6.54827",
"templateHash": "8340850851413090940"
},
"name": "Static Web App Site Config",
"description": "This module deploys a Static Web App Site Config.",
Expand Down Expand Up @@ -538,8 +538,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "14542116541399181875"
"version": "0.22.6.54827",
"templateHash": "8340850851413090940"
},
"name": "Static Web App Site Config",
"description": "This module deploys a Static Web App Site Config.",
Expand Down Expand Up @@ -665,8 +665,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "8695148534740362749"
"version": "0.22.6.54827",
"templateHash": "13208835708722733896"
},
"name": "Static Web App Site Custom Domains",
"description": "This module deploys a Static Web App Site Custom Domain.",
Expand All @@ -676,7 +676,7 @@
"name": {
"type": "string",
"metadata": {
"description": "Conditional. The custom domain name. Required if the template is used in a standalone deployment."
"description": "Required. The custom domain name."
}
},
"staticSiteName": {
Expand Down Expand Up @@ -790,8 +790,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "10006606949676096242"
"version": "0.22.6.54827",
"templateHash": "3353684850635934919"
}
},
"parameters": {
Expand Down Expand Up @@ -901,8 +901,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "14580007913383558904"
"version": "0.22.6.54827",
"templateHash": "2884140170473394983"
},
"name": "Private Endpoints",
"description": "This module deploys a Private Endpoint.",
Expand Down Expand Up @@ -1101,8 +1101,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "2469208411936339153"
"version": "0.22.6.54827",
"templateHash": "5610247137574346230"
},
"name": "Private Endpoint Private DNS Zone Groups",
"description": "This module deploys a Private Endpoint Private DNS Zone Group.",
Expand Down Expand Up @@ -1239,8 +1239,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.21.1.54444",
"templateHash": "13032708393704093995"
"version": "0.22.6.54827",
"templateHash": "14351187799927334028"
}
},
"parameters": {
Expand Down

0 comments on commit f2448b2

Please sign in to comment.