func expandStorageDrsAutomationConfig(d *schema.ResourceData) *types.StorageDrsAutomationConfig {
	obj := &types.StorageDrsAutomationConfig{
		IoLoadBalanceAutomationMode:     d.Get("sdrs_io_balance_automation_level").(string),
		PolicyEnforcementAutomationMode: d.Get("sdrs_policy_enforcement_automation_level").(string),
		RuleEnforcementAutomationMode:   d.Get("sdrs_rule_enforcement_automation_level").(string),
		SpaceLoadBalanceAutomationMode:  d.Get("sdrs_space_balance_automation_level").(string),
		VmEvacuationAutomationMode:      d.Get("sdrs_vm_evacuation_automation_level").(string),
	}
	return obj
}
func expandStorageDrsAutomationConfig(d *schema.ResourceData) *types.StorageDrsAutomationConfig {
	obj := &types.StorageDrsAutomationConfig{
		IoLoadBalanceAutomationMode:     d.Get("sdrs_io_balance_automation_level").(string),
		PolicyEnforcementAutomationMode: d.Get("sdrs_policy_enforcement_automation_level").(string),
		RuleEnforcementAutomationMode:   d.Get("sdrs_rule_enforcement_automation_level").(string),
		SpaceLoadBalanceAutomationMode:  d.Get("sdrs_space_balance_automation_level").(string),
		VmEvacuationAutomationMode:      d.Get("sdrs_vm_evacuation_automation_level").(string),
	}
	return obj
}
func expandStorageDrsAutomationConfig ( d * schema . ResourceData ) * types . StorageDrsAutomationConfig { obj := & types . StorageDrsAutomationConfig { IoLoadBalanceAutomationMode : d . Get ( " " ) . ( string ) , PolicyEnforcementAutomationMode : d . Get ( " " ) . ( string ) , RuleEnforcementAutomationMode : d . Get ( " " ) . ( string ) , SpaceLoadBalanceAutomationMode : d . Get ( " " ) . ( string ) , VmEvacuationAutomationMode : d . Get ( " " ) . ( string ) , } return obj }
// expandStorageDrsAutomationConfig reads certain ResourceData keys and returns
// a StorageDrsAutomationConfig.
expandStorageDrsAutomationConfig reads certain ResourceData keys and returns a StorageDrsAutomationConfig .