sparse-intern-71089
01/26/2023, 8:52 PMwitty-candle-66007
01/26/2023, 10:10 PMRouteTable
property: https://www.pulumi.com/registry/packages/azure-native/api-docs/network/subnet/#routetable_csharp
I also believe that the RouteTable resource’s Routes
property Id subproperty can be set with the subnet ID to create this association.
https://www.pulumi.com/registry/packages/azure-native/api-docs/network/routetable/#routes_csharpboundless-monkey-2042
01/26/2023, 10:12 PMboundless-monkey-2042
01/26/2023, 10:13 PMboundless-monkey-2042
01/26/2023, 10:14 PMboundless-monkey-2042
01/26/2023, 10:14 PMvar subnetArgs = new SubnetArgs
{
Name = subnet.GetProperty("name").ToString(),
AddressPrefix = subnet.GetProperty("addressPrefix").ToString(),
RouteTable = new RouteTableArgs {
Id = "RouteTable.Id here"
}
};
boundless-monkey-2042
01/26/2023, 10:15 PMwitty-candle-66007
01/26/2023, 10:16 PMboundless-monkey-2042
01/26/2023, 10:16 PMwitty-candle-66007
01/26/2023, 10:17 PMboundless-monkey-2042
01/26/2023, 10:21 PMboundless-monkey-2042
01/26/2023, 10:21 PMwitty-candle-66007
01/26/2023, 10:22 PMboundless-monkey-2042
01/26/2023, 10:30 PMboundless-monkey-2042
01/26/2023, 10:30 PMboundless-monkey-2042
01/26/2023, 10:31 PMwitty-candle-66007
01/26/2023, 10:33 PMroutes
property (https://www.pulumi.com/registry/packages/azure-native/api-docs/network/routetable/#route) will associate it.boundless-monkey-2042
01/26/2023, 10:34 PMboundless-monkey-2042
01/26/2023, 10:36 PMwitty-candle-66007
01/26/2023, 10:50 PMboundless-monkey-2042
01/26/2023, 11:08 PMwitty-candle-66007
01/26/2023, 11:12 PMboundless-monkey-2042
01/26/2023, 11:20 PMwitty-candle-66007
01/26/2023, 11:21 PM