Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use only PublicIpAddress in Azure Firewall, not both Public and InternalPublic #3743

Merged
merged 4 commits into from
Aug 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,18 @@
"definitions":{
"AzureFirewallIPConfigurationPropertiesFormat":{
"properties":{
"privateIPAddress": {
"type": "string",
"description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes."
},
"subnet":{
"privateIPAddress": {
"type": "string",
"description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes."
},
"subnet":{
"$ref":"./network.json#/definitions/SubResource",
"description":"Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'."
},
"internalPublicIpAddress":{
"$ref":"./network.json#/definitions/SubResource",
"description":"Reference of the PublicIP resource. This field is a mandatory input."
"publicIPAddress": {
Copy link
Member

@lmazuel lmazuel Aug 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You wrote here publicIPAddress, but publicIpAddress in the example. JSON is case-sensitive, please be sure to put EXACTLY what the endpoint is returning.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! I double checked now and it is publicIPAddress.

"$ref": "./network.json#/definitions/SubResource",
"description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null."
},
"publicIPAddress": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Reference of the PublicIP resource. This field is populated in the output."
},
"provisioningState":{
"description":"The provisioning state of the resource.",
"$ref":"#/definitions/ProvisioningState"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"subnet":{
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
},
"internalPublicIpAddress":{
"publicIPAddress":{
"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
}
}
Expand Down