Skip to content

Commit

Permalink
Update swagger for outbound public ip feature (Azure#10713)
Browse files Browse the repository at this point in the history
* update swagger for outbound public ip feature

* Update samples

* prettier all the files

* fix typo for 'outboundIPs' & 'publicIPs' properties

Co-authored-by: Xuyang Cao <xuycao@microsoft.com>
  • Loading branch information
2 people authored and nitegupt committed Sep 25, 2020
1 parent 99ba92c commit ec3a03b
Show file tree
Hide file tree
Showing 14 changed files with 195 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2479,6 +2479,21 @@
"appNetworkResourceGroup": {
"description": "Name of the resource group containing network resources of Azure Spring Cloud Apps",
"type": "string"
},
"outboundIPs": {
"description": "Desired outbound IP resources for Azure Spring Cloud instance.",
"type": "object",
"readOnly": true,
"properties": {
"publicIPs": {
"type": "array",
"readOnly": true,
"items": {
"type": "string"
},
"description": "A list of public IP addresses."
}
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down Expand Up @@ -90,7 +98,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
"appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps",
"serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16",
"serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg",
"appNetworkResourceGroup": "my-app-network-rg"
"appNetworkResourceGroup": "my-app-network-rg",
"outboundIPs": {
"publicIPs": [
"40.64.67.13"
]
}
},
"serviceId": "12345678abcd1234abcd12345678abcd"
},
Expand All @@ -60,7 +65,12 @@
"appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps",
"serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16",
"serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg",
"appNetworkResourceGroup": "my-app-network-rg"
"appNetworkResourceGroup": "my-app-network-rg",
"outboundIPs": {
"publicIPs": [
"40.64.67.13"
]
}
},
"serviceId": "12345678abcd1234abcd12345678abcd"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down Expand Up @@ -90,7 +98,15 @@
"enabled": true,
"appInsightInstrumentationKey": "00000000-0000-0000-0000-000000000000"
},
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2951,6 +2951,21 @@
"appNetworkResourceGroup": {
"description": "Name of the resource group containing network resources of Azure Spring Cloud Apps",
"type": "string"
},
"outboundIPs": {
"description": "Desired outbound IP resources for Azure Spring Cloud instance.",
"type": "object",
"readOnly": true,
"properties": {
"publicIPs": {
"type": "array",
"readOnly": true,
"items": {
"type": "string"
},
"description": "A list of public IP addresses."
}
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
"body": {
"properties": {
"provisioningState": "Creating",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand All @@ -40,7 +48,15 @@
"body": {
"properties": {
"provisioningState": "Succeeded",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand All @@ -59,7 +75,15 @@
"body": {
"properties": {
"provisioningState": "Updating",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
"appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps",
"serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16",
"serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg",
"appNetworkResourceGroup": "my-app-network-rg"
"appNetworkResourceGroup": "my-app-network-rg",
"outboundIPs": {
"publicIPs": [
"40.64.67.13"
]
}
},
"serviceId": "12345678abcd1234abcd12345678abcd"
},
Expand All @@ -60,7 +65,12 @@
"appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps",
"serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16",
"serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg",
"appNetworkResourceGroup": "my-app-network-rg"
"appNetworkResourceGroup": "my-app-network-rg",
"outboundIPs": {
"publicIPs": [
"40.64.67.13"
]
}
},
"serviceId": "12345678abcd1234abcd12345678abcd"
},
Expand All @@ -86,7 +96,12 @@
"appSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/apps",
"serviceCidr": "10.8.0.0/16,10.244.0.0/16,10.245.0.1/16",
"serviceRuntimeNetworkResourceGroup": "my-service-runtime-network-rg",
"appNetworkResourceGroup": "my-app-network-rg"
"appNetworkResourceGroup": "my-app-network-rg",
"outboundIPs": {
"publicIPs": [
"40.64.67.13"
]
}
},
"serviceId": "12345678abcd1234abcd12345678abcd"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
"body": {
"properties": {
"provisioningState": "Succeeded",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@
{
"properties": {
"provisioningState": "Succeeded",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
{
"properties": {
"provisioningState": "Succeeded",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
"body": {
"properties": {
"provisioningState": "Updating",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand All @@ -40,7 +48,15 @@
"body": {
"properties": {
"provisioningState": "Succeeded",
"serviceId": "12345678abcd1234abcd12345678abcd"
"serviceId": "12345678abcd1234abcd12345678abcd",
"networkProfile": {
"outboundIPs": {
"publicIPs": [
"20.39.3.173",
"40.64.67.13"
]
}
}
},
"type": "Microsoft.AppPlatform/Spring",
"sku": {
Expand Down

0 comments on commit ec3a03b

Please sign in to comment.