VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::ResourcePool Interface Reference

The ResourcePool interface provides methods for manipulating a vCenter Server resource pool. More...

Inherited by vmware::vcenter::ResourcePoolStub.

List of all members.

Public Member Functions

vmware.vcenter.ResourcePoolTypes.Info Get (string resourcePool)
 Retrieves information about the resource pool indicated by resourcePool .
vmware.vcenter.ResourcePoolTypes.Info Get (string resourcePool, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the resource pool indicated by resourcePool .
global::System.Threading.Tasks.Task
< vmware.vcenter.ResourcePoolTypes.Info
GetAsync (string resourcePool)
 Retrieves information about the resource pool indicated by resourcePool .
global::System.Threading.Tasks.Task
< vmware.vcenter.ResourcePoolTypes.Info
GetAsync (string resourcePool, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the resource pool indicated by resourcePool .
global::System.Collections.Generic.List
< vmware.vcenter.ResourcePoolTypes.Summary
List (vmware.vcenter.ResourcePoolTypes.FilterSpec filter)
 Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .
global::System.Collections.Generic.List
< vmware.vcenter.ResourcePoolTypes.Summary
List (vmware.vcenter.ResourcePoolTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.ResourcePoolTypes.Summary > > 
ListAsync (vmware.vcenter.ResourcePoolTypes.FilterSpec filter)
 Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.ResourcePoolTypes.Summary > > 
ListAsync (vmware.vcenter.ResourcePoolTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .
string Create (vmware.vcenter.ResourcePoolTypes.CreateSpec spec)
 Creates a resource pool.
string Create (vmware.vcenter.ResourcePoolTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a resource pool.
global::System.Threading.Tasks.Task
< string > 
CreateAsync (vmware.vcenter.ResourcePoolTypes.CreateSpec spec)
 Creates a resource pool.
global::System.Threading.Tasks.Task
< string > 
CreateAsync (vmware.vcenter.ResourcePoolTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a resource pool.
void Delete (string resourcePool)
 Deletes a resource pool.
void Delete (string resourcePool, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Deletes a resource pool.
global::System.Threading.Tasks.Task DeleteAsync (string resourcePool)
 Deletes a resource pool.
global::System.Threading.Tasks.Task DeleteAsync (string resourcePool, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Deletes a resource pool.
void Update (string resourcePool, vmware.vcenter.ResourcePoolTypes.UpdateSpec spec)
 Updates the configuration of a resource pool.
void Update (string resourcePool, vmware.vcenter.ResourcePoolTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the configuration of a resource pool.
global::System.Threading.Tasks.Task UpdateAsync (string resourcePool, vmware.vcenter.ResourcePoolTypes.UpdateSpec spec)
 Updates the configuration of a resource pool.
global::System.Threading.Tasks.Task UpdateAsync (string resourcePool, vmware.vcenter.ResourcePoolTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Updates the configuration of a resource pool.

Detailed Description

The ResourcePool interface provides methods for manipulating a vCenter Server resource pool.

This interface does not include virtual appliances in the inventory of resource pools even though part of the behavior of a virtual appliance is to act like a resource pool.


Member Function Documentation

string vmware::vcenter::ResourcePool::Create ( vmware.vcenter.ResourcePoolTypes.CreateSpec  spec)

Creates a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf a parameter passed in the spec is invalid.
vmware.vapi.std.errors.NotFoundIf the resource specified in parent could not be found
vmware.vapi.std.errors.ResourceInaccessibleIf the specified resource in parent is not accessible.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceif any of the resources needed to create the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the attribute ResourcePool.CreateSpec.parent requires Resource.CreatePool .
Parameters:
specSpecification of the new resource pool to be created, see ResourcePool.CreateSpec .
Returns:
The identifier of the newly created resource pool. The result will be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

string vmware::vcenter::ResourcePool::Create ( vmware.vcenter.ResourcePoolTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Creates a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf a parameter passed in the spec is invalid.
vmware.vapi.std.errors.NotFoundIf the resource specified in parent could not be found
vmware.vapi.std.errors.ResourceInaccessibleIf the specified resource in parent is not accessible.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceif any of the resources needed to create the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the attribute ResourcePool.CreateSpec.parent requires Resource.CreatePool .
Parameters:
specSpecification of the new resource pool to be created, see ResourcePool.CreateSpec .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The identifier of the newly created resource pool. The result will be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<string> vmware::vcenter::ResourcePool::CreateAsync ( vmware.vcenter.ResourcePoolTypes.CreateSpec  spec)

Creates a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf a parameter passed in the spec is invalid.
vmware.vapi.std.errors.NotFoundIf the resource specified in parent could not be found
vmware.vapi.std.errors.ResourceInaccessibleIf the specified resource in parent is not accessible.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceif any of the resources needed to create the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the attribute ResourcePool.CreateSpec.parent requires Resource.CreatePool .
Parameters:
specSpecification of the new resource pool to be created, see ResourcePool.CreateSpec .
Returns:
The identifier of the newly created resource pool. The result will be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<string> vmware::vcenter::ResourcePool::CreateAsync ( vmware.vcenter.ResourcePoolTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Creates a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf a parameter passed in the spec is invalid.
vmware.vapi.std.errors.NotFoundIf the resource specified in parent could not be found
vmware.vapi.std.errors.ResourceInaccessibleIf the specified resource in parent is not accessible.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceif any of the resources needed to create the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the attribute ResourcePool.CreateSpec.parent requires Resource.CreatePool .
Parameters:
specSpecification of the new resource pool to be created, see ResourcePool.CreateSpec .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The identifier of the newly created resource pool. The result will be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

void vmware::vcenter::ResourcePool::Delete ( string  resourcePool)

Deletes a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.UnsupportedIf the resource pool is a root resource pool.
Parameters:
resourcePoolIdentifier of the resource pool to be deleted. The parameter must be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

void vmware::vcenter::ResourcePool::Delete ( string  resourcePool,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Deletes a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.UnsupportedIf the resource pool is a root resource pool.
Parameters:
resourcePoolIdentifier of the resource pool to be deleted. The parameter must be an identifier for the resource type: ResourcePool .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task vmware::vcenter::ResourcePool::DeleteAsync ( string  resourcePool,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Deletes a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.UnsupportedIf the resource pool is a root resource pool.
Parameters:
resourcePoolIdentifier of the resource pool to be deleted. The parameter must be an identifier for the resource type: ResourcePool .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task vmware::vcenter::ResourcePool::DeleteAsync ( string  resourcePool)

Deletes a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.UnsupportedIf the resource pool is a root resource pool.
Parameters:
resourcePoolIdentifier of the resource pool to be deleted. The parameter must be an identifier for the resource type: ResourcePool .

Implemented in vmware::vcenter::ResourcePoolStub.

vmware.vcenter.ResourcePoolTypes.Info vmware::vcenter::ResourcePool::Get ( string  resourcePool,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Retrieves information about the resource pool indicated by resourcePool .

Exceptions:
vmware.vapi.std.errors.NotFoundIf the resource pool indicated by resourcePool does not exist.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires System.Read .
Parameters:
resourcePoolIdentifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: ResourcePool .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.

vmware.vcenter.ResourcePoolTypes.Info vmware::vcenter::ResourcePool::Get ( string  resourcePool)

Retrieves information about the resource pool indicated by resourcePool .

Exceptions:
vmware.vapi.std.errors.NotFoundIf the resource pool indicated by resourcePool does not exist.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires System.Read .
Parameters:
resourcePoolIdentifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: ResourcePool .
Returns:
Information about the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<vmware.vcenter.ResourcePoolTypes.Info> vmware::vcenter::ResourcePool::GetAsync ( string  resourcePool,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Retrieves information about the resource pool indicated by resourcePool .

Exceptions:
vmware.vapi.std.errors.NotFoundIf the resource pool indicated by resourcePool does not exist.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires System.Read .
Parameters:
resourcePoolIdentifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: ResourcePool .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<vmware.vcenter.ResourcePoolTypes.Info> vmware::vcenter::ResourcePool::GetAsync ( string  resourcePool)

Retrieves information about the resource pool indicated by resourcePool .

Exceptions:
vmware.vapi.std.errors.NotFoundIf the resource pool indicated by resourcePool does not exist.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires System.Read .
Parameters:
resourcePoolIdentifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: ResourcePool .
Returns:
Information about the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Collections.Generic.List<vmware.vcenter.ResourcePoolTypes.Summary> vmware::vcenter::ResourcePool::List ( vmware.vcenter.ResourcePoolTypes.FilterSpec  filter)

Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .

Exceptions:
vmware.vapi.std.errors.UnableToAllocateResourceIf more than 1000 resource pools match the ResourcePool.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
Parameters:
filterSpecification of matching resource pools for which information should be returned. If null, the behavior is equivalent to a ResourcePool.FilterSpec with all fields null which means all resource pools match the filter.
Returns:
Commonly used information about the resource pools matching the ResourcePool.FilterSpec .

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Collections.Generic.List<vmware.vcenter.ResourcePoolTypes.Summary> vmware::vcenter::ResourcePool::List ( vmware.vcenter.ResourcePoolTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .

Exceptions:
vmware.vapi.std.errors.UnableToAllocateResourceIf more than 1000 resource pools match the ResourcePool.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
Parameters:
filterSpecification of matching resource pools for which information should be returned. If null, the behavior is equivalent to a ResourcePool.FilterSpec with all fields null which means all resource pools match the filter.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the resource pools matching the ResourcePool.FilterSpec .

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.ResourcePoolTypes.Summary> > vmware::vcenter::ResourcePool::ListAsync ( vmware.vcenter.ResourcePoolTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .

Exceptions:
vmware.vapi.std.errors.UnableToAllocateResourceIf more than 1000 resource pools match the ResourcePool.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
Parameters:
filterSpecification of matching resource pools for which information should be returned. If null, the behavior is equivalent to a ResourcePool.FilterSpec with all fields null which means all resource pools match the filter.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Commonly used information about the resource pools matching the ResourcePool.FilterSpec .

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.ResourcePoolTypes.Summary> > vmware::vcenter::ResourcePool::ListAsync ( vmware.vcenter.ResourcePoolTypes.FilterSpec  filter)

Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec .

Exceptions:
vmware.vapi.std.errors.UnableToAllocateResourceIf more than 1000 resource pools match the ResourcePool.FilterSpec .
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
Parameters:
filterSpecification of matching resource pools for which information should be returned. If null, the behavior is equivalent to a ResourcePool.FilterSpec with all fields null which means all resource pools match the filter.
Returns:
Commonly used information about the resource pools matching the ResourcePool.FilterSpec .

Implemented in vmware::vcenter::ResourcePoolStub.

void vmware::vcenter::ResourcePool::Update ( string  resourcePool,
vmware.vcenter.ResourcePoolTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Updates the configuration of a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf any of the specified parameters is invalid.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceIf any of the resources needed to reconfigure the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires Resource.EditPool .
Parameters:
resourcePoolIdentifier of the resource pool. The parameter must be an identifier for the resource type: ResourcePool .
specSpecification for updating the configuration of the resource pool.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::ResourcePoolStub.

void vmware::vcenter::ResourcePool::Update ( string  resourcePool,
vmware.vcenter.ResourcePoolTypes.UpdateSpec  spec 
)

Updates the configuration of a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf any of the specified parameters is invalid.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceIf any of the resources needed to reconfigure the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires Resource.EditPool .
Parameters:
resourcePoolIdentifier of the resource pool. The parameter must be an identifier for the resource type: ResourcePool .
specSpecification for updating the configuration of the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task vmware::vcenter::ResourcePool::UpdateAsync ( string  resourcePool,
vmware.vcenter.ResourcePoolTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Updates the configuration of a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf any of the specified parameters is invalid.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceIf any of the resources needed to reconfigure the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires Resource.EditPool .
Parameters:
resourcePoolIdentifier of the resource pool. The parameter must be an identifier for the resource type: ResourcePool .
specSpecification for updating the configuration of the resource pool.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::ResourcePoolStub.

global::System.Threading.Tasks.Task vmware::vcenter::ResourcePool::UpdateAsync ( string  resourcePool,
vmware.vcenter.ResourcePoolTypes.UpdateSpec  spec 
)

Updates the configuration of a resource pool.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.ErrorIf the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentIf any of the specified parameters is invalid.
vmware.vapi.std.errors.NotFoundIf the resource pool is not found.
vmware.vapi.std.errors.ServiceUnavailableIf the system is unable to communicate with a service to complete the request.
vmware.vapi.std.errors.UnableToAllocateResourceIf any of the resources needed to reconfigure the resource pool could not be allocated.
vmware.vapi.std.errors.UnauthenticatedIf the user can not be authenticated.
vmware.vapi.std.errors.UnauthorizedIf the user doesn't have the required privileges.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • The resource ResourcePool referenced by the parameter resourcePool requires Resource.EditPool .
Parameters:
resourcePoolIdentifier of the resource pool. The parameter must be an identifier for the resource type: ResourcePool .
specSpecification for updating the configuration of the resource pool.

Implemented in vmware::vcenter::ResourcePoolStub.


The documentation for this interface was generated from the following file: