func expandHostNicOrderPolicy(d *schema.ResourceData) *types.HostNicOrderPolicy {
	obj := &types.HostNicOrderPolicy{}
	activeNics, activeOk := d.GetOkExists("active_nics")
	standbyNics, standbyOk := d.GetOkExists("standby_nics")
	if !activeOk && !standbyOk {
		return nil
	}
	obj.ActiveNic = structure.SliceInterfacesToStrings(activeNics.([]interface{}))
	obj.StandbyNic = structure.SliceInterfacesToStrings(standbyNics.([]interface{}))
	return obj
}
func expandHostNicOrderPolicy(d *schema.ResourceData) *types.HostNicOrderPolicy {
	obj := &types.HostNicOrderPolicy{}
	activeNics, activeOk := d.GetOkExists("active_nics")
	standbyNics, standbyOk := d.GetOkExists("standby_nics")
	if !activeOk && !standbyOk {
		return nil
	}
	obj.ActiveNic = structure.SliceInterfacesToStrings(activeNics.([]interface{}))
	obj.StandbyNic = structure.SliceInterfacesToStrings(standbyNics.([]interface{}))
	return obj
}
// expandHostNicOrderPolicy reads certain ResourceData keys and returns a
// HostNicOrderPolicy.