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
* refactor to support custom naming templates (ref #126)
* cleaning Naming interface
* refactored for custom naming template
and initial set of unit tests
* more unit tests
* convert ARM template to use additional parameters
* rename to better convey
* fix ARM template sanity check
* editorconfig, attributes and using clean-up
* fixed implementation of FileNamingTemplates
added more argument validation
added unit tests
* Integration test for naming template feature
and some fixes
and some doc notes
* fix integration test cleanup
should be moved to a special test command
* factored out integration test cleanup
that is delete all azure resources except for the resource group
Copy file name to clipboardExpand all lines: doc/command-examples.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,31 @@
1
1
# Sample Aggregator CLI usage
2
2
3
3
run `aggregator-cli.exe` (Windows), `aggregator-cli` (Linux) or `dotnet aggregator-cli.dll` followed by the command and any option.
4
+
5
+
6
+
### Options valid for all command
4
7
All commands accept the `--verbose` option to print additional messages for troubleshooting.
5
8
9
+
With `--namingTemplate`, you can specify affixes for all Azure resource that will be created or used.
10
+
follows
11
+
12
+
```json
13
+
{
14
+
"ResourceGroupPrefix": "aggregator-",
15
+
"ResourceGroupSuffix": "-sfx",
16
+
"FunctionAppPrefix": "fp",
17
+
"FunctionAppSuffix": "fs",
18
+
"HostingPlanPrefix": "hp",
19
+
"HostingPlanSuffix": "hs",
20
+
"AppInsightPrefix": "aip",
21
+
"AppInsightSuffix": "ais",
22
+
"StorageAccountPrefix": "strg",
23
+
"StorageAccountSuffix": "31415"
24
+
}
25
+
```
26
+
27
+
If you use this, the `--resourceGroup` option is mandatory.
28
+
6
29
7
30
### Logon
8
31
You are required to log into both Azure and ADO. The credentials are cached locally and expire after 2 hours. _(Replace the below asterisks `*` with valid values.)_
@@ -181,4 +204,4 @@ Runs existing rule in Azure, no change is sent to Azure DevOps thanks to the `dr
0 commit comments