func expandDVSNameArrayUplinkPortPolicy(d *schema.ResourceData) *types.DVSNameArrayUplinkPortPolicy {
	obj := &types.DVSNameArrayUplinkPortPolicy{
		UplinkPortName: structure.SliceInterfacesToStrings(d.Get("uplinks").([]interface{})),
	}
	if structure.AllFieldsEmpty(obj) {
		return nil
	}
	return obj
}
func expandDVSNameArrayUplinkPortPolicy(d *schema.ResourceData) *types.DVSNameArrayUplinkPortPolicy {
	obj := &types.DVSNameArrayUplinkPortPolicy{
		UplinkPortName: structure.SliceInterfacesToStrings(d.Get("uplinks").([]interface{})),
	}
	if structure.AllFieldsEmpty(obj) {
		return nil
	}
	return obj
}
// expandDVSNameArrayUplinkPortPolicy reads certain ResourceData keys and
// returns a DVSNameArrayUplinkPortPolicy.