VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Instances
interface provides methods to create and delete a namespace object.
More...
Inherited by vmware::vcenter::namespaces::InstancesStub.
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. |
The Instances
interface provides methods to create and delete a namespace object.
In this version, an Instance is an abstraction around a Kubernetes namespace.
void vmware::vcenter::namespaces::Instances::Create | ( | vmware.vcenter.namespaces.InstancesTypes.CreateSpec | spec | ) |
Create namespace object in the cluster.
vmware.vapi.std.errors.AlreadyExists | if a namespace with the same name exists in vCenter server. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors or if an invalid name is specified. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the associated cluster is deing disabled. |
vmware.vapi.std.errors.NotFound | if Instances.CreateSpec.cluster is not registered on this vCenter server. |
vmware.vapi.std.errors.Unsupported | if Instances.CreateSpec.cluster is not enabled for Namespaces. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
spec | Specification 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.
vmware.vapi.std.errors.AlreadyExists | if a namespace with the same name exists in vCenter server. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors or if an invalid name is specified. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the associated cluster is deing disabled. |
vmware.vapi.std.errors.NotFound | if Instances.CreateSpec.cluster is not registered on this vCenter server. |
vmware.vapi.std.errors.Unsupported | if Instances.CreateSpec.cluster is not enabled for Namespaces. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
spec | Specification for setting up the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.AlreadyExists | if a namespace with the same name exists in vCenter server. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors or if an invalid name is specified. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the associated cluster is deing disabled. |
vmware.vapi.std.errors.NotFound | if Instances.CreateSpec.cluster is not registered on this vCenter server. |
vmware.vapi.std.errors.Unsupported | if Instances.CreateSpec.cluster is not enabled for Namespaces. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
spec | Specification for setting up the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.AlreadyExists | if a namespace with the same name exists in vCenter server. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors or if an invalid name is specified. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the associated cluster is deing disabled. |
vmware.vapi.std.errors.NotFound | if Instances.CreateSpec.cluster is not registered on this vCenter server. |
vmware.vapi.std.errors.Unsupported | if Instances.CreateSpec.cluster is not enabled for Namespaces. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
spec | Specification 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the specified namespace could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the specified namespace could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the specified namespace could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if the specified namespace could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
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.
vmware.vapi.std.errors.NotFound | if namespace could not be located. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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_, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Returns information about a specific namespace.
vmware.vapi.std.errors.NotFound | if namespace could not be located. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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.
vmware.vapi.std.errors.NotFound | if namespace could not be located. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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.
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.
vmware.vapi.std.errors.NotFound | if namespace could not be located. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have System.Read privilege. |
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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | New 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | New specification for the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | New 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | New specification for the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | Specification 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | Specification for updating the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | Specification for updating the namespace. |
_progress | Progress notification call back |
_invocationConfig | Configuration 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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.InvalidArgument | if spec contain any errors. |
vmware.vapi.std.errors.NotAllowedInCurrentState | if the namespace is marked for deletion or the associated cluster is being disabled. |
vmware.vapi.std.errors.NotFound | if namespace with the name namespace_ could not be located. |
vmware.vapi.std.errors.Unauthenticated | if the user can not be authenticated. |
vmware.vapi.std.errors.Unauthorized | if the user does not have Namespaces.Configure privilege or the namespace identifier begins with "vmware-system" prefix. |
namespace_ | Identifier for the namespace. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance . |
spec | Specification for updating the namespace. |
Implemented in vmware::vcenter::namespaces::InstancesStub.