vsphere/host_virtual_switch_structure.go
func flattenLinkDiscoveryProtocolConfig(d *schema.ResourceData, obj *types.LinkDiscoveryProtocolConfig) error {
	d.Set("link_discovery_operation", obj.Operation)
	d.Set("link_discovery_protocol", obj.Protocol)
	return nil
}
func flattenLinkDiscoveryProtocolConfig(d *schema.ResourceData, obj *types.LinkDiscoveryProtocolConfig) error {
	d.Set("link_discovery_operation", obj.Operation)
	d.Set("link_discovery_protocol", obj.Protocol)
	return nil
}
func flattenLinkDiscoveryProtocolConfig ( d * schema . ResourceData , obj * types . LinkDiscoveryProtocolConfig ) error { d . Set ( " " , obj . Operation ) d . Set ( " " , obj . Protocol ) return nil }
// flattenLinkDiscoveryProtocolConfig reads various fields from a
// LinkDiscoveryProtocolConfig into the passed in ResourceData.
flattenLinkDiscoveryProtocolConfig reads various fields from a LinkDiscoveryProtocolConfig into the passed in ResourceData .