You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"vsphere_distributed_virtual_switch" {
source="./modules/vsphere/d/vsphere_distributed_virtual_switch"# datacenter_id - (optional) is a type of stringdatacenter_id=null# name - (required) is a type of stringname=null
}
variable"datacenter_id" {
description="(optional) - The managed object ID of the datacenter the DVS is in. This is required if the supplied path is not an absolute path containing a datacenter and there are multiple datacenters in your infrastructure."type=stringdefault=null
}
variable"name" {
description="(required) - The name of the distributed virtual switch. This can be a name or path."type=string
}
data"vsphere_distributed_virtual_switch""this" {
# datacenter_id - (optional) is a type of stringdatacenter_id=var.datacenter_id# name - (required) is a type of stringname=var.name
}
output"id" {
description="returns a string"value=data.vsphere_distributed_virtual_switch.this.id
}
output"uplinks" {
description="returns a list of string"value=data.vsphere_distributed_virtual_switch.this.uplinks
}
output"this" {
value=vsphere_distributed_virtual_switch.this
}