» openstack_sharedfilesystem_sharenetwork_v2

Use this data source to get the ID of an available Shared File System share network.

» Example Usage

data "openstack_sharedfilesystem_sharenetwork_v2" "sharenetwork_1" {
  name = "sharenetwork_1"

» Argument Reference

  • region - (Optional) The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.

  • name - (Optional) The name of the share network.

  • description - (Optional) The human-readable description of the share network.

  • project_id - (Optional) The owner of the share network.

  • neutron_net_id - (Optional) The neutron network UUID of the share network.

  • neutron_subnet_id - (Optional) The neutron subnet UUID of the share network.

  • security_service_id - (Optional) The security service IDs associated with the share network.

  • network_type - (Optional) The share network type. Can either be VLAN, VXLAN, GRE, or flat.

  • segmentation_id - (Optional) The share network segmentation ID.

  • cidr - (Optional) The share network CIDR.

  • ip_version - (Optional) The IP version of the share network. Can either be 4 or 6.

» Attributes Reference

id is set to the ID of the found share network . In addition, the following attributes are exported: