Este contenido no está disponible en el idioma seleccionado.
4.4. datacenter
		The 
datacenter resource type groups all data center resources in a Red Hat Virtualization environment.
	| Name | Type | Description | Required | User Creatable | User Updatable | 
|---|---|---|---|---|---|
 --name
					 |   
						string
					 
					  |   
						The name of the data center.
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --storage_type
					 |   
						string
					 
					  |   
						The type of storage for the data center, including  
					 iscsi, fcp, nfs, localfs or posixfs.
					 |   
						Yes
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --version-major
					 |   
						int
					 
					  |   
						The major version number of the data center. For example, for Red Hat Virtualization 4.0, the major version is 4.
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --version-minor
					 |   
						int
					 
					  |   
						The minor version number of the data center. For example, for Red Hat Virtualization 4.0, the minor version is 0.
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --description
					 |   
						string
					 
					  |   
						A description for the data center.
					 
					  |   
						No
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --storage_format
					 |   
						string
					 
					  |   
						The metadata format for the data center, including  
					 v1, v2 or v3.
					 |   
						No
					 
					  |   
						Yes
					 
					  |   
						Yes
					 
					  | 
 --expect
					 |   
						'201-created'
					 
					  |   
						Request becomes asynchronous until the expected HTTP header is returned. Useful for long-running tasks that would otherwise return as successful before the task is completed.
					 
					  |   
						No
					 
					  |   
						No
					 
					  |   
						No
					 
					  | 
 --correlation_id
					 |   
						string
					 
					  |   
						A tagging identifier of an action for cross-system logging. If the client does not define the identifier, one will be generated.
					 
					  |   
						No
					 
					  |   
						Yes
					 
					  |   
						No
					 
					  | 
Example 4.8. Creating a new data center
[RHEVM shell (connected)]# add datacenter --name Boston --storage-type nfs --version-major 3 --version-minor 2
[RHEVM shell (connected)]# add datacenter --name Boston --storage-type nfs --version-major 3 --version-minor 2
Example 4.9. Updating a data center
[RHEVM shell (connected)]# update datacenter Boston --name India
[RHEVM shell (connected)]# update datacenter Boston --name India
Example 4.10. Deleting a data center
[RHEVM shell (connected)]# remove datacenter Boston
[RHEVM shell (connected)]# remove datacenter Boston