VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::trusted_infrastructure::kms::ServicesStub Class Reference

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

Inherits vmware::vcenter::trusted_infrastructure::kms::Services.

List of all members.

Public Member Functions

 ServicesStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 ServicesStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
global::System.Collections.Generic.List
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary
List (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec spec)
 Returns basic information about all registered Key Provider Service instances in this vCenter.
global::System.Collections.Generic.List
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary
List (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns basic information about all registered Key Provider Service instances in this vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary > > 
ListAsync (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec spec)
 Returns basic information about all registered Key Provider Service instances in this vCenter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary > > 
ListAsync (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns basic information about all registered Key Provider Service instances in this vCenter.
vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info Get (string service)
 Returns the detailed information about a registered Key Provider Service instance in this vCenter.
vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info Get (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the detailed information about a registered Key Provider Service instance in this vCenter.
global::System.Threading.Tasks.Task
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info
GetAsync (string service)
 Returns the detailed information about a registered Key Provider Service instance in this vCenter.
global::System.Threading.Tasks.Task
< vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info
GetAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the detailed information about a registered Key Provider Service instance in this vCenter.
string Create (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec spec)
 Registers a Key Provider Service instance in this vCenter.
string Create (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Registers a Key Provider Service instance in this vCenter.
global::System.Threading.Tasks.Task
< string > 
CreateAsync (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec spec)
 Registers a Key Provider Service instance in this vCenter.
global::System.Threading.Tasks.Task
< string > 
CreateAsync (vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Registers a Key Provider Service instance in this vCenter.
void Delete (string service)
 Removes a currently registered Key Provider Service instance from this vCenter.
void Delete (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Removes a currently registered Key Provider Service instance from this vCenter.
global::System.Threading.Tasks.Task DeleteAsync (string service)
 Removes a currently registered Key Provider Service instance from this vCenter.
global::System.Threading.Tasks.Task DeleteAsync (string service, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Removes a currently registered Key Provider Service instance from this vCenter.

Detailed Description

Remote stub implementation of the Services API service.


Constructor & Destructor Documentation

vmware::vcenter::trusted_infrastructure::kms::ServicesStub::ServicesStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vcenter::trusted_infrastructure::kms::ServicesStub::ServicesStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

string vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Create ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec  spec) [inline]

Registers a Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif there is already a Key Provider Service instance with the same Address.
vmware.vapi.std.errors.Errorif there is a generic error.
vmware.vapi.std.errors.InvalidArgumentif the CreateSpec contains invalid data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
specThe CreateSpec for the new service.
Returns:
ID of the newly registered Key Provider Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

string vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Create ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Registers a Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif there is already a Key Provider Service instance with the same Address.
vmware.vapi.std.errors.Errorif there is a generic error.
vmware.vapi.std.errors.InvalidArgumentif the CreateSpec contains invalid data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
specThe CreateSpec for the new service.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
ID of the newly registered Key Provider Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<string> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::CreateAsync ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec  spec) [inline]

Registers a Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif there is already a Key Provider Service instance with the same Address.
vmware.vapi.std.errors.Errorif there is a generic error.
vmware.vapi.std.errors.InvalidArgumentif the CreateSpec contains invalid data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
specThe CreateSpec for the new service.
Returns:
ID of the newly registered Key Provider Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<string> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::CreateAsync ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Registers a Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif there is already a Key Provider Service instance with the same Address.
vmware.vapi.std.errors.Errorif there is a generic error.
vmware.vapi.std.errors.InvalidArgumentif the CreateSpec contains invalid data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
specThe CreateSpec for the new service.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
ID of the newly registered Key Provider Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

void vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Delete ( string  service) [inline]

Removes a currently registered Key Provider Service instance from this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while deleting the service.
vmware.vapi.std.errors.NotFoundif the Key Provider Service instance is not found.
vmware.vapi.std.errors.ResourceBusyif the Key Provider Service instance is used by a configuration on a cluster level.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

void vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Delete ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Removes a currently registered Key Provider Service instance from this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while deleting the service.
vmware.vapi.std.errors.NotFoundif the Key Provider Service instance is not found.
vmware.vapi.std.errors.ResourceBusyif the Key Provider Service instance is used by a configuration on a cluster level.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task vmware::vcenter::trusted_infrastructure::kms::ServicesStub::DeleteAsync ( string  service) [inline]

Removes a currently registered Key Provider Service instance from this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while deleting the service.
vmware.vapi.std.errors.NotFoundif the Key Provider Service instance is not found.
vmware.vapi.std.errors.ResourceBusyif the Key Provider Service instance is used by a configuration on a cluster level.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task vmware::vcenter::trusted_infrastructure::kms::ServicesStub::DeleteAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Removes a currently registered Key Provider Service instance from this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while deleting the service.
vmware.vapi.std.errors.NotFoundif the Key Provider Service instance is not found.
vmware.vapi.std.errors.ResourceBusyif the Key Provider Service instance is used by a configuration on a cluster level.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ManageTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Get ( string  service) [inline]

Returns the detailed information about a registered Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.NotFoundif there is no Key Provider Service instance with the specified ID.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
Returns:
Detailed information about the specified Key Provider Service instance.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info vmware::vcenter::trusted_infrastructure::kms::ServicesStub::Get ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the detailed information about a registered Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.NotFoundif there is no Key Provider Service instance with the specified ID.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Detailed information about the specified Key Provider Service instance.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::GetAsync ( string  service,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the detailed information about a registered Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.NotFoundif there is no Key Provider Service instance with the specified ID.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Detailed information about the specified Key Provider Service instance.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Info> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::GetAsync ( string  service) [inline]

Returns the detailed information about a registered Key Provider Service instance in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.NotFoundif there is no Key Provider Service instance with the specified ID.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
servicethe Key Provider Service instance unique identifier. The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.kms.Service .
Returns:
Detailed information about the specified Key Provider Service instance.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Collections.Generic.List<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::List ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns basic information about all registered Key Provider Service instances in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
specReturn only services matching the specified filters. If {.unset} return all services.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Basic information about all registered Key Provider Service instances in this vCenter.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Collections.Generic.List<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary> vmware::vcenter::trusted_infrastructure::kms::ServicesStub::List ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec  spec) [inline]

Returns basic information about all registered Key Provider Service instances in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
specReturn only services matching the specified filters. If {.unset} return all services.
Returns:
Basic information about all registered Key Provider Service instances in this vCenter.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary> > vmware::vcenter::trusted_infrastructure::kms::ServicesStub::ListAsync ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec  spec) [inline]

Returns basic information about all registered Key Provider Service instances in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
specReturn only services matching the specified filters. If {.unset} return all services.
Returns:
Basic information about all registered Key Provider Service instances in this vCenter.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.Summary> > vmware::vcenter::trusted_infrastructure::kms::ServicesStub::ListAsync ( vmware.vcenter.trusted_infrastructure.kms.ServicesTypes.FilterSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns basic information about all registered Key Provider Service instances in this vCenter.

This method was added in vSphere API 7.0.0.

Exceptions:
vmware.vapi.std.errors.Errorif an error occurred while getting the data.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires TrustedAdmin.ReadTrustedHosts .
Parameters:
specReturn only services matching the specified filters. If {.unset} return all services.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Basic information about all registered Key Provider Service instances in this vCenter.

Implements vmware::vcenter::trusted_infrastructure::kms::Services.


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