openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 32.9 kB
JSON
{"openapi":"3.0.0","info":{"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.","title":"NetworkManagementClient","version":"2019-07-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/firewallPolicy.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"network-firewallPolicy","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies":{"get":{"description":"Gets all the Firewall Policies in a subscription.","operationId":"FirewallPolicies_ListAll","parameters":[{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List all Firewall Policies for a given subscription":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List all Firewall Policies for a given subscription":{"value":"subid"}}}],"responses":{"200":{"description":"Success. The operation returns a list of FirewallPolicy resources.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyListResult"},"examples":{"List all Firewall Policies for a given subscription":{"$ref":"#/components/examples/List_all_Firewall_Policies_for_a_given_subscription"}}}}}},"tags":["FirewallPolicies"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies":{"get":{"description":"Lists all Firewall Policies in a resource group.","operationId":"FirewallPolicies_List","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"List all Firewall Policies for a given resource group":{"value":"rg1"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List all Firewall Policies for a given resource group":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List all Firewall Policies for a given resource group":{"value":"subid"}}}],"responses":{"200":{"description":"Success. The operation returns a list of FirewallPolicy resources.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyListResult"},"examples":{"List all Firewall Policies for a given resource group":{"$ref":"#/components/examples/List_all_Firewall_Policies_for_a_given_resource_group"}}}}}},"tags":["FirewallPolicies"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}":{"delete":{"description":"Deletes the specified Firewall Policy.","operationId":"FirewallPolicies_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete Firewall Policy":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Delete Firewall Policy":{"value":"firewallPolicy"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Delete Firewall Policy":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Delete Firewall Policy":{"value":"subid"}}}],"responses":{"200":{"description":"Delete successful."},"202":{"description":"Accepted and the operation will complete asynchronously."},"204":{"description":"Request successful. Resource with the specified name does not exist."}},"tags":["FirewallPolicies"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"location"}},"get":{"description":"Gets the specified Firewall Policy.","operationId":"FirewallPolicies_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicy":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicy":{"value":"firewallPolicy"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicy":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicy":{"value":"subid"}}},{"description":"Expands referenced resources.","in":"query","name":"$expand","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Request successful. The operation returns a Firewall Policy resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"},"examples":{"Get FirewallPolicy":{"$ref":"#/components/examples/Get_FirewallPolicy"}}}}}},"tags":["FirewallPolicies"]},"patch":{"description":"Updates a Firewall Policy Tags.","operationId":"FirewallPolicies_UpdateTags","parameters":[{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Update FirewallPolicy":{"value":"subid"}}},{"description":"The resource group name of the Firewall Policy.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Update FirewallPolicy":{"value":"rg1"}}},{"description":"The name of the Firewall Policy being updated.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Update FirewallPolicy":{"value":"firewallPolicy"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Update FirewallPolicy":{"value":"2019-07-01"}}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Tags object for patch operations.","properties":{"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object"}}}}},"description":"Parameters supplied to Update Firewall Policy tags.","required":true},"responses":{"200":{"description":"Request successful. Returns the details of the Firewall Policy updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"},"examples":{"Update FirewallPolicy":{"$ref":"#/components/examples/Update_FirewallPolicy"}}}}},"default":{"description":"Error.","content":{"application/json":{"schema":{"description":"Common error representation.","properties":{"code":{"description":"Error code.","type":"string"},"details":{"description":"Error details.","items":{"description":"Common error details representation.","properties":{"code":{"description":"Error code.","type":"string"},"message":{"description":"Error message.","type":"string"},"target":{"description":"Error target.","type":"string"}}},"type":"array"},"innerError":{"description":"Inner error message.","type":"string"},"message":{"description":"Error message.","type":"string"},"target":{"description":"Error target.","type":"string"}}}}}}},"tags":["FirewallPolicies"]},"put":{"description":"Creates or updates the specified Firewall Policy.","operationId":"FirewallPolicies_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicy":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicy":{"value":"firewallPolicy"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicy":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicy":{"value":"subid"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"}}},"description":"Parameters supplied to the create or update Firewall Policy operation.","required":true},"responses":{"200":{"description":"Request successful. The operation returns the resulting FirewallPolicy resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"},"examples":{"Create FirewallPolicy":{"$ref":"#/components/examples/Create_FirewallPolicy"}}}}},"201":{"description":"Request received successfully. The operation returns the resulting FirewallPolicy resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"},"examples":{"Create FirewallPolicy":{"$ref":"#/components/examples/Create_FirewallPolicy"}}}}}},"tags":["FirewallPolicies"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups":{"get":{"description":"Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource.","operationId":"FirewallPolicyRuleGroups_List","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"List all FirewallPolicyRuleGroups for a given FirewallPolicy":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"List all FirewallPolicyRuleGroups for a given FirewallPolicy":{"value":"firewallPolicy"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List all FirewallPolicyRuleGroups for a given FirewallPolicy":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List all FirewallPolicyRuleGroups for a given FirewallPolicy":{"value":"subid"}}}],"responses":{"200":{"description":"Success. The operation returns a list of FirewallPolicyRuleGroup resources.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRuleGroupListResult"},"examples":{"List all FirewallPolicyRuleGroups for a given FirewallPolicy":{"$ref":"#/components/examples/List_all_FirewallPolicyRuleGroups_for_a_given_FirewallPolicy"}}}}}},"tags":["FirewallPolicyRuleGroups"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}":{"delete":{"description":"Deletes the specified FirewallPolicyRuleGroup.","operationId":"FirewallPolicyRuleGroups_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete FirewallPolicyRuleGroup":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Delete FirewallPolicyRuleGroup":{"value":"firewallPolicy"}}},{"description":"The name of the FirewallPolicyRuleGroup.","in":"path","name":"ruleGroupName","required":true,"schema":{"type":"string"},"examples":{"Delete FirewallPolicyRuleGroup":{"value":"ruleGroup1"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Delete FirewallPolicyRuleGroup":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Delete FirewallPolicyRuleGroup":{"value":"subid"}}}],"responses":{"200":{"description":"Delete successful."},"202":{"description":"Accepted and the operation will complete asynchronously."},"204":{"description":"Request successful. Resource with the specified name does not exist."}},"tags":["FirewallPolicyRuleGroups"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"location"}},"get":{"description":"Gets the specified FirewallPolicyRuleGroup.","operationId":"FirewallPolicyRuleGroups_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicyRuleGroup":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicyRuleGroup":{"value":"firewallPolicy"}}},{"description":"The name of the FirewallPolicyRuleGroup.","in":"path","name":"ruleGroupName","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicyRuleGroup":{"value":"ruleGroup1"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicyRuleGroup":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Get FirewallPolicyRuleGroup":{"value":"subid"}}}],"responses":{"200":{"description":"Request successful. The operation returns a FirewallPolicyRuleGroup resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRuleGroup"},"examples":{"Get FirewallPolicyRuleGroup":{"$ref":"#/components/examples/Get_FirewallPolicyRuleGroup"}}}}}},"tags":["FirewallPolicyRuleGroups"]},"put":{"description":"Creates or updates the specified FirewallPolicyRuleGroup.","operationId":"FirewallPolicyRuleGroups_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicyRuleGroup":{"value":"rg1"}}},{"description":"The name of the Firewall Policy.","in":"path","name":"firewallPolicyName","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicyRuleGroup":{"value":"firewallPolicy"}}},{"description":"The name of the FirewallPolicyRuleGroup.","in":"path","name":"ruleGroupName","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicyRuleGroup":{"value":"ruleGroup1"}}},{"description":"Client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicyRuleGroup":{"value":"2019-07-01"}}},{"description":"The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Create FirewallPolicyRuleGroup":{"value":"subid"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRuleGroup"}}},"description":"Parameters supplied to the create or update FirewallPolicyRuleGroup operation.","required":true},"responses":{"200":{"description":"Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRuleGroup"},"examples":{"Create FirewallPolicyRuleGroup":{"$ref":"#/components/examples/Create_FirewallPolicyRuleGroup"}}}}},"201":{"description":"Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRuleGroup"},"examples":{"Create FirewallPolicyRuleGroup":{"$ref":"#/components/examples/Create_FirewallPolicyRuleGroup"}}}}}},"tags":["FirewallPolicyRuleGroups"],"x-ms-long-running-operation":true,"x-ms-long-running-operation-options":{"final-state-via":"azure-async-operation"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_all_Firewall_Policies_for_a_given_subscription":{"value":{"value":[{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","location":"West US","name":"firewallPolicy","properties":{"firewalls":[],"provisioningState":"Succeeded","ruleGroups":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"}],"threatIntelMode":"Alert"},"tags":{"key1":"value1"},"type":"Microsoft.Network/firewallPolicies"}]}},"List_all_Firewall_Policies_for_a_given_resource_group":{"value":{"value":[{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","location":"West US","name":"firewallPolicy","properties":{"firewalls":[],"provisioningState":"Succeeded","ruleGroups":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"}],"threatIntelMode":"Alert"},"tags":{"key1":"value1"},"type":"Microsoft.Network/firewallPolicies"}]}},"Get_FirewallPolicy":{"value":{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","location":"West US","name":"firewallPolicy","properties":{"firewalls":[],"provisioningState":"Succeeded","ruleGroups":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"}],"threatIntelMode":"Alert"},"tags":{"key1":"value1"},"type":"Microsoft.Network/firewallPolicies"}},"Update_FirewallPolicy":{"value":{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","location":"West US","name":"firewallPolicy","properties":{"provisioningState":"Succeeded","threatIntelMode":"Deny"},"tags":{"key1":"value1","key2":"value2"},"type":"Microsoft.Network/firewallPolicies"}},"Create_FirewallPolicy":{"value":{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","location":"West US","name":"firewallPolicy","properties":{"firewalls":[],"provisioningState":"Succeeded","ruleGroups":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"},{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2"}],"threatIntelMode":"Alert"},"tags":{"key1":"value1"},"type":"Microsoft.Network/firewallPolicies"}},"List_all_FirewallPolicyRuleGroups_for_a_given_FirewallPolicy":{"value":{"value":[{"etag":"W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1","name":"ruleGroup1","properties":{"priority":110,"provisioningState":"Succeeded","rules":[{"action":{"type":"Deny"},"name":"Example-Filter-Rule","priority":120,"ruleConditions":[{"description":"Network rule condition","destinationAddresses":["*"],"destinationPorts":["*"],"ipProtocols":["TCP"],"name":"network-condition-1","ruleConditionType":"NetworkRuleCondition","sourceAddresses":["10.1.25.0/24"]}],"ruleType":"FirewallPolicyFilterRule"}]}}]}},"Get_FirewallPolicyRuleGroup":{"value":{"etag":"W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1","name":"ruleGroup1","properties":{"priority":110,"provisioningState":"Succeeded","rules":[{"action":{"type":"Deny"},"name":"Example-Filter-Rule","priority":200,"ruleConditions":[{"destinationAddresses":["*"],"destinationPorts":["*"],"ipProtocols":["TCP"],"name":"network-condition1","ruleConditionType":"NetworkRuleCondition","sourceAddresses":["10.1.25.0/24"]}],"ruleType":"FirewallPolicyFilterRule"}]}}},"Create_FirewallPolicyRuleGroup":{"value":{"etag":"w/\\00000000-0000-0000-0000-000000000000\\","id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy","name":"firewallPolicy","properties":{"priority":110,"provisioningState":"Succeeded","rules":[{"action":{"type":"Deny"},"name":"Example-Filter-Rule","ruleConditions":[{"destinationAddresses":["*"],"destinationPorts":["*"],"ipProtocols":["TCP"],"name":"network-condition1","ruleConditionType":"NetworkRuleCondition","sourceAddresses":["10.1.25.0/24"]}],"ruleType":"FirewallPolicyFilterRule"}]}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow.","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"ApplicationRuleCondition":{"allOf":[{"$ref":"#/components/schemas/FirewallPolicyRuleCondition"}],"description":"Rule condition of type application.","properties":{"destinationAddresses":{"description":"List of destination IP addresses or Service Tags.","items":{"type":"string"},"type":"array"},"fqdnTags":{"description":"List of FQDN Tags for this rule condition.","items":{"type":"string"},"type":"array"},"protocols":{"description":"Array of Application Protocols.","items":{"$ref":"#/components/schemas/FirewallPolicyRuleConditionApplicationProtocol"},"type":"array"},"sourceAddresses":{"description":"List of source IP addresses for this rule.","items":{"type":"string"},"type":"array"},"targetFqdns":{"description":"List of FQDNs for this rule condition.","items":{"type":"string"},"type":"array"}},"x-ms-discriminator-value":"ApplicationRuleCondition"},"FirewallPolicy":{"allOf":[{"description":"Common resource representation.","properties":{"id":{"description":"Resource ID.","type":"string"},"location":{"description":"Resource location.","type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object"},"type":{"description":"Resource type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"FirewallPolicy Resource.","properties":{"etag":{"description":"A unique read-only string that changes whenever the resource is updated.","readOnly":true,"type":"string"},"properties":{"$ref":"#/components/schemas/FirewallPolicyPropertiesFormat"}}},"FirewallPolicyFilterRule":{"allOf":[{"$ref":"#/components/schemas/FirewallPolicyRule"}],"description":"Firewall Policy Filter Rule.","properties":{"action":{"$ref":"#/components/schemas/FirewallPolicyFilterRuleAction"},"ruleConditions":{"description":"Collection of rule conditions used by a rule.","items":{"$ref":"#/components/schemas/FirewallPolicyRuleCondition"},"type":"array"}},"x-ms-discriminator-value":"FirewallPolicyFilterRule"},"FirewallPolicyFilterRuleAction":{"description":"Properties of the FirewallPolicyFilterRuleAction.","properties":{"type":{"$ref":"#/components/schemas/FirewallPolicyFilterRuleActionType"}}},"FirewallPolicyFilterRuleActionType":{"description":"The action type of a rule.","enum":["Allow","Deny","Alert "],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyFilterRuleActionType"}},"FirewallPolicyListResult":{"description":"Response for ListFirewallPolicies API service call.","properties":{"nextLink":{"description":"URL to get the next set of results.","type":"string"},"value":{"description":"List of Firewall Policies in a resource group.","items":{"$ref":"#/components/schemas/FirewallPolicy"},"type":"array"}}},"FirewallPolicyNatRule":{"allOf":[{"$ref":"#/components/schemas/FirewallPolicyRule"}],"description":"Firewall Policy NAT Rule.","properties":{"action":{"$ref":"#/components/schemas/FirewallPolicyNatRuleAction"},"ruleCondition":{"$ref":"#/components/schemas/FirewallPolicyRuleCondition"},"translatedAddress":{"description":"The translated address for this NAT rule.","type":"string"},"translatedPort":{"description":"The translated port for this NAT rule.","type":"string"}},"x-ms-discriminator-value":"FirewallPolicyNatRule"},"FirewallPolicyNatRuleAction":{"description":"Properties of the FirewallPolicyNatRuleAction.","properties":{"type":{"$ref":"#/components/schemas/FirewallPolicyNatRuleActionType"}}},"FirewallPolicyNatRuleActionType":{"description":"The action type of a rule.","enum":["DNAT","SNAT"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyNatRuleActionType"}},"FirewallPolicyPropertiesFormat":{"description":"Firewall Policy definition.","properties":{"basePolicy":{"description":"Reference to another subresource.","properties":{"id":{"description":"Resource ID.","type":"string"}},"x-ms-azure-resource":true},"childPolicies":{"description":"List of references to Child Firewall Policies.","items":{"description":"Reference to another subresource.","properties":{"id":{"description":"Resource ID.","type":"string"}},"x-ms-azure-resource":true},"readOnly":true,"type":"array"},"firewalls":{"description":"List of references to Azure Firewalls that this Firewall Policy is associated with.","items":{"description":"Reference to another subresource.","properties":{"id":{"description":"Resource ID.","type":"string"}},"x-ms-azure-resource":true},"readOnly":true,"type":"array"},"provisioningState":{"description":"The current provisioning state.","enum":["Succeeded","Updating","Deleting","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"ruleGroups":{"description":"List of references to FirewallPolicyRuleGroups.","items":{"description":"Reference to another subresource.","properties":{"id":{"description":"Resource ID.","type":"string"}},"x-ms-azure-resource":true},"readOnly":true,"type":"array"},"threatIntelMode":{"description":"The operation mode for Threat Intel.","enum":["Alert","Deny","Off"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AzureFirewallThreatIntelMode"}}}},"FirewallPolicyRule":{"description":"Properties of the rule.","discriminator":{"propertyName":"ruleType"},"properties":{"name":{"description":"The name of the rule.","type":"string"},"priority":{"description":"Priority of the Firewall Policy Rule resource.","exclusiveMaximum":false,"exclusiveMinimum":false,"format":"int32","maximum":65000,"minimum":100,"type":"integer"},"ruleType":{"description":"The type of the rule.","enum":["FirewallPolicyNatRule","FirewallPolicyFilterRule"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyRuleType"}}},"required":["ruleType"]},"FirewallPolicyRuleCondition":{"description":"Properties of a rule.","discriminator":{"propertyName":"ruleConditionType"},"properties":{"description":{"description":"Description of the rule condition.","type":"string"},"name":{"description":"Name of the rule condition.","type":"string"},"ruleConditionType":{"description":"Rule Condition Type.","enum":["ApplicationRuleCondition","NetworkRuleCondition"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyRuleConditionType"}}},"required":["ruleConditionType"]},"FirewallPolicyRuleConditionApplicationProtocol":{"description":"Properties of the application rule protocol.","properties":{"port":{"description":"Port number for the protocol, cannot be greater than 64000.","exclusiveMaximum":false,"exclusiveMinimum":false,"format":"int32","maximum":64000,"minimum":0,"type":"integer"},"protocolType":{"$ref":"#/components/schemas/FirewallPolicyRuleConditionApplicationProtocolType"}}},"FirewallPolicyRuleConditionApplicationProtocolType":{"description":"The application protocol type of a Rule condition.","enum":["Http","Https"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyRuleConditionApplicationProtocolType"}},"FirewallPolicyRuleConditionNetworkProtocol":{"description":"The Network protocol of a Rule condition.","enum":["TCP","UDP","Any","ICMP"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"FirewallPolicyRuleConditionNetworkProtocol"}},"FirewallPolicyRuleGroup":{"allOf":[{"description":"Reference to another subresource.","properties":{"id":{"description":"Resource ID.","type":"string"}},"x-ms-azure-resource":true}],"description":"Rule Group resource.","properties":{"etag":{"description":"A unique read-only string that changes whenever the resource is updated.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource that is unique within a resource group. This name can be used to access the resource.","type":"string"},"properties":{"$ref":"#/components/schemas/FirewallPolicyRuleGroupProperties"},"type":{"description":"Rule Group type.","readOnly":true,"type":"string"}}},"FirewallPolicyRuleGroupListResult":{"description":"Response for ListFirewallPolicyRuleGroups API service call.","properties":{"nextLink":{"description":"URL to get the next set of results.","type":"string"},"value":{"description":"List of FirewallPolicyRuleGroups in a FirewallPolicy.","items":{"$ref":"#/components/schemas/FirewallPolicyRuleGroup"},"type":"array"}}},"FirewallPolicyRuleGroupProperties":{"description":"Properties of the rule group.","properties":{"priority":{"description":"Priority of the Firewall Policy Rule Group resource.","exclusiveMaximum":false,"exclusiveMinimum":false,"format":"int32","maximum":65000,"minimum":100,"type":"integer"},"provisioningState":{"description":"The current provisioning state.","enum":["Succeeded","Updating","Deleting","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"rules":{"description":"Group of Firewall Policy rules.","items":{"$ref":"#/components/schemas/FirewallPolicyRule"},"type":"array"}}},"NetworkRuleCondition":{"allOf":[{"$ref":"#/components/schemas/FirewallPolicyRuleCondition"}],"description":"Rule condition of type network.","properties":{"destinationAddresses":{"description":"List of destination IP addresses or Service Tags.","items":{"type":"string"},"type":"array"},"destinationPorts":{"description":"List of destination ports.","items":{"type":"string"},"type":"array"},"ipProtocols":{"description":"Array of FirewallPolicyRuleConditionNetworkProtocols.","items":{"$ref":"#/components/schemas/FirewallPolicyRuleConditionNetworkProtocol"},"type":"array"},"sourceAddresses":{"description":"List of source IP addresses for this rule.","items":{"type":"string"},"type":"array"}},"x-ms-discriminator-value":"NetworkRuleCondition"}}}}