code: func expandClusterVMToolsMonitoringSettings(d *schema.ResourceData) *types.ClusterVmToolsMonitoringSettings {
  	obj := &types.ClusterVmToolsMonitoringSettings{
  		FailureInterval:  int32(d.Get("ha_vm_failure_interval").(int)),
  		MaxFailures:      int32(d.Get("ha_vm_maximum_resets").(int)),
  		MaxFailureWindow: int32(d.Get("ha_vm_maximum_failure_window").(int)),
  		MinUpTime:        int32(d.Get("ha_vm_minimum_uptime").(int)),
  		VmMonitoring:     d.Get("ha_vm_monitoring").(string),
  	}
  
  	return obj
  }
docs: // expandClusterVMToolsMonitoringSettings reads certain ResourceData keys and returns a
  // ClusterVmToolsMonitoringSettings.