This message was deleted.
# getting-started
s
This message was deleted.
b
You need to give the delegation a name, so something like:
Copy code
const appSubnet = new azure_native.network.Subnet("appSubnet", {
    addressPrefix: "10.1.2.0/24",
    resourceGroupName: resourceGroup.name,
    subnetName: "appSubnet",
    virtualNetworkName: myVirtualNetwork.name,
    delegations: [{
        serviceName : "Microsoft.ContainerInstance/containerGroups",
        name: "name-of-delegation"
    }]
});
Also, I think the service needs to be the full "type". So if you're using
containerGroups
it would look like my example above, with
Microsoft.ContainerInstance/containerGroups
m
Thank you very much. It works!