Skip to content

Commit

Permalink
Swagger change for CustomIpPrefix. Adding four new attributes. (#13456)
Browse files Browse the repository at this point in the history
* update swagger

* fix apiversion

* fix

* add

Co-authored-by: Weiheng Li <weihl@microsoft.com>
  • Loading branch information
gitlwh and Weiheng Li authored Mar 19, 2021
1 parent d7829b4 commit ab22f19
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,26 @@
"type": "string",
"description": "The prefix range in CIDR notation. Should include the start address and the prefix length."
},
"signedMessage": {
"type": "string",
"description": "Signed message for WAN validation."
},
"authorizationMessage": {
"type": "string",
"description": "Authorization message for WAN validation."
},
"customIpPrefixParent": {
"$ref": "#/definitions/CustomIpPrefix",
"description": "The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix."
},
"childCustomIpPrefixes": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/CustomIpPrefix"
},
"description": "The list of all Children for IPv6 /48 CustomIpPrefix."
},
"commissionedState": {
"type": "string",
"description": "The commissioned state of the Custom IP Prefix.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "192.168.254.2/24",
"commissionedState": "Provisioning",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
}
Expand All @@ -48,7 +51,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "192.168.254.2/24",
"commissionedState": "Provisioning",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.0.0/24",
"commissionedState": "Commissioned",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.0.0/24",
"commissionedState": "Commissioned",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
},
Expand All @@ -32,7 +35,51 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.1.0/30",
"commissionedState": "Commissioned",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
},
{
"name": "test-customipprefix4",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "2607:f0d1:1002:0001::/64",
"commissionedState": "Commissioned",
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": [],
"customIpPrefixParent": {
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5"
}
},
"type": "Microsoft.Network/customIpPrefixes"
},
{
"name": "test-customipprefix5",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "2607:f0d1:1002::/48",
"commissionedState": "Provisioned",
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": [
{
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4"
}
]
},
"type": "Microsoft.Network/customIpPrefixes"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.0.0/24",
"commissionedState": "Commissioned",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
},
Expand All @@ -29,23 +32,70 @@
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.1.0/30",
"cidr": "0.0.2.0/23",
"commissionedState": "Commissioned",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
},
{
"name": "test-customipprefix2",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix2",
"name": "test-customipprefix3",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix3",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "0.0.1.0/22",
"cidr": "0.0.4.0/22",
"commissionedState": "Provisioning",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"type": "Microsoft.Network/customIpPrefixes"
},
{
"name": "test-customipprefix4",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "2607:f0d1:1002:0001::/64",
"commissionedState": "Commissioned",
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": [],
"customIpPrefixParent": {
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5"
}
},
"type": "Microsoft.Network/customIpPrefixes"
},
{
"name": "test-customipprefix5",
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5",
"etag": "W/\"00000000-0000-0000-0000-00000000\"",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "2607:f0d1:1002::/48",
"commissionedState": "Provisioned",
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": [
{
"id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4"
}
]
},
"type": "Microsoft.Network/customIpPrefixes"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"resourceGuid": "00000000-0000-0000-0000-00000000",
"cidr": "192.168.254.2/24",
"commissionedState": "Provisioning",
"publicIpPrefixes": []
"signedMessage": "signedMessage",
"authorizationMessage": "authorizationMessage",
"publicIpPrefixes": [],
"childCustomIpPrefixes": []
},
"tags": {
"tag1": "value1",
Expand Down

0 comments on commit ab22f19

Please sign in to comment.