VMware vSphere Automation SDK for .NET 7.0.0.1
|
Remote stub implementation of the Access API service. More...
Inherits vmware::vcenter::namespaces::Access.
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. |
Remote stub implementation of the Access API service.
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] |
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.
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. |
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.
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 |
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.
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 |
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.
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. |
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.
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). |
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.
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 |
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.
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 |
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.
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). |
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.
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). |
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.
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 |
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.
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 |
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.
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). |
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.
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. |
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.
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 |
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.
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. |
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.
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 |
Implements vmware::vcenter::namespaces::Access.