Skip to content

Commit

Permalink
Azure Firewall FQDN Tag top level resource (#3744)
Browse files Browse the repository at this point in the history
* Azure Firewall FQDN Tag top level resource

* Name FqdnTags property in AzureFirewallApplicationRule properly

* Empty commit to trigger new validation
  • Loading branch information
fanymanea authored and jianghaolu committed Aug 30, 2018
1 parent 7100b4f commit 46f2423
Show file tree
Hide file tree
Showing 4 changed files with 178 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,13 @@
"items":{
"type":"string"
}
},
"fqdnTags":{
"type":"array",
"description":"List of FQDN Tags for this rule.",
"items":{
"type":"string"
}
}
},
"description":"Properties of an application rule."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"swagger": "2.0",
"info": {
"title": "NetworkManagementClient",
"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.",
"version": "2018-08-01"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": {
"get": {
"tags": [
"AzureFirewallFqdnTags"
],
"operationId": "AzureFirewallFqdnTags_ListAll",
"description":"Gets all the Azure Firewall FQDN Tags in a subscription.",
"parameters":[
{
"$ref":"#/parameters/ApiVersionParameter"
},
{
"$ref":"#/parameters/SubscriptionIdParameter"
}
],
"responses":{
"200":{
"description":"Success. The operation returns a list of Azure Firewall FQDN Tag resources.",
"schema":{
"$ref":"#/definitions/AzureFirewallFqdnTagListResult"
}
}
},
"x-ms-examples":{
"List all Azure Firewall FQDN Tags for a given subscription":{
"$ref":"./examples/AzureFirewallFqdnTagsListBySubscription.json"
}
},
"x-ms-pageable":{
"nextLinkName":"nextLink"
}
}
}
},
"definitions": {
"AzureFirewallFqdnTagPropertiesFormat": {
"properties": {
"provisioningState": {
"type": "string",
"readOnly": true,
"description": "The provisioning state of the resource."
},
"fqdnTagName": {
"type": "string",
"readOnly": true,
"description": "The name of this FQDN Tag."
}
},
"description": "Azure Firewall FQDN Tag Properties"
},
"AzureFirewallFqdnTag": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat"
},
"etag": {
"type": "string",
"readOnly": true,
"description": "Gets a unique read-only string that changes whenever the resource is updated."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/Resource"
}
],
"description": "Azure Firewall FQDN Tag Resource"
},
"AzureFirewallFqdnTagListResult":{
"properties":{
"value":{
"type":"array",
"items":{
"$ref":"#/definitions/AzureFirewallFqdnTag"
},
"description":"List of Azure Firewall FQDN Tags in a resource group."
},
"nextLink":{
"type":"string",
"description":"URL to get the next set of results."
}
},
"description":"Response for ListAzureFirewallFqdnTags API service call."
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client API version."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters":{
"api-version":"2018-07-01",
"subscriptionId":"subid"
},
"responses":{
"200":{
"body":{
"value":[
{
"name":"azfwfqdntag",
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag",
"type":"Microsoft.Network/azureFirewallFqdnTags",
"etag":"w/\\00000000-0000-0000-0000-000000000000\\",
"location":"West US",
"tags":{
"key1":"value1"
},
"properties":{
"provisioningState":"Succeeded",
"fqdnTagName":"azfwfqdntag"
}
}
]
}
}
}
}
4 changes: 4 additions & 0 deletions specification/network/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ input-file:
- Microsoft.Network/stable/2018-08-01/applicationGateway.json
- Microsoft.Network/stable/2018-08-01/applicationSecurityGroup.json
- Microsoft.Network/stable/2018-08-01/azureFirewall.json
- Microsoft.Network/stable/2018-08-01/azureFirewallFqdnTag.json
- Microsoft.Network/stable/2018-08-01/checkDnsAvailability.json
- Microsoft.Network/stable/2018-08-01/ddosProtectionPlan.json
- Microsoft.Network/stable/2018-08-01/endpointService.json
Expand Down Expand Up @@ -630,6 +631,9 @@ directive:
- suppress: RequiredPropertiesMissingInResourceModel
from: azureFirewall.json
reason: name, id and type properties are inherited from the upper level
- suppress: RequiredPropertiesMissingInResourceModel
from: azureFirewallFqdnTag.json
reason: name, id and type properties are inherited from the upper level
- suppress: RequiredPropertiesMissingInResourceModel
from: checkDnsAvailability.json
reason: name, id and type properties are inherited from the upper level
Expand Down

0 comments on commit 46f2423

Please sign in to comment.