Skip to content

Commit 46f2423

Browse files
fanymaneajianghaolu
authored andcommitted
Azure Firewall FQDN Tag top level resource (#3744)
* Azure Firewall FQDN Tag top level resource * Name FqdnTags property in AzureFirewallApplicationRule properly * Empty commit to trigger new validation
1 parent 7100b4f commit 46f2423

File tree

4 files changed

+178
-0
lines changed

4 files changed

+178
-0
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/azureFirewall.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,13 @@
465465
"items":{
466466
"type":"string"
467467
}
468+
},
469+
"fqdnTags":{
470+
"type":"array",
471+
"description":"List of FQDN Tags for this rule.",
472+
"items":{
473+
"type":"string"
474+
}
468475
}
469476
},
470477
"description":"Properties of an application rule."
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "NetworkManagementClient",
5+
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
6+
"version": "2018-08-01"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"security": [
19+
{
20+
"azure_auth": [
21+
"user_impersonation"
22+
]
23+
}
24+
],
25+
"securityDefinitions": {
26+
"azure_auth": {
27+
"type": "oauth2",
28+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
29+
"flow": "implicit",
30+
"description": "Azure Active Directory OAuth2 Flow",
31+
"scopes": {
32+
"user_impersonation": "impersonate your user account"
33+
}
34+
}
35+
},
36+
"paths": {
37+
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": {
38+
"get": {
39+
"tags": [
40+
"AzureFirewallFqdnTags"
41+
],
42+
"operationId": "AzureFirewallFqdnTags_ListAll",
43+
"description":"Gets all the Azure Firewall FQDN Tags in a subscription.",
44+
"parameters":[
45+
{
46+
"$ref":"#/parameters/ApiVersionParameter"
47+
},
48+
{
49+
"$ref":"#/parameters/SubscriptionIdParameter"
50+
}
51+
],
52+
"responses":{
53+
"200":{
54+
"description":"Success. The operation returns a list of Azure Firewall FQDN Tag resources.",
55+
"schema":{
56+
"$ref":"#/definitions/AzureFirewallFqdnTagListResult"
57+
}
58+
}
59+
},
60+
"x-ms-examples":{
61+
"List all Azure Firewall FQDN Tags for a given subscription":{
62+
"$ref":"./examples/AzureFirewallFqdnTagsListBySubscription.json"
63+
}
64+
},
65+
"x-ms-pageable":{
66+
"nextLinkName":"nextLink"
67+
}
68+
}
69+
}
70+
},
71+
"definitions": {
72+
"AzureFirewallFqdnTagPropertiesFormat": {
73+
"properties": {
74+
"provisioningState": {
75+
"type": "string",
76+
"readOnly": true,
77+
"description": "The provisioning state of the resource."
78+
},
79+
"fqdnTagName": {
80+
"type": "string",
81+
"readOnly": true,
82+
"description": "The name of this FQDN Tag."
83+
}
84+
},
85+
"description": "Azure Firewall FQDN Tag Properties"
86+
},
87+
"AzureFirewallFqdnTag": {
88+
"properties": {
89+
"properties": {
90+
"x-ms-client-flatten": true,
91+
"$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat"
92+
},
93+
"etag": {
94+
"type": "string",
95+
"readOnly": true,
96+
"description": "Gets a unique read-only string that changes whenever the resource is updated."
97+
}
98+
},
99+
"allOf": [
100+
{
101+
"$ref": "./network.json#/definitions/Resource"
102+
}
103+
],
104+
"description": "Azure Firewall FQDN Tag Resource"
105+
},
106+
"AzureFirewallFqdnTagListResult":{
107+
"properties":{
108+
"value":{
109+
"type":"array",
110+
"items":{
111+
"$ref":"#/definitions/AzureFirewallFqdnTag"
112+
},
113+
"description":"List of Azure Firewall FQDN Tags in a resource group."
114+
},
115+
"nextLink":{
116+
"type":"string",
117+
"description":"URL to get the next set of results."
118+
}
119+
},
120+
"description":"Response for ListAzureFirewallFqdnTags API service call."
121+
}
122+
},
123+
"parameters": {
124+
"SubscriptionIdParameter": {
125+
"name": "subscriptionId",
126+
"in": "path",
127+
"required": true,
128+
"type": "string",
129+
"description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
130+
},
131+
"ApiVersionParameter": {
132+
"name": "api-version",
133+
"in": "query",
134+
"required": true,
135+
"type": "string",
136+
"description": "Client API version."
137+
}
138+
}
139+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters":{
3+
"api-version":"2018-07-01",
4+
"subscriptionId":"subid"
5+
},
6+
"responses":{
7+
"200":{
8+
"body":{
9+
"value":[
10+
{
11+
"name":"azfwfqdntag",
12+
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag",
13+
"type":"Microsoft.Network/azureFirewallFqdnTags",
14+
"etag":"w/\\00000000-0000-0000-0000-000000000000\\",
15+
"location":"West US",
16+
"tags":{
17+
"key1":"value1"
18+
},
19+
"properties":{
20+
"provisioningState":"Succeeded",
21+
"fqdnTagName":"azfwfqdntag"
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}

specification/network/resource-manager/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ input-file:
4141
- Microsoft.Network/stable/2018-08-01/applicationGateway.json
4242
- Microsoft.Network/stable/2018-08-01/applicationSecurityGroup.json
4343
- Microsoft.Network/stable/2018-08-01/azureFirewall.json
44+
- Microsoft.Network/stable/2018-08-01/azureFirewallFqdnTag.json
4445
- Microsoft.Network/stable/2018-08-01/checkDnsAvailability.json
4546
- Microsoft.Network/stable/2018-08-01/ddosProtectionPlan.json
4647
- Microsoft.Network/stable/2018-08-01/endpointService.json
@@ -630,6 +631,9 @@ directive:
630631
- suppress: RequiredPropertiesMissingInResourceModel
631632
from: azureFirewall.json
632633
reason: name, id and type properties are inherited from the upper level
634+
- suppress: RequiredPropertiesMissingInResourceModel
635+
from: azureFirewallFqdnTag.json
636+
reason: name, id and type properties are inherited from the upper level
633637
- suppress: RequiredPropertiesMissingInResourceModel
634638
from: checkDnsAvailability.json
635639
reason: name, id and type properties are inherited from the upper level

0 commit comments

Comments
 (0)