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
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ The utility requires one argument, --configFile, which points to a yaml file tha
33
33
| linked | boolean | No | Determines whether the utility should create a master template that links to all generated templates. |
34
34
| linkedTemplatesBaseUrl| string | No | Location that stores linked templates. Required if 'linked' is set to true. |
35
35
| linkedTemplatesUrlQueryString| string | No | Query string appended to linked templates uris that enables retrieval from private storage. |
36
+
| tags | Array<[TagConfiguration](#tagConfiguration)> | No | List of Tags configurations. |
36
37
37
38
#### APIConfiguration
38
39
@@ -57,6 +58,7 @@ The utility requires one argument, --configFile, which points to a yaml file tha
57
58
| products | string | No | Comma separated list of existing products to associate the API with. |
58
59
| protocols | string | No | Comma separated list of protocols used between client and APIM service. |
59
60
| diagnostic |[APIDiagnosticConfiguration](#APIDiagnosticConfiguration)| No | Diagnostic configuration. |
61
+
| tags | string | No | Comma separated list of tags to associate the API with. Tags can be existing or nonexisting. For nonexisting tags, it will automatically generate new tags on the API instance |
60
62
61
63
#### APIOperationPolicyConfiguration
62
64
@@ -96,6 +98,13 @@ _Additional properties found in [ProductContractProperties](https://docs.microso
96
98
97
99
_Additional properties found in [LoggerContractProperties](https://docs.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2019-01-01/service/loggers#LoggerContractProperties)_
| displayName | string | Yes | DisplayName and name of the tag |
106
+
107
+
_Additional properties found in [TagContractProperties](https://docs.microsoft.com/en-us/azure/templates/microsoft.apimanagement/2019-01-01/service/tags)_
99
108
### Sample Config File
100
109
101
110
The following is a full config.yml file with each property listed:
@@ -279,10 +292,22 @@ az account set --subscription <subscription_id>
279
292
| linkedTemplatesBaseUrl| No | Linked templates remote location. If provided, Extractor generates master template and requires linked templates pushed to remote location. |
280
293
| linkedTemplatesUrlQueryString | No | String | Query string appended to linked templates uris that enables retrieval from private storage. |
281
294
| policyXMLBaseUrl | No | Policy XML files remote location. If provided, Extractor generates policies folder with xml files, and requires they be pushed to remote location. |
295
+
| 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 |
282
296
283
-
To run the Extractor with all arguments (executing a single API extraction with linked templates and policy file generation), use the following command:
297
+
#### Note
298
+
* You can not use "--splitAPIs" and "--apiName" at the same time, since using "--apiName" only extract one API
299
+
### Extractor Command Example
300
+
Executing **a single API extraction with linked templates and policy file** generation, use the following command:
0 commit comments