VMware vCloud Suite SDK for .NET 6.0.0
vmware::vapi::metadata::metamodel::SourceStub Class Reference

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

Inherits vmware::vapi::metadata::metamodel::Source.

List of all members.

Public Member Functions

 SourceStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Create (string sourceId, vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec spec)
 Creates a new metadata source.
void Create (string sourceId, vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a new metadata source.
global::System.Threading.Tasks.Task CreateAsync (string sourceId, vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec spec)
 Creates a new metadata source.
global::System.Threading.Tasks.Task CreateAsync (string sourceId, vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec spec, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Creates a new metadata source.
void Delete (string sourceId)
 Deletes an existing metamodel metadata source from the infrastructure.
void Delete (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Deletes an existing metamodel metadata source from the infrastructure.
global::System.Threading.Tasks.Task DeleteAsync (string sourceId)
 Deletes an existing metamodel metadata source from the infrastructure.
global::System.Threading.Tasks.Task DeleteAsync (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Deletes an existing metamodel metadata source from the infrastructure.
vmware.vapi.metadata.metamodel.SourceTypes.Info Get (string sourceId)
 Retrieves information about the metadata source corresponding to sourceId .
vmware.vapi.metadata.metamodel.SourceTypes.Info Get (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the metadata source corresponding to sourceId .
global::System.Threading.Tasks.Task
< vmware.vapi.metadata.metamodel.SourceTypes.Info
GetAsync (string sourceId)
 Retrieves information about the metadata source corresponding to sourceId .
global::System.Threading.Tasks.Task
< vmware.vapi.metadata.metamodel.SourceTypes.Info
GetAsync (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Retrieves information about the metadata source corresponding to sourceId .
global::System.Collections.Generic.List
< string > 
List ()
 Returns the identifiers of the metadata sources currently registered with the infrastructure.
global::System.Collections.Generic.List
< string > 
List (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the identifiers of the metadata sources currently registered with the infrastructure.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
ListAsync ()
 Returns the identifiers of the metadata sources currently registered with the infrastructure.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< string > > 
ListAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the identifiers of the metadata sources currently registered with the infrastructure.
void Reload (string sourceId)
 Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
void Reload (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
global::System.Threading.Tasks.Task ReloadAsync (string sourceId)
 Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
global::System.Threading.Tasks.Task ReloadAsync (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
string Fingerprint (string sourceId)
 Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.
string Fingerprint (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.
global::System.Threading.Tasks.Task
< string > 
FingerprintAsync (string sourceId)
 Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.
global::System.Threading.Tasks.Task
< string > 
FingerprintAsync (string sourceId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.

Detailed Description

Remote stub implementation of the Source API service.


Constructor & Destructor Documentation

vmware::vapi::metadata::metamodel::SourceStub::SourceStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

void vmware::vapi::metadata::metamodel::SourceStub::Create ( string  sourceId,
vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec  spec 
) [inline]

Creates a new metadata source.

Once the server validates the registration information of the metadata source, the metamodel metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.metamodel namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the metadata source identifier is already registered with the infrastructure.
vmware.vapi.std.errors.InvalidArgumentif the type of the source specified in null is invalid.
vmware.vapi.std.errors.InvalidArgumentif the file specified in null is not a valid JSON file or if the format of the metamodel metadata in the JSON file is invalid.
vmware.vapi.std.errors.InvalidArgumentif the URI specified in null is unreachable or if there is a transport protocol or message protocol mismatch between the client and the server or if the remote server do not have interfaces present in vmware.vapi.metadata.metamodel namespace.
vmware.vapi.std.errors.NotFoundif the file specified in null does not exist.
Parameters:
sourceIdmetadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
speccreate specification.

Implements vmware::vapi::metadata::metamodel::Source.

void vmware::vapi::metadata::metamodel::SourceStub::Create ( string  sourceId,
vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Creates a new metadata source.

Once the server validates the registration information of the metadata source, the metamodel metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.metamodel namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the metadata source identifier is already registered with the infrastructure.
vmware.vapi.std.errors.InvalidArgumentif the type of the source specified in null is invalid.
vmware.vapi.std.errors.InvalidArgumentif the file specified in null is not a valid JSON file or if the format of the metamodel metadata in the JSON file is invalid.
vmware.vapi.std.errors.InvalidArgumentif the URI specified in null is unreachable or if there is a transport protocol or message protocol mismatch between the client and the server or if the remote server do not have interfaces present in vmware.vapi.metadata.metamodel namespace.
vmware.vapi.std.errors.NotFoundif the file specified in null does not exist.
Parameters:
sourceIdmetadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
speccreate specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::CreateAsync ( string  sourceId,
vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec  spec,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Creates a new metadata source.

Once the server validates the registration information of the metadata source, the metamodel metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.metamodel namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the metadata source identifier is already registered with the infrastructure.
vmware.vapi.std.errors.InvalidArgumentif the type of the source specified in null is invalid.
vmware.vapi.std.errors.InvalidArgumentif the file specified in null is not a valid JSON file or if the format of the metamodel metadata in the JSON file is invalid.
vmware.vapi.std.errors.InvalidArgumentif the URI specified in null is unreachable or if there is a transport protocol or message protocol mismatch between the client and the server or if the remote server do not have interfaces present in vmware.vapi.metadata.metamodel namespace.
vmware.vapi.std.errors.NotFoundif the file specified in null does not exist.
Parameters:
sourceIdmetadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
speccreate specification.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::CreateAsync ( string  sourceId,
vmware.vapi.metadata.metamodel.SourceTypes.CreateSpec  spec 
) [inline]

Creates a new metadata source.

Once the server validates the registration information of the metadata source, the metamodel metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.metamodel namespace.

Exceptions:
vmware.vapi.std.errors.AlreadyExistsif the metadata source identifier is already registered with the infrastructure.
vmware.vapi.std.errors.InvalidArgumentif the type of the source specified in null is invalid.
vmware.vapi.std.errors.InvalidArgumentif the file specified in null is not a valid JSON file or if the format of the metamodel metadata in the JSON file is invalid.
vmware.vapi.std.errors.InvalidArgumentif the URI specified in null is unreachable or if there is a transport protocol or message protocol mismatch between the client and the server or if the remote server do not have interfaces present in vmware.vapi.metadata.metamodel namespace.
vmware.vapi.std.errors.NotFoundif the file specified in null does not exist.
Parameters:
sourceIdmetadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
speccreate specification.

Implements vmware::vapi::metadata::metamodel::Source.

void vmware::vapi::metadata::metamodel::SourceStub::Delete ( string  sourceId) [inline]

Deletes an existing metamodel metadata source from the infrastructure.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

void vmware::vapi::metadata::metamodel::SourceStub::Delete ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Deletes an existing metamodel metadata source from the infrastructure.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::DeleteAsync ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Deletes an existing metamodel metadata source from the infrastructure.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::DeleteAsync ( string  sourceId) [inline]

Deletes an existing metamodel metadata source from the infrastructure.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

string vmware::vapi::metadata::metamodel::SourceStub::Fingerprint ( string  sourceId) [inline]

Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, the fingerprint of all the metadata sources is returned.
Returns:
Aggregate fingerprint of all the metadata sources or of a particular metadata source.

Implements vmware::vapi::metadata::metamodel::Source.

string vmware::vapi::metadata::metamodel::SourceStub::Fingerprint ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, the fingerprint of all the metadata sources is returned.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Aggregate fingerprint of all the metadata sources or of a particular metadata source.

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<string> vmware::vapi::metadata::metamodel::SourceStub::FingerprintAsync ( string  sourceId) [inline]

Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, the fingerprint of all the metadata sources is returned.
Returns:
Aggregate fingerprint of all the metadata sources or of a particular metadata source.

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<string> vmware::vapi::metadata::metamodel::SourceStub::FingerprintAsync ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, the fingerprint of all the metadata sources is returned.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Aggregate fingerprint of all the metadata sources or of a particular metadata source.

Implements vmware::vapi::metadata::metamodel::Source.

vmware.vapi.metadata.metamodel.SourceTypes.Info vmware::vapi::metadata::metamodel::SourceStub::Get ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Retrieves information about the metadata source corresponding to sourceId .

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The Source.Info instance that corresponds to sourceId

Implements vmware::vapi::metadata::metamodel::Source.

vmware.vapi.metadata.metamodel.SourceTypes.Info vmware::vapi::metadata::metamodel::SourceStub::Get ( string  sourceId) [inline]

Retrieves information about the metadata source corresponding to sourceId .

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
Returns:
The Source.Info instance that corresponds to sourceId

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<vmware.vapi.metadata.metamodel.SourceTypes.Info> vmware::vapi::metadata::metamodel::SourceStub::GetAsync ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Retrieves information about the metadata source corresponding to sourceId .

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
The Source.Info instance that corresponds to sourceId

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<vmware.vapi.metadata.metamodel.SourceTypes.Info> vmware::vapi::metadata::metamodel::SourceStub::GetAsync ( string  sourceId) [inline]

Retrieves information about the metadata source corresponding to sourceId .

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source .
Returns:
The Source.Info instance that corresponds to sourceId

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Collections.Generic.List<string> vmware::vapi::metadata::metamodel::SourceStub::List ( ) [inline]

Returns the identifiers of the metadata sources currently registered with the infrastructure.

Returns:
The list of identifiers for metadata sources currently registered. The result will contain identifiers for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Collections.Generic.List<string> vmware::vapi::metadata::metamodel::SourceStub::List ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the identifiers of the metadata sources currently registered with the infrastructure.

Returns:
The list of identifiers for metadata sources currently registered. The result will contain identifiers for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::vapi::metadata::metamodel::SourceStub::ListAsync ( ) [inline]

Returns the identifiers of the metadata sources currently registered with the infrastructure.

Returns:
The list of identifiers for metadata sources currently registered. The result will contain identifiers for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::vapi::metadata::metamodel::SourceStub::ListAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns the identifiers of the metadata sources currently registered with the infrastructure.

Returns:
The list of identifiers for metadata sources currently registered. The result will contain identifiers for the resource type: com.vmware.vapi.metadata.metamodel.source .

Implements vmware::vapi::metadata::metamodel::Source.

void vmware::vapi::metadata::metamodel::SourceStub::Reload ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, all the metadata sources are reloaded.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

void vmware::vapi::metadata::metamodel::SourceStub::Reload ( string  sourceId) [inline]

Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, all the metadata sources are reloaded.

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::ReloadAsync ( string  sourceId,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, all the metadata sources are reloaded.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::vapi::metadata::metamodel::Source.

global::System.Threading.Tasks.Task vmware::vapi::metadata::metamodel::SourceStub::ReloadAsync ( string  sourceId) [inline]

Reloads the metamodel metadata from all the metadata sources or of a particular metadata source if sourceId is specified.

Exceptions:
vmware.vapi.std.errors.NotFoundif the metadata source associated with sourceId is not found.
Parameters:
sourceIdIdentifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.metamodel.source . If unspecified, all the metadata sources are reloaded.

Implements vmware::vapi::metadata::metamodel::Source.


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