Class MetadataQueryBuilder
Allows building a fluent query to the metadata repository.
Inherited Members
Namespace: Unity.Cloud.Metadata
Assembly: Unity.Cloud.Metadata.dll
Syntax
public class MetadataQueryBuilder
Methods
| Name | Description |
|---|---|
| ExecuteAsync(CancellationToken) | Executes the built query by calling the metadata repository. |
| IncludedIn(params InstanceId[]) | Adds the owner IDs to the lookup query. |
| LimitTo(int) | Specify the number of metadata record to return. Useful when the dataset contains thousands of metadata entry, which can affect performance. |
| Select(params string[]) | Adds the desired output metadata keys to the query. |
| SelectAll() | Sets the query to return the full metadata. |
| SelectOnlyId() | Sets the query to only return the owner ID. |
| WhereKeyEquals(IEnumerable<string>, string) | Adds metadata conditions to the query. |