Class GremlinResourcesOperationsExtensions
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Extension methods for GremlinResourcesOperations.
public static class GremlinResourcesOperationsExtensions
- Inheritance
-
GremlinResourcesOperationsExtensions
- Inherited Members
Methods
BeginCreateUpdateGremlinDatabaseAsync(IGremlinResourcesOperations, string, string, string, GremlinDatabaseCreateUpdateParameters, CancellationToken)
Create or update an Azure Cosmos DB Gremlin database
public static Task<GremlinDatabaseGetResultsInner> BeginCreateUpdateGremlinDatabaseAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, GremlinDatabaseCreateUpdateParameters createUpdateGremlinDatabaseParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
createUpdateGremlinDatabaseParameters
GremlinDatabaseCreateUpdateParametersThe parameters to provide for the current Gremlin database.
cancellationToken
CancellationTokenThe cancellation token.
Returns
BeginCreateUpdateGremlinGraphAsync(IGremlinResourcesOperations, string, string, string, string, GremlinGraphCreateUpdateParameters, CancellationToken)
Create or update an Azure Cosmos DB Gremlin graph
public static Task<GremlinGraphGetResultsInner> BeginCreateUpdateGremlinGraphAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, GremlinGraphCreateUpdateParameters createUpdateGremlinGraphParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
createUpdateGremlinGraphParameters
GremlinGraphCreateUpdateParametersThe parameters to provide for the current Gremlin graph.
cancellationToken
CancellationTokenThe cancellation token.
Returns
BeginDeleteGremlinDatabaseAsync(IGremlinResourcesOperations, string, string, string, CancellationToken)
Deletes an existing Azure Cosmos DB Gremlin database.
public static Task BeginDeleteGremlinDatabaseAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
BeginDeleteGremlinGraphAsync(IGremlinResourcesOperations, string, string, string, string, CancellationToken)
Deletes an existing Azure Cosmos DB Gremlin graph.
public static Task BeginDeleteGremlinGraphAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
BeginUpdateGremlinDatabaseThroughputAsync(IGremlinResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)
Update RUs per second of an Azure Cosmos DB Gremlin database
public static Task<ThroughputSettingsGetResultsInner> BeginUpdateGremlinDatabaseThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Gremlin database.
cancellationToken
CancellationTokenThe cancellation token.
Returns
BeginUpdateGremlinGraphThroughputAsync(IGremlinResourcesOperations, string, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)
Update RUs per second of an Azure Cosmos DB Gremlin graph
public static Task<ThroughputSettingsGetResultsInner> BeginUpdateGremlinGraphThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Gremlin graph.
cancellationToken
CancellationTokenThe cancellation token.
Returns
CreateUpdateGremlinDatabaseAsync(IGremlinResourcesOperations, string, string, string, GremlinDatabaseCreateUpdateParameters, CancellationToken)
Create or update an Azure Cosmos DB Gremlin database
public static Task<GremlinDatabaseGetResultsInner> CreateUpdateGremlinDatabaseAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, GremlinDatabaseCreateUpdateParameters createUpdateGremlinDatabaseParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
createUpdateGremlinDatabaseParameters
GremlinDatabaseCreateUpdateParametersThe parameters to provide for the current Gremlin database.
cancellationToken
CancellationTokenThe cancellation token.
Returns
CreateUpdateGremlinGraphAsync(IGremlinResourcesOperations, string, string, string, string, GremlinGraphCreateUpdateParameters, CancellationToken)
Create or update an Azure Cosmos DB Gremlin graph
public static Task<GremlinGraphGetResultsInner> CreateUpdateGremlinGraphAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, GremlinGraphCreateUpdateParameters createUpdateGremlinGraphParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
createUpdateGremlinGraphParameters
GremlinGraphCreateUpdateParametersThe parameters to provide for the current Gremlin graph.
cancellationToken
CancellationTokenThe cancellation token.
Returns
DeleteGremlinDatabaseAsync(IGremlinResourcesOperations, string, string, string, CancellationToken)
Deletes an existing Azure Cosmos DB Gremlin database.
public static Task DeleteGremlinDatabaseAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
DeleteGremlinGraphAsync(IGremlinResourcesOperations, string, string, string, string, CancellationToken)
Deletes an existing Azure Cosmos DB Gremlin graph.
public static Task DeleteGremlinGraphAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
GetGremlinDatabaseAsync(IGremlinResourcesOperations, string, string, string, CancellationToken)
Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name.
public static Task<GremlinDatabaseGetResultsInner> GetGremlinDatabaseAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
GetGremlinDatabaseThroughputAsync(IGremlinResourcesOperations, string, string, string, CancellationToken)
Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.
public static Task<ThroughputSettingsGetResultsInner> GetGremlinDatabaseThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
GetGremlinGraphAsync(IGremlinResourcesOperations, string, string, string, string, CancellationToken)
Gets the Gremlin graph under an existing Azure Cosmos DB database account.
public static Task<GremlinGraphGetResultsInner> GetGremlinGraphAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
GetGremlinGraphThroughputAsync(IGremlinResourcesOperations, string, string, string, string, CancellationToken)
Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.
public static Task<ThroughputSettingsGetResultsInner> GetGremlinGraphThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
ListGremlinDatabasesAsync(IGremlinResourcesOperations, string, string, CancellationToken)
Lists the Gremlin databases under an existing Azure Cosmos DB database account.
public static Task<IEnumerable<GremlinDatabaseGetResultsInner>> ListGremlinDatabasesAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
ListGremlinGraphsAsync(IGremlinResourcesOperations, string, string, string, CancellationToken)
Lists the Gremlin graph under an existing Azure Cosmos DB database account.
public static Task<IEnumerable<GremlinGraphGetResultsInner>> ListGremlinGraphsAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
UpdateGremlinDatabaseThroughputAsync(IGremlinResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)
Update RUs per second of an Azure Cosmos DB Gremlin database
public static Task<ThroughputSettingsGetResultsInner> UpdateGremlinDatabaseThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Gremlin database.
cancellationToken
CancellationTokenThe cancellation token.
Returns
UpdateGremlinGraphThroughputAsync(IGremlinResourcesOperations, string, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)
Update RUs per second of an Azure Cosmos DB Gremlin graph
public static Task<ThroughputSettingsGetResultsInner> UpdateGremlinGraphThroughputAsync(this IGremlinResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string graphName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)
Parameters
operations
IGremlinResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
databaseName
stringCosmos DB database name.
graphName
stringCosmos DB graph name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Gremlin graph.
cancellationToken
CancellationTokenThe cancellation token.