Skip to content

Commit 2bd3ecf

Browse files
authored
[Azure Stack] Updates to Azs.Network.Admin Spec (#8960)
* commit f809fa9 Author: Rakesh Kumar <rakku@microsoft.com> Date: Wed Nov 13 11:49:29 2019 -0800 Stackadmin network (#7776) * network admin module changes * remove readme.azsautogen.md from network commit 9e551f0 Author: bganapa <bganapa@microsoft.com> Date: Tue Nov 12 11:44:22 2019 -0800 Reset to Stackadmin2 (#7766) * Update Readme.md to include autorest generation info * Add quotes to file paths * Fix input file references
1 parent 2e49dd2 commit 2bd3ecf

File tree

2 files changed

+19
-22
lines changed

2 files changed

+19
-22
lines changed

specification/azsadmin/resource-manager/network/Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"/subscriptions/{subscriptionId}/providers/Microsoft.Network.Admin/adminPublicIpAddresses": {
2020
"get": {
2121
"x-ms-examples": {
22-
"List of public ip addresses": {
22+
"List of public IP addresses": {
2323
"$ref": "./examples/PublicIpAddresses/List.json"
2424
}
2525
},
2626
"tags": [
2727
"PublicIpAddresses"
2828
],
29-
"description": "List of public ip addresses.",
29+
"description": "List of public IP addresses.",
3030
"operationId": "PublicIPAddresses_List",
3131
"parameters": [
3232
{

specification/azsadmin/resource-manager/network/readme.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,13 @@ openapi-type: arm
2727
tag: package-2015-06-15
2828
```
2929
30-
### Tag: package-2015-06-15
31-
32-
These settings apply only when `--tag=package-2015-06-15` is specified on the command line.
33-
34-
``` yaml $(tag) == 'package-2015-06-15'
30+
``` yaml
3531
input-file:
36-
- "Microsoft.Network.Admin/preview/2015-06-15/Network.json"
37-
- "Microsoft.Network.Admin/preview/2015-06-15/LoadBalancers.json"
38-
- "Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json"
39-
- "Microsoft.Network.Admin/preview/2015-06-15/Quotas.json"
40-
- "Microsoft.Network.Admin/preview/2015-06-15/VirtualNetworks.json"
32+
- Microsoft.Network.Admin/preview/2015-06-15/Network.json
33+
- Microsoft.Network.Admin/preview/2015-06-15/LoadBalancers.json
34+
- Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json
35+
- Microsoft.Network.Admin/preview/2015-06-15/Quotas.json
36+
- Microsoft.Network.Admin/preview/2015-06-15/VirtualNetworks.json
4137
```
4238
4339
---
@@ -58,31 +54,32 @@ csharp:
5854
clear-output-folder: true
5955
```
6056

61-
## Multi-API/Profile support for AutoRest v3 generators
57+
## Multi-API/Profile support for AutoRest v3 generators
6258

6359
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
6460

6561
This block is updated by an automatic script. Edits may be lost!
6662

6763
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
64+
6865
# include the azure profile definitions from the standard location
69-
require: $(this-folder)/../../../../profiles/readme.md
66+
require: ../../../../profiles/readme.md
7067
7168
# all the input files across all versions
7269
input-file:
73-
- $(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/Network.json
74-
- $(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/LoadBalancers.json
75-
- $(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json
76-
- $(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/Quotas.json
77-
- $(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/VirtualNetworks.json
70+
- Microsoft.Network.Admin/preview/2015-06-15/Network.json
71+
- Microsoft.Network.Admin/preview/2015-06-15/LoadBalancers.json
72+
- Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json
73+
- Microsoft.Network.Admin/preview/2015-06-15/Quotas.json
74+
- Microsoft.Network.Admin/preview/2015-06-15/VirtualNetworks.json
7875
7976
```
8077

81-
If there are files that should not be in the `all-api-versions` set,
78+
If there are files that should not be in the `all-api-versions` set,
8279
uncomment the `exclude-file` section below and add the file paths.
8380

8481
``` yaml $(tag) == 'all-api-versions'
85-
#exclude-file:
82+
83+
#exclude-file:
8684
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
8785
```
88-

0 commit comments

Comments
 (0)