github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/ovh/r/publiccloud_private_network.html.markdown (about) 1 --- 2 layout: "ovh" 3 page_title: "OVH: publiccloud_private_network" 4 sidebar_current: "docs-ovh-resource-publiccloud-private-network" 5 description: |- 6 Creates a private network in a public cloud project. 7 --- 8 9 # ovh_publiccloud\_private_network 10 11 Creates a private network in a public cloud project. 12 13 ## Example Usage 14 15 ``` 16 resource "ovh_publiccloud_private_network" "net" { 17 project_id = "67890" 18 name = "admin_network" 19 regions = ["GRA1", "BHS1"] 20 } 21 ``` 22 23 ## Argument Reference 24 25 The following arguments are supported: 26 27 * `project_id` - (Required) The id of the public cloud project. If omitted, 28 the `OVH_PROJECT_ID` environment variable is used. 29 30 * `name` - (Required) The name of the network. 31 32 * `vlan_id` - a vlan id to associate with the network. 33 Changing this value recreates the resource. Defaults to 0. 34 35 * `regions` - an array of valid OVH public cloud region ID in which the network 36 will be available. Ex.: "GRA1". Defaults to all public cloud regions. 37 38 ## Attributes Reference 39 40 The following attributes are exported: 41 42 * `project_id` - See Argument Reference above. 43 * `name` - See Argument Reference above. 44 * `vland_id` - See Argument Reference above. 45 * `regions` - See Argument Reference above. 46 * `regions_status` - A map representing the status of the network per region. 47 * `regions_status/region` - The id of the region. 48 * `regions_status/status` - The status of the network in the region. 49 * `status` - the status of the network. should be normally set to 'ACTIVE'. 50 * `type` - the type of the network. Either 'private' or 'public'.