-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,252 additions
and
1,252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,8 @@ The following section provides usage examples for the module, which were used to | |
>**Note**: To reference the module, please use the following syntax `br:bicep/modules/api-management.service:1.0.0`. | ||
- [Using large parameter set](#example-1-using-large-parameter-set) | ||
- [Max](#example-2-max) | ||
- [Using only defaults](#example-3-using-only-defaults) | ||
- [Using only defaults](#example-2-using-only-defaults) | ||
- [Max](#example-3-max) | ||
|
||
### Example 1: _Using large parameter set_ | ||
|
||
|
@@ -200,7 +200,63 @@ module service 'br:bicep/modules/api-management.service:1.0.0' = { | |
</details> | ||
<p> | ||
|
||
### Example 2: _Max_ | ||
### Example 2: _Using only defaults_ | ||
|
||
This instance deploys the module with the minimum set of required parameters. | ||
|
||
|
||
<details> | ||
|
||
<summary>via Bicep module</summary> | ||
|
||
```bicep | ||
module service 'br:bicep/modules/api-management.service:1.0.0' = { | ||
name: '${uniqueString(deployment().name, location)}-test-apismin' | ||
params: { | ||
// Required parameters | ||
name: 'apismin001' | ||
publisherEmail: '[email protected]' | ||
publisherName: 'az-amorg-x-001' | ||
// Non-required parameters | ||
enableDefaultTelemetry: '<enableDefaultTelemetry>' | ||
} | ||
} | ||
``` | ||
|
||
</details> | ||
<p> | ||
|
||
<details> | ||
|
||
<summary>via JSON Parameter file</summary> | ||
|
||
```json | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
// Required parameters | ||
"name": { | ||
"value": "apismin001" | ||
}, | ||
"publisherEmail": { | ||
"value": "[email protected]" | ||
}, | ||
"publisherName": { | ||
"value": "az-amorg-x-001" | ||
}, | ||
// Non-required parameters | ||
"enableDefaultTelemetry": { | ||
"value": "<enableDefaultTelemetry>" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
</details> | ||
<p> | ||
|
||
### Example 3: _Max_ | ||
|
||
<details> | ||
|
||
|
@@ -567,62 +623,6 @@ module service 'br:bicep/modules/api-management.service:1.0.0' = { | |
</details> | ||
<p> | ||
|
||
### Example 3: _Using only defaults_ | ||
|
||
This instance deploys the module with the minimum set of required parameters. | ||
|
||
|
||
<details> | ||
|
||
<summary>via Bicep module</summary> | ||
|
||
```bicep | ||
module service 'br:bicep/modules/api-management.service:1.0.0' = { | ||
name: '${uniqueString(deployment().name, location)}-test-apismin' | ||
params: { | ||
// Required parameters | ||
name: 'apismin001' | ||
publisherEmail: '[email protected]' | ||
publisherName: 'az-amorg-x-001' | ||
// Non-required parameters | ||
enableDefaultTelemetry: '<enableDefaultTelemetry>' | ||
} | ||
} | ||
``` | ||
|
||
</details> | ||
<p> | ||
|
||
<details> | ||
|
||
<summary>via JSON Parameter file</summary> | ||
|
||
```json | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
// Required parameters | ||
"name": { | ||
"value": "apismin001" | ||
}, | ||
"publisherEmail": { | ||
"value": "[email protected]" | ||
}, | ||
"publisherName": { | ||
"value": "az-amorg-x-001" | ||
}, | ||
// Non-required parameters | ||
"enableDefaultTelemetry": { | ||
"value": "<enableDefaultTelemetry>" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
</details> | ||
<p> | ||
|
||
|
||
## Parameters | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.