-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add network profile in Spring payload. (#10313)
* Add network profile in Spring payload. * Fix prettier check. * Fix prettier.
- Loading branch information
Showing
7 changed files
with
132 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
81 changes: 81 additions & 0 deletions
81
...ppPlatform/preview/2019-05-01-preview/examples/Services_CreateOrUpdate_VNetInjection.json
This file contains 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,81 @@ | ||
{ | ||
"parameters": { | ||
"resource": { | ||
"properties": { | ||
"networkProfile": { | ||
"serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", | ||
"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" | ||
} | ||
}, | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"location": "eastus", | ||
"tags": { | ||
"key1": "value1" | ||
} | ||
}, | ||
"api-version": "2019-05-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice" | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"networkProfile": { | ||
"serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", | ||
"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" | ||
}, | ||
"serviceId": "12345678abcd1234abcd12345678abcd" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring", | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"location": "eastus", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", | ||
"name": "myservice" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"networkProfile": { | ||
"serviceRuntimeSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/serviceRuntime", | ||
"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" | ||
}, | ||
"serviceId": "12345678abcd1234abcd12345678abcd" | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring", | ||
"sku": { | ||
"name": "S0", | ||
"tier": "Standard" | ||
}, | ||
"location": "eastus", | ||
"tags": { | ||
"key1": "value1" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice", | ||
"name": "myservice" | ||
} | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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