You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/APIM_ARMTemplate/README.md
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -308,9 +308,14 @@ az account set --subscription <subscription_id>
308
308
| policyXMLBaseUrl | No | Policy XML files remote location. If provided, Extractor generates policies folder with xml files, and requires they be pushed to remote location. |
309
309
| splitAPIs | No | If set to "true", then generate multiple api folders, each api will have a seperate folder, with a separate master template to deploy this api. If this single api has a version set, then a version set folder will generate instead, then all apis that belongs to this version set will be included in the version set folder, apis in this version set can be deployed separately using every api's master template, or they can be deployed together using the master template in "VersionSetMasterFolder" folder |
310
310
| apiVersionSetName | No | Name of the APIVersionSet. If provided, extract all apis within this apiversionset. It will generate seperate folder for each api and also a master folder to link all apis in this apiversionset |
311
+
| mutipleAPIs | No | Specify multiple APIs to extract. Generate templates for each API, also generate an aggregated templates folder to deploy these APIs together at a time |
312
+
| includeAllRevisions | No | Set to "true" will extract all revisions for the single API. Will work only with "apiName" paramter, where you specify which API's revisions to extract. Generate templates for each revision, also generate an aggregated master folder to deploy these revisions together at one time. Note: there are many complicated issues with deploying revisions, make sure your deployment won't overwrite or break the existing ones |
313
+
311
314
312
315
#### Note
313
-
* You can not use "splitAPIs" and "apiName" at the same time, since using "apiName" only extract one API
316
+
* Can not use "splitAPIs" and "apiName" at the same time, since using "apiName" only extract one API
317
+
* Can not use "apiName" and "mutipleAPIs" at the same time
318
+
* Can only "includeAllRevisions" with "apiName"
314
319
### Extractor Parameter Example
315
320
In **extractorparams.json** file (path: src/APIM_ARMTemplate/extractorparams.json) <br />
316
321
Executing **a single API extraction with linked templates and policy file** generation, use the following parameters:
@@ -360,6 +365,31 @@ Extract **all APIs within an apiversionset**, use the following parameters:
360
365
"apiVersionSetName": "<api-version-set-name>"
361
366
}
362
367
```
368
+
Extract **single API with all revisions**, use the following parameters:
0 commit comments