VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::namespaces::AccessStub Class Reference

Remote stub implementation of the Access API service. More...

Inherits vmware::vcenter::namespaces::Access.

List of all members.

Public Member Functions

 AccessStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 AccessStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Create (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.CreateSpec spec)
 Set up access control for the subject on given domain on the namespace.
void Create (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set up access control for the subject on given domain on the namespace.
global::System.Threading.Tasks.Task CreateAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.CreateSpec spec)
 Set up access control for the subject on given domain on the namespace.
global::System.Threading.Tasks.Task CreateAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set up access control for the subject on given domain on the namespace.
void Delete (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type)
 Remove access control of the subject on given domain from the namespace.
void Delete (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Remove access control of the subject on given domain from the namespace.
global::System.Threading.Tasks.Task DeleteAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type)
 Remove access control of the subject on given domain from the namespace.
global::System.Threading.Tasks.Task DeleteAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Remove access control of the subject on given domain from the namespace.
void Set (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.SetSpec spec)
 Set new access control on the namespace for the subject on given domain.
void Set (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set new access control on the namespace for the subject on given domain.
global::System.Threading.Tasks.Task SetAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.SetSpec spec)
 Set new access control on the namespace for the subject on given domain.
global::System.Threading.Tasks.Task SetAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, vmware.vcenter.namespaces.AccessTypes.SetSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set new access control on the namespace for the subject on given domain.
vmware.vcenter.namespaces.AccessTypes.Info Get (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type)
 Get the information about the access control of the subject on given domain on the namespace.
vmware.vcenter.namespaces.AccessTypes.Info Get (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the information about the access control of the subject on given domain on the namespace.
global::System.Threading.Tasks.Task
< vmware.vcenter.namespaces.AccessTypes.Info
GetAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type)
 Get the information about the access control of the subject on given domain on the namespace.
global::System.Threading.Tasks.Task
< vmware.vcenter.namespaces.AccessTypes.Info
GetAsync (string namespace_, string domain, string subject, vmware.vcenter.namespaces.AccessTypes.SubjectType type, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the information about the access control of the subject on given domain on the namespace.

Detailed Description

Remote stub implementation of the Access API service.


Constructor & Destructor Documentation

vmware::vcenter::namespaces::AccessStub::AccessStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::namespaces::AccessStub::AccessStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

void vmware::vcenter::namespaces::AccessStub::Create ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.CreateSpec  spec 
) [inline]

Set up access control for the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the specified principal on given domain is already associated with a role on the namespace.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot 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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the access control to be created.

Implements vmware::vcenter::namespaces::Access.

void vmware::vcenter::namespaces::AccessStub::Create ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set up access control for the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the specified principal on given domain is already associated with a role on the namespace.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot 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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the access control to be created.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::CreateAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set up access control for the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the specified principal on given domain is already associated with a role on the namespace.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot 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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the access control to be created.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::CreateAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.CreateSpec  spec 
) [inline]

Set up access control for the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the specified principal on given domain is already associated with a role on the namespace.
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot 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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the access control to be created.

Implements vmware::vcenter::namespaces::Access.

void vmware::vcenter::namespaces::AccessStub::Delete ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type 
) [inline]

Remove access control of the subject on given domain from the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).

Implements vmware::vcenter::namespaces::Access.

void vmware::vcenter::namespaces::AccessStub::Delete ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Remove access control of the subject on given domain from the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::DeleteAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Remove access control of the subject on given domain from the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::DeleteAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type 
) [inline]

Remove access control of the subject on given domain from the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).

Implements vmware::vcenter::namespaces::Access.

vmware.vcenter.namespaces.AccessTypes.Info vmware::vcenter::namespaces::AccessStub::Get ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type 
) [inline]

Get the information about the access control of the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
Returns:
Information about the subject including the type and the role on the namespace.

Implements vmware::vcenter::namespaces::Access.

vmware.vcenter.namespaces.AccessTypes.Info vmware::vcenter::namespaces::AccessStub::Get ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the information about the access control of the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the subject including the type and the role on the namespace.

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.AccessTypes.Info> vmware::vcenter::namespaces::AccessStub::GetAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the information about the access control of the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the subject including the type and the role on the namespace.

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.AccessTypes.Info> vmware::vcenter::namespaces::AccessStub::GetAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type 
) [inline]

Get the information about the access control of the subject on given domain on the namespace.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
Returns:
Information about the subject including the type and the role on the namespace.

Implements vmware::vcenter::namespaces::Access.

void vmware::vcenter::namespaces::AccessStub::Set ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.SetSpec  spec 
) [inline]

Set new access control on the namespace for the subject on given domain.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the new access control to be assigned.

Implements vmware::vcenter::namespaces::Access.

void vmware::vcenter::namespaces::AccessStub::Set ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.SetSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set new access control on the namespace for the subject on given domain.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the new access control to be assigned.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::SetAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.SetSpec  spec 
) [inline]

Set new access control on the namespace for the subject on given domain.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the new access control to be assigned.

Implements vmware::vcenter::namespaces::Access.

global::System.Threading.Tasks.Task vmware::vcenter::namespaces::AccessStub::SetAsync ( string  namespace_,
string  domain,
string  subject,
vmware.vcenter.namespaces.AccessTypes.SubjectType  type,
vmware.vcenter.namespaces.AccessTypes.SetSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set new access control on the namespace for the subject on given domain.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.NotAllowedInCurrentStateif the namespace is marked for deletion or the associated cluster is being disabled.
vmware.vapi.std.errors.NotFoundif namespace_ cannot be located.
vmware.vapi.std.errors.Unsupportedif the specified principal on given domain is not associated with the namespace.
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 .
domainThe domain of the subject.
subjectThe principal for this operation.
typeThe type of subject (user or group).
specInformation about the new access control to be assigned.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::namespaces::Access.


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