https://pulumi.com logo
#golang
Title
# golang
g

gentle-diamond-70147

09/28/2019, 5:37 PM
Copy code
virtualNetwork, err := network.NewVirtualNetwork(ctx, vnetName, &network.VirtualNetworkArgs{
    Name:              vnetName,
    Location:          location,
    ResourceGroupName: resourcegroupName,
    AddressSpaces:     VnetAddressSpaces,
}, pulumi.ResourceOpt{DependsOn: []pulumi.Resource{resourceGroup}})
4 Views