Data Sources

zsphere_distributed_switches

Query distributed switches (L2VirtualSwitch) in ZSvirt.

zsphere_distributed_switches (Data Source)

Query distributed switches (L2VirtualSwitch) in ZSvirt.

Schema

Optional

  • filter (Attributes List) (see below for nested schema)
  • name (String) Name of the distributed switch.
  • name_pattern (String) Pattern to match distributed switch names.

Read-Only

Nested Schema for filter

Required:

  • name (String)
  • values (List of String)

Optional:

  • regex (Boolean)

Nested Schema for distributed_switches

Read-Only:

  • attached_cluster_uuids (List of String) List of cluster UUIDs attached to this distributed switch.
  • datacenter_uuid (String) The UUID of the datacenter (zone) to which the distributed switch belongs.
  • description (String) Description of the distributed switch.
  • name (String) Name of the distributed switch.
  • physical_interface (String) The physical interface used by the distributed switch.
  • type (String) The type of the L2 network.
  • uuid (String) The UUID of the distributed switch.
  • vswitch_type (String) The type of virtual switch.

On this page