Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit f27b386

Browse files
committed
Merge branch 'master' of https://github.com/Azure/azure-api-management-devops-example into lucashh-templateupdates
2 parents b541edd + ce7307b commit f27b386

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"ApimServiceName": {
6+
"value": "contoso-dev"
7+
},
8+
"UsernamePasswordSignup": {
9+
"value": false
10+
}
11+
}
12+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"ApimServiceName": {
6+
"type": "string"
7+
},
8+
"UsernamePasswordSignup": {
9+
"type": "bool",
10+
"defaultValue": false,
11+
"allowedValues": [
12+
true,
13+
false
14+
]
15+
}
16+
},
17+
"resources": [
18+
{
19+
"type": "Microsoft.ApiManagement/service/portalsettings",
20+
"name": "[concat(parameters('ApimServiceName'), '/signup')]",
21+
"apiVersion": "2018-01-01",
22+
"properties": {
23+
"enabled": "[parameters('UsernamePasswordSignup')]"
24+
}
25+
}
26+
]
27+
}

src/APIM_ARMTemplate/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ To be able to run the Extractor, you would first need to [install the Azure CLI]
171171

172172
## Running the Extractor
173173
Below are the steps to run the Extractor from the source code:
174-
- Clone this repository and restore its packages using ```dotnet restore```
175-
- Navigate to {path_to_folder}/src/APIM_ARMTemplate/apimtemplate directory
174+
- Clone this repository and navigate to {path_to_folder}/src/APIM_ARMTemplate/apimtemplate
175+
- Restore its packages using ```dotnet restore```
176176
- Make sure you have signed in using Azure CLI and have switched to the subscription containing the API Management instance from which the configurations will be extracted.
177177
```
178178
az login

0 commit comments

Comments
 (0)