Interface IGremlinDatabase
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
A Gremlin Database.
public interface IGremlinDatabase : IBeta, IHasInner<GremlinDatabaseGetResultsInner>, IExternalChildResource<IGremlinDatabase, ICosmosDBAccount>, IChildResource<ICosmosDBAccount>, IHasName, IIndexable, IHasParent<ICosmosDBAccount>, IRefreshable<IGremlinDatabase>
Properties
GremlinDatabaseId
Gets name of the Cosmos DB Gremlin Database.
string GremlinDatabaseId { get; }
Property Value
_etag
Gets a system generated property representing the resource etag required for optimistic concurrency control.
string _etag { get; }
Property Value
_rid
Gets a system generated property. A unique identifier.
string _rid { get; }
Property Value
_ts
Gets a system generated property that denotes the last updated timestamp of the resource.
object _ts { get; }
Property Value
Methods
GetGremlinGraph(string)
IGremlinGraph GetGremlinGraph(string name)
Parameters
name
stringThe name of the Gremlin Graph.
Returns
- IGremlinGraph
The specific Gremlin Graph.
GetGremlinGraphAsync(string, CancellationToken)
Task<IGremlinGraph> GetGremlinGraphAsync(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name of the Gremlin Graph.
cancellationToken
CancellationToken
Returns
- Task<IGremlinGraph>
The specific Gremlin Graph.
GetThroughputSettings()
ThroughputSettingsGetPropertiesResource GetThroughputSettings()
Returns
- ThroughputSettingsGetPropertiesResource
The throughput settings of the Gremlin Database.
GetThroughputSettingsAsync(CancellationToken)
Task<ThroughputSettingsGetPropertiesResource> GetThroughputSettingsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
- Task<ThroughputSettingsGetPropertiesResource>
The throughput settings of the Gremlin Database.
ListGremlinGraphs()
IEnumerable<IGremlinGraph> ListGremlinGraphs()
Returns
- IEnumerable<IGremlinGraph>
All Gremlin Graphs in the DB.
ListGremlinGraphsAsync(CancellationToken)
Task<IEnumerable<IGremlinGraph>> ListGremlinGraphsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationToken
Returns
- Task<IEnumerable<IGremlinGraph>>
All Gremlin Graphs in the DB.