vsphere/internal/vmworkflow/virtual_machine_customize_subresource.go
func expandCustomizationGlobalIPSettings(d *schema.ResourceData) types.CustomizationGlobalIPSettings {
	obj := types.CustomizationGlobalIPSettings{
		DnsSuffixList: structure.SliceInterfacesToStrings(d.Get(cKeyPrefix + "." + "dns_suffix_list").([]interface{})),
		DnsServerList: structure.SliceInterfacesToStrings(d.Get(cKeyPrefix + "." + "dns_server_list").([]interface{})),
	}
	return obj
}
func expandCustomizationGlobalIPSettings(d *schema.ResourceData) types.CustomizationGlobalIPSettings {
	obj := types.CustomizationGlobalIPSettings{
		DnsSuffixList: structure.SliceInterfacesToStrings(d.Get(cKeyPrefix + "." + "dns_suffix_list").([]interface{})),
		DnsServerList: structure.SliceInterfacesToStrings(d.Get(cKeyPrefix + "." + "dns_server_list").([]interface{})),
	}
	return obj
}
func expandCustomizationGlobalIPSettings ( d * schema . ResourceData ) types . CustomizationGlobalIPSettings { obj := types . CustomizationGlobalIPSettings { DnsSuffixList : structure . SliceInterfacesToStrings ( d . Get ( cKeyPrefix + " " + " " ) . ( [ ] interface { } ) ) , DnsServerList : structure . SliceInterfacesToStrings ( d . Get ( cKeyPrefix + " " + " " ) . ( [ ] interface { } ) ) , } return obj }
// expandCustomizationGlobalIPSettings reads certain ResourceData keys and
// returns a CustomizationGlobalIPSettings.
expandCustomizationGlobalIPSettings reads certain ResourceData keys and returns a CustomizationGlobalIPSettings .