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

The Instances interface provides methods to create and delete a namespace object. More...

Inherited by vmware::vcenter::namespaces::InstancesStub.

List of all members.

Public Member Functions

void Create (vmware.vcenter.namespaces.InstancesTypes.CreateSpec spec)
 Create namespace object in the cluster.
void Create (vmware.vcenter.namespaces.InstancesTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Create namespace object in the cluster.
global::System.Threading.Tasks.Task CreateAsync (vmware.vcenter.namespaces.InstancesTypes.CreateSpec spec)
 Create namespace object in the cluster.
global::System.Threading.Tasks.Task CreateAsync (vmware.vcenter.namespaces.InstancesTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Create namespace object in the cluster.
void Delete (string namespace_)
 Delete the namespace object in the cluster.
void Delete (string namespace_, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Delete the namespace object in the cluster.
global::System.Threading.Tasks.Task DeleteAsync (string namespace_)
 Delete the namespace object in the cluster.
global::System.Threading.Tasks.Task DeleteAsync (string namespace_, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Delete the namespace object in the cluster.
vmware.vcenter.namespaces.InstancesTypes.Info Get (string namespace_)
 Returns information about a specific namespace.
vmware.vcenter.namespaces.InstancesTypes.Info Get (string namespace_, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about a specific namespace.
global::System.Threading.Tasks.Task
< vmware.vcenter.namespaces.InstancesTypes.Info
GetAsync (string namespace_)
 Returns information about a specific namespace.
global::System.Threading.Tasks.Task
< vmware.vcenter.namespaces.InstancesTypes.Info
GetAsync (string namespace_, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about a specific namespace.
global::System.Collections.Generic.List
< vmware.vcenter.namespaces.InstancesTypes.Summary
List ()
 Returns the information about all namespaces on this vCenter.
global::System.Collections.Generic.List
< vmware.vcenter.namespaces.InstancesTypes.Summary
List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the information about all namespaces on this vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.namespaces.InstancesTypes.Summary > > 
ListAsync ()
 Returns the information about all namespaces on this vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.namespaces.InstancesTypes.Summary > > 
ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the information about all namespaces on this vCenter.
void Set (string namespace_, vmware.vcenter.namespaces.InstancesTypes.SetSpec spec)
 Set a new configuration on the namespace object.
void Set (string namespace_, vmware.vcenter.namespaces.InstancesTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set a new configuration on the namespace object.
global::System.Threading.Tasks.Task SetAsync (string namespace_, vmware.vcenter.namespaces.InstancesTypes.SetSpec spec)
 Set a new configuration on the namespace object.
global::System.Threading.Tasks.Task SetAsync (string namespace_, vmware.vcenter.namespaces.InstancesTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set a new configuration on the namespace object.
void Update (string namespace_, vmware.vcenter.namespaces.InstancesTypes.UpdateSpec spec)
 Update the namespace object.
void Update (string namespace_, vmware.vcenter.namespaces.InstancesTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Update the namespace object.
global::System.Threading.Tasks.Task UpdateAsync (string namespace_, vmware.vcenter.namespaces.InstancesTypes.UpdateSpec spec)
 Update the namespace object.
global::System.Threading.Tasks.Task UpdateAsync (string namespace_, vmware.vcenter.namespaces.InstancesTypes.UpdateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Update the namespace object.

Detailed Description

The Instances interface provides methods to create and delete a namespace object.

In this version, an Instance is an abstraction around a Kubernetes namespace.


Member Function Documentation

void vmware::vcenter::namespaces::Instances::Create ( vmware.vcenter.namespaces.InstancesTypes.CreateSpec  spec)

Create namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a namespace with the same name exists in vCenter server.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors or if an invalid name is specified.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the associated cluster is deing disabled.
vmware.vapi.std.errors.NotFoundif Instances.CreateSpec.cluster is not registered on this vCenter server.
vmware.vapi.std.errors.Unsupportedif Instances.CreateSpec.cluster is not enabled for Namespaces.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
specSpecification for setting up the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Create ( vmware.vcenter.namespaces.InstancesTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Create namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a namespace with the same name exists in vCenter server.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors or if an invalid name is specified.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the associated cluster is deing disabled.
vmware.vapi.std.errors.NotFoundif Instances.CreateSpec.cluster is not registered on this vCenter server.
vmware.vapi.std.errors.Unsupportedif Instances.CreateSpec.cluster is not enabled for Namespaces.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
specSpecification for setting up the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

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

Create namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a namespace with the same name exists in vCenter server.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors or if an invalid name is specified.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the associated cluster is deing disabled.
vmware.vapi.std.errors.NotFoundif Instances.CreateSpec.cluster is not registered on this vCenter server.
vmware.vapi.std.errors.Unsupportedif Instances.CreateSpec.cluster is not enabled for Namespaces.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
specSpecification for setting up the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::CreateAsync ( vmware.vcenter.namespaces.InstancesTypes.CreateSpec  spec)

Create namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif a namespace with the same name exists in vCenter server.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors or if an invalid name is specified.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the associated cluster is deing disabled.
vmware.vapi.std.errors.NotFoundif Instances.CreateSpec.cluster is not registered on this vCenter server.
vmware.vapi.std.errors.Unsupportedif Instances.CreateSpec.cluster is not enabled for Namespaces.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
specSpecification for setting up the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Delete ( string  namespace_)

Delete the namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the specified namespace could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .

Implemented in vmware::vcenter::namespaces::InstancesStub.

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

Delete the namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the specified namespace could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

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

Delete the namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the specified namespace could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::DeleteAsync ( string  namespace_)

Delete the namespace object in the cluster.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif the specified namespace could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .

Implemented in vmware::vcenter::namespaces::InstancesStub.

vmware.vcenter.namespaces.InstancesTypes.Info vmware::vcenter::namespaces::Instances::Get ( string  namespace_)

Returns information about a specific namespace.

Exceptions:
vmware.vapi.std.errors.NotFoundif namespace could not be located.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
Returns:
Information about the desired state of the specified namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

vmware.vcenter.namespaces.InstancesTypes.Info vmware::vcenter::namespaces::Instances::Get ( string  namespace_,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about a specific namespace.

Exceptions:
vmware.vapi.std.errors.NotFoundif namespace could not be located.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the desired state of the specified namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.InstancesTypes.Info> vmware::vcenter::namespaces::Instances::GetAsync ( string  namespace_)

Returns information about a specific namespace.

Exceptions:
vmware.vapi.std.errors.NotFoundif namespace could not be located.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
Returns:
Information about the desired state of the specified namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.InstancesTypes.Info> vmware::vcenter::namespaces::Instances::GetAsync ( string  namespace_,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns information about a specific namespace.

Exceptions:
vmware.vapi.std.errors.NotFoundif namespace could not be located.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the desired state of the specified namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Collections.Generic.List<vmware.vcenter.namespaces.InstancesTypes.Summary> vmware::vcenter::namespaces::Instances::List ( )

Returns the information about all namespaces on this vCenter.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of summary of all namespaces.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Collections.Generic.List<vmware.vcenter.namespaces.InstancesTypes.Summary> vmware::vcenter::namespaces::Instances::List ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Returns the information about all namespaces on this vCenter.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of summary of all namespaces.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.namespaces.InstancesTypes.Summary> > vmware::vcenter::namespaces::Instances::ListAsync ( )

Returns the information about all namespaces on this vCenter.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of summary of all namespaces.

Implemented in vmware::vcenter::namespaces::InstancesStub.

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

Returns the information about all namespaces on this vCenter.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have System.Read privilege.
Returns:
The list of summary of all namespaces.

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Set ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.SetSpec  spec 
)

Set a new configuration on the namespace object.

The specified configuration is applied in entirety and will replace the current configuration fully.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specNew specification for the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Set ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.SetSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Set a new configuration on the namespace object.

The specified configuration is applied in entirety and will replace the current configuration fully.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specNew specification for the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::SetAsync ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.SetSpec  spec 
)

Set a new configuration on the namespace object.

The specified configuration is applied in entirety and will replace the current configuration fully.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specNew specification for the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::SetAsync ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.SetSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Set a new configuration on the namespace object.

The specified configuration is applied in entirety and will replace the current configuration fully.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specNew specification for the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Update ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.UpdateSpec  spec 
)

Update the namespace object.

The specified configuration is applied partially and null fields in spec will leave those parts of configuration as-is.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specSpecification for updating the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.

void vmware::vcenter::namespaces::Instances::Update ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Update the namespace object.

The specified configuration is applied partially and null fields in spec will leave those parts of configuration as-is.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specSpecification for updating the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::UpdateAsync ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.UpdateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Update the namespace object.

The specified configuration is applied partially and null fields in spec will leave those parts of configuration as-is.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specSpecification for updating the namespace.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::vcenter::namespaces::InstancesStub.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Instances::UpdateAsync ( string  namespace_,
vmware.vcenter.namespaces.InstancesTypes.UpdateSpec  spec 
)

Update the namespace object.

The specified configuration is applied partially and null fields in spec will leave those parts of configuration as-is.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif spec contain any errors.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace with the name namespace_ could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix.
Parameters:
namespace_Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance .
specSpecification for updating the namespace.

Implemented in vmware::vcenter::namespaces::InstancesStub.


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