-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Introduce Publicipprefix to swagger #3520
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
lmazuel
merged 16 commits into
Azure:Network-August-Release
from
anilingle-ms:publicipprefixaugust
Jul 31, 2018
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4769c53
Add PublicIpPrefix
72c7442
Add PublicIpPrefix
a8295b3
Add PublicIpPrefix
7792309
Move to 2018-07-01 branch
c8d437b
revertversionchange
e951857
Fix Syntax error
37568d3
Fix IpTag description because evidently everything is global
bab987d
Fix $ref for PublicIpPrefix
37bd243
Fix Casing
03908b1
Add Exception for PublicIPPrefix from RequiredPropertiesMissingInReso…
996a9be
Merge branch 'Network-August-Release' into publicipprefixaugust
lmazuel 3c8b51d
Fix Version#
bb8115c
Merge branch 'publicipprefixaugust' of https://github.com/anilingle-m…
36933bb
Merge branch 'Network-August-Release' into publicipprefixaugust
lmazuel 0fe47bf
Fix Examples
a340246
Merge branch 'publicipprefixaugust' of https://github.com/anilingle-m…
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
58 changes: 58 additions & 0 deletions
58
...er/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixCreateCustomizedValues.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,58 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "publicIpPrefixName": "test-ipprefix", | ||
| "zones": [ "1" ], | ||
| "parameters": { | ||
| "properties": { | ||
| "publicIPAllocationMethod": "Static", | ||
| "idleTimeoutInMinutes": 10, | ||
| "publicIPAddressVersion": "IPv4" | ||
| }, | ||
| "sku": { | ||
| "name": "Standard" | ||
| } | ||
| } | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "zones": [ "1" ], | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "publicIPAllocationMethod" : "Static", | ||
| "idleTimeoutInMinutes" : 10, | ||
| "prefixLength":30 | ||
| }, | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| }, | ||
| "201" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", | ||
| "location" : "westus", | ||
| "zones": [ "1" ], | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 10, | ||
| "prefixLength":30 | ||
| }, | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| } | ||
| } | ||
| } |
45 changes: 45 additions & 0 deletions
45
...ce-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixCreateDefaults.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,45 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "publicIpPrefixName": "test-ipprefix", | ||
| "parameters": {} | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "prefixLength":30 | ||
| }, | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| }, | ||
| "201" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "prefixLength":30 | ||
| }, | ||
| "sku": { | ||
| "name": "Standard" | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...k/resource-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixDelete.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": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "publicIpPrefixName": "test-ipprefix" | ||
| }, | ||
| "responses" : { | ||
| "200" : { }, | ||
| "202" : { }, | ||
| "204" : { } | ||
| } | ||
| } |
26 changes: 26 additions & 0 deletions
26
...work/resource-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixGet.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,26 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "publicIpPrefixName": "test-ipprefix" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "ipTags" : [ | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
46 changes: 46 additions & 0 deletions
46
...ork/resource-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixList.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,46 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "value" : [ | ||
| { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "prefixLength":30, | ||
| "ipTags" : [ | ||
| { | ||
| "ipTagType" : "FirstPartyUsage", | ||
| "tag" : "SQL" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| }, | ||
| { | ||
| "name" : "ipprefix03", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "ipAddress" : "40.85.154.247", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "prefixLength":31, | ||
| "idleTimeoutInMinutes" : 4 | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
46 changes: 46 additions & 0 deletions
46
.../resource-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixListAll.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,46 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid" | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "value" : [ | ||
| { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "prefixLength":30, | ||
| "ipprefix":"41.85.154.247/30", | ||
| "publicIPAddresses": [ | ||
| { | ||
| "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" | ||
| } | ||
| ] | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| }, | ||
| { | ||
| "name" : "ipprefix01", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "ipprefix" : "40.85.154.247/30", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 4, | ||
| "prefixLength":30 | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
34 changes: 34 additions & 0 deletions
34
...source-manager/Microsoft.Network/stable/2018-07-01/examples/PublicIpPrefixUpdateTags.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,34 @@ | ||
| { | ||
| "parameters" : { | ||
| "api-version": "2018-07-01", | ||
| "subscriptionId" : "subid", | ||
| "resourceGroupName": "rg1", | ||
| "publicIpPrefixName": "test-ipprefix", | ||
| "parameters": { | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| } | ||
| } | ||
| }, | ||
| "responses" : { | ||
| "200" : { | ||
| "body" : { | ||
| "name" : "test-ipprefix", | ||
| "id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", | ||
| "location" : "westus", | ||
| "properties" : { | ||
| "provisioningState" : "Succeeded", | ||
| "publicIPAddressVersion" : "IPv4", | ||
| "idleTimeoutInMinutes" : 10, | ||
| "prefixLength":30 | ||
| }, | ||
| "tags": { | ||
| "tag1": "value1", | ||
| "tag2": "value2" | ||
| }, | ||
| "type" : "Microsoft.Network/publicIPPrefixes" | ||
| } | ||
| } | ||
| } | ||
| } |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're exposing tags as part of the prefix?
Also, should it align with this: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/PublicIpAddressList.json