-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add new Nat Gateway resource #5579
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
Merged
sergey-shandar
merged 13 commits into
Azure:network-march-release
from
khannarheams:network_mar
Apr 12, 2019
Merged
Changes from 9 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
2bc49d8
Add new Nat Gateway resource
khannarheams eafa102
Update API version
khannarheams fe49a58
Update PR comments
khannarheams a3493db
Update nat gateway
khannarheams f89b36c
Fix json errors
khannarheams 7fb944c
Updated nat gateway
khannarheams c18f034
Update Nat Gateway examples name
khannarheams 7627a36
Update Examples with 202
khannarheams 938bbbe
Need to update with latest master since network.csproj is failing on …
khannarheams 66b630d
azure firewall revert alert
khannarheams 790b06b
Update NatGateway
khannarheams 50e6cff
Update nat gateway tags
khannarheams 62f7d2e
Remove basic sku since it is not supported
khannarheams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...source-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| { | ||
| "parameters":{ | ||
| "api-version":"2019-02-01", | ||
| "subscriptionId":"subid", | ||
| "resourceGroupName":"rg1", | ||
| "natGatewayName":"test-natgateway", | ||
| "parameters":{ | ||
| "properties":{ | ||
| "publicIpAddresses":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "responses":{ | ||
| "200":{ | ||
| "body":{ | ||
| "name":"test-natGateway", | ||
| "sku":{ | ||
| "name":"Standard" | ||
| }, | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", | ||
| "location":"westus", | ||
| "properties":{ | ||
| "idleTimeoutInMinutes":5, | ||
| "provisioningState":"Succeeded", | ||
| "publicIpAddresses":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type":"Microsoft.Network/natGateways" | ||
| } | ||
| }, | ||
| "202" : { }, | ||
| "201":{ | ||
| "body":{ | ||
| "name":"test-natGateway", | ||
| "sku":{ | ||
| "name":"Standard" | ||
| }, | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", | ||
| "location":"westus", | ||
| "properties":{ | ||
| "idleTimeoutInMinutes":5, | ||
| "provisioningState":"Succeeded", | ||
| "publicIpAddresses":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets":[ | ||
| { | ||
| "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type":"Microsoft.Network/natGateways" | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...twork/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayDelete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2019-02-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "natGatewayName": "test-natGateway" | ||
| }, | ||
| "responses" : { | ||
| "200" : { }, | ||
| "202" : { }, | ||
| "204" : { } | ||
| } | ||
| } |
41 changes: 41 additions & 0 deletions
41
.../network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayGet.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2019-02-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "natGatewayName": "test-natGateway" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-natGateway", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
72 changes: 72 additions & 0 deletions
72
...network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayList.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2019-02-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName" : "rg1" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "value" : [ | ||
| { | ||
| "name" : "test-natGateway", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| }, | ||
| { | ||
| "name" : "test-natGateway2", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
71 changes: 71 additions & 0 deletions
71
...work/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayListAll.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2019-02-01", | ||
| "subscriptionId" : "subid" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "value" : [ | ||
| { | ||
| "name" : "test-natGateway", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| }, | ||
| { | ||
| "name" : "test-natGateway2", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
50 changes: 50 additions & 0 deletions
50
...k/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayUpdateTags.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2019-02-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "natGatewayName": "test-natGateway", | ||
| "parameters": { | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| } | ||
| } | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-natGateway", | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "idleTimeoutInMinutes" : 5, | ||
| "provisioningState": "Succeeded", | ||
| "publicIpAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ], | ||
| "publicIpPrefixes": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" | ||
| } | ||
| ], | ||
| "subnets": [ | ||
| { | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" | ||
| } | ||
| ] | ||
| }, | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "type" : "Microsoft.Network/natGateways" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.