VMware vSphere Automation SDK for .NET 7.0.0.1
|
The Access
interface provides methods to manage access control of subjects on namespaces.
More...
Inherited by vmware::vcenter::namespaces::AccessStub.
Public Member Functions | |
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. |
The Access
interface provides methods to manage access control of subjects on namespaces.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.AlreadyExists | if the specified principal on given domain is already associated with a role on the namespace. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot 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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the access control to be created. |
Implemented in vmware::vcenter::namespaces::AccessStub.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.AlreadyExists | if the specified principal on given domain is already associated with a role on the namespace. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot 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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the access control to be created. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.AlreadyExists | if the specified principal on given domain is already associated with a role on the namespace. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot 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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the access control to be created. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.AlreadyExists | if the specified principal on given domain is already associated with a role on the namespace. |
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot 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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the access control to be created. |
Implemented in vmware::vcenter::namespaces::AccessStub.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
Implemented in vmware::vcenter::namespaces::AccessStub.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
Implemented in vmware::vcenter::namespaces::AccessStub.
vmware.vcenter.namespaces.AccessTypes.Info vmware::vcenter::namespaces::Access::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.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if namespace_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
Implemented in vmware::vcenter::namespaces::AccessStub.
vmware.vcenter.namespaces.AccessTypes.Info vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if namespace_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.AccessTypes.Info> vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if namespace_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task<vmware.vcenter.namespaces.AccessTypes.Info> vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
vmware.vapi.std.errors.NotFound | if namespace_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
Implemented in vmware::vcenter::namespaces::AccessStub.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the new access control to be assigned. |
Implemented in vmware::vcenter::namespaces::AccessStub.
void vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the new access control to be assigned. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.
vmware.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the new access control to be assigned. |
Implemented in vmware::vcenter::namespaces::AccessStub.
global::System.Threading.Tasks.Task vmware::vcenter::namespaces::Access::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.vapi.std.errors.Error | if the system reports an error while responding to the request. |
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_ cannot be located. |
vmware.vapi.std.errors.Unsupported | if the specified principal on given domain is not associated with the namespace. |
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 . |
domain | The domain of the subject. |
subject | The principal for this operation. |
type | The type of subject (user or group). |
spec | Information about the new access control to be assigned. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vcenter::namespaces::AccessStub.