VMware vCloud Suite SDK for .NET 6.0.0
|
The Source
interface provides methods to manage the sources of privilege metadata information.
More...
Inherited by vmware::vapi::metadata::privilege::SourceStub.
Public Member Functions | |
void | Create (string sourceId, vmware.vapi.metadata.privilege.SourceTypes.CreateSpec spec) |
Creates a new metadata source. | |
void | Create (string sourceId, vmware.vapi.metadata.privilege.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.privilege.SourceTypes.CreateSpec spec) |
Creates a new metadata source. | |
global::System.Threading.Tasks.Task | CreateAsync (string sourceId, vmware.vapi.metadata.privilege.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 privilege 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 privilege metadata source from the infrastructure. | |
global::System.Threading.Tasks.Task | DeleteAsync (string sourceId) |
Deletes an existing privilege 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 privilege metadata source from the infrastructure. | |
vmware.vapi.metadata.privilege.SourceTypes.Info | Get (string sourceId) |
Retrieves information about the metadata source corresponding to sourceId . | |
vmware.vapi.metadata.privilege.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.privilege.SourceTypes.Info > | GetAsync (string sourceId) |
Retrieves information about the metadata source corresponding to sourceId . | |
global::System.Threading.Tasks.Task < vmware.vapi.metadata.privilege.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 privilege 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 privilege 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 privilege 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 privilege 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. |
The Source
interface provides methods to manage the sources of privilege metadata information.
The interface definition language infrastructure provides tools to generate various kinds of metadata in JSON format from the interface definition files and additional properties files. One of the generated files contains privilege information. The generated file can be registered as a source of metadata.
The privilege file contains all the data present in the interface definition files. Each privilege file contains data about one component element. When a privilege file is added as a source, each source contributes only one component element's metadata.
Privilege metadata can also be discovered from a remote server that supports the privilege metadata interfaces (see vmware.vapi.metadata.privilege ). Since multiple components can be registered with a single metadata server, when a remote server is registered as a source, that source can contribute more than one component.
void vmware::vapi::metadata::privilege::Source::Create | ( | string | sourceId, |
vmware.vapi.metadata.privilege.SourceTypes.CreateSpec | spec | ||
) |
Creates a new metadata source.
Once the server validates the registration information of the metadata source, the privilege metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.privilege namespace.
vmware.vapi.std.errors.AlreadyExists | if the metadata source identifier is already registered with the infrastructure. |
vmware.vapi.std.errors.InvalidArgument | if the type of the source specified in null is invalid. |
vmware.vapi.std.errors.InvalidArgument | if the file specified in null is not a valid JSON file or if the format of the privilege metadata in the JSON file is invalid. |
vmware.vapi.std.errors.InvalidArgument | if 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.privilege namespace. |
vmware.vapi.std.errors.NotFound | if the file specified in null does not exist. |
sourceId | metadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
spec | create specification. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
void vmware::vapi::metadata::privilege::Source::Create | ( | string | sourceId, |
vmware.vapi.metadata.privilege.SourceTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a new metadata source.
Once the server validates the registration information of the metadata source, the privilege metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.privilege namespace.
vmware.vapi.std.errors.AlreadyExists | if the metadata source identifier is already registered with the infrastructure. |
vmware.vapi.std.errors.InvalidArgument | if the type of the source specified in null is invalid. |
vmware.vapi.std.errors.InvalidArgument | if the file specified in null is not a valid JSON file or if the format of the privilege metadata in the JSON file is invalid. |
vmware.vapi.std.errors.InvalidArgument | if 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.privilege namespace. |
vmware.vapi.std.errors.NotFound | if the file specified in null does not exist. |
sourceId | metadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
spec | create specification. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::CreateAsync | ( | string | sourceId, |
vmware.vapi.metadata.privilege.SourceTypes.CreateSpec | spec, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Creates a new metadata source.
Once the server validates the registration information of the metadata source, the privilege metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.privilege namespace.
vmware.vapi.std.errors.AlreadyExists | if the metadata source identifier is already registered with the infrastructure. |
vmware.vapi.std.errors.InvalidArgument | if the type of the source specified in null is invalid. |
vmware.vapi.std.errors.InvalidArgument | if the file specified in null is not a valid JSON file or if the format of the privilege metadata in the JSON file is invalid. |
vmware.vapi.std.errors.InvalidArgument | if 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.privilege namespace. |
vmware.vapi.std.errors.NotFound | if the file specified in null does not exist. |
sourceId | metadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
spec | create specification. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::CreateAsync | ( | string | sourceId, |
vmware.vapi.metadata.privilege.SourceTypes.CreateSpec | spec | ||
) |
Creates a new metadata source.
Once the server validates the registration information of the metadata source, the privilege metadata is retrieved from the source. This populates elements in all the interfaces defined in vmware.vapi.metadata.privilege namespace.
vmware.vapi.std.errors.AlreadyExists | if the metadata source identifier is already registered with the infrastructure. |
vmware.vapi.std.errors.InvalidArgument | if the type of the source specified in null is invalid. |
vmware.vapi.std.errors.InvalidArgument | if the file specified in null is not a valid JSON file or if the format of the privilege metadata in the JSON file is invalid. |
vmware.vapi.std.errors.InvalidArgument | if 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.privilege namespace. |
vmware.vapi.std.errors.NotFound | if the file specified in null does not exist. |
sourceId | metadata source identifier. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
spec | create specification. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
void vmware::vapi::metadata::privilege::Source::Delete | ( | string | sourceId | ) |
Deletes an existing privilege metadata source from the infrastructure.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
void vmware::vapi::metadata::privilege::Source::Delete | ( | string | sourceId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deletes an existing privilege metadata source from the infrastructure.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::DeleteAsync | ( | string | sourceId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Deletes an existing privilege metadata source from the infrastructure.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::DeleteAsync | ( | string | sourceId | ) |
Deletes an existing privilege metadata source from the infrastructure.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
string vmware::vapi::metadata::privilege::Source::Fingerprint | ( | string | sourceId | ) |
Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, the fingerprint of all the metadata sources is returned. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
string vmware::vapi::metadata::privilege::Source::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.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, the fingerprint of all the metadata sources is returned. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<string> vmware::vapi::metadata::privilege::Source::FingerprintAsync | ( | string | sourceId | ) |
Returns the aggregate fingerprint of metadata from all the metadata sources or from a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, the fingerprint of all the metadata sources is returned. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<string> vmware::vapi::metadata::privilege::Source::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.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, the fingerprint of all the metadata sources is returned. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
vmware.vapi.metadata.privilege.SourceTypes.Info vmware::vapi::metadata::privilege::Source::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 .
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
vmware.vapi.metadata.privilege.SourceTypes.Info vmware::vapi::metadata::privilege::Source::Get | ( | string | sourceId | ) |
Retrieves information about the metadata source corresponding to sourceId .
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<vmware.vapi.metadata.privilege.SourceTypes.Info> vmware::vapi::metadata::privilege::Source::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 .
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<vmware.vapi.metadata.privilege.SourceTypes.Info> vmware::vapi::metadata::privilege::Source::GetAsync | ( | string | sourceId | ) |
Retrieves information about the metadata source corresponding to sourceId .
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Collections.Generic.List<string> vmware::vapi::metadata::privilege::Source::List | ( | ) |
Returns the identifiers of the metadata sources currently registered with the infrastructure.
com.vmware.vapi.metadata.privilege.source
. Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Collections.Generic.List<string> vmware::vapi::metadata::privilege::Source::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.
com.vmware.vapi.metadata.privilege.source
. Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::vapi::metadata::privilege::Source::ListAsync | ( | ) |
Returns the identifiers of the metadata sources currently registered with the infrastructure.
com.vmware.vapi.metadata.privilege.source
. Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<string> > vmware::vapi::metadata::privilege::Source::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.
com.vmware.vapi.metadata.privilege.source
. Implemented in vmware::vapi::metadata::privilege::SourceStub.
void vmware::vapi::metadata::privilege::Source::Reload | ( | string | sourceId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Reloads the privilege metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, all the metadata sources are reloaded. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
void vmware::vapi::metadata::privilege::Source::Reload | ( | string | sourceId | ) |
Reloads the privilege metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, all the metadata sources are reloaded. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::ReloadAsync | ( | string | sourceId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) |
Reloads the privilege metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, all the metadata sources are reloaded. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implemented in vmware::vapi::metadata::privilege::SourceStub.
global::System.Threading.Tasks.Task vmware::vapi::metadata::privilege::Source::ReloadAsync | ( | string | sourceId | ) |
Reloads the privilege metadata from all the metadata sources or of a particular metadata source if sourceId is specified.
vmware.vapi.std.errors.NotFound | if the metadata source associated with sourceId is not found. |
sourceId | Identifier of the metadata source. The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.privilege.source . If unspecified, all the metadata sources are reloaded. |
Implemented in vmware::vapi::metadata::privilege::SourceStub.