vsphere/internal/vmworkflow/virtual_machine_customize_subresource.go
func ExpandCustomizationSpec(d *schema.ResourceData, family string) types.CustomizationSpec {
	obj := types.CustomizationSpec{
		Identity:         expandBaseCustomizationIdentitySettings(d, family),
		GlobalIPSettings: expandCustomizationGlobalIPSettings(d),
		NicSettingMap:    expandSliceOfCustomizationAdapterMapping(d),
	}
	return obj
}
func ExpandCustomizationSpec(d *schema.ResourceData, family string) types.CustomizationSpec {
	obj := types.CustomizationSpec{
		Identity:         expandBaseCustomizationIdentitySettings(d, family),
		GlobalIPSettings: expandCustomizationGlobalIPSettings(d),
		NicSettingMap:    expandSliceOfCustomizationAdapterMapping(d),
	}
	return obj
}
// ExpandCustomizationSpec reads certain ResourceData keys and
// returns a CustomizationSpec.