code: func flattenClusterVMToolsMonitoringSettings(d *schema.ResourceData, obj *types.ClusterVmToolsMonitoringSettings) error {
  	return structure.SetBatch(d, map[string]interface{}{
  		"ha_vm_failure_interval":       obj.FailureInterval,
  		"ha_vm_maximum_resets":         obj.MaxFailures,
  		"ha_vm_maximum_failure_window": obj.MaxFailureWindow,
  		"ha_vm_minimum_uptime":         obj.MinUpTime,
  		"ha_vm_monitoring":             obj.VmMonitoring,
  	})
  }
docs: // flattenClusterVmToolsMonitoringSettings saves a
  // ClusterVmToolsMonitoringSettings into the supplied ResourceData.