/// <summary>
 /// Show the event feed of all mutations done on all the Azure Cosmos DB
 /// Gremlin graphs under a specific database. This helps in scenario where
 /// container was accidentally deleted. This API requires
 /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read'
 /// permission
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// Cosmos DB region, with spaces between words and each word capitalized.
 /// </param>
 /// <param name='instanceId'>
 /// The instanceId GUID of a restorable database account.
 /// </param>
 /// <param name='restorableGremlinDatabaseRid'>
 /// The resource ID of the Gremlin database.
 /// </param>
 /// <param name='startTime'>
 /// Restorable Gremlin graphs event feed start time.
 /// </param>
 /// <param name='endTime'>
 /// Restorable Gremlin graphs event feed end time.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IEnumerable <RestorableGremlinGraphGetResult> > ListAsync(this IRestorableGremlinGraphsOperations operations, string location, string instanceId, string restorableGremlinDatabaseRid = default(string), string startTime = default(string), string endTime = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Show the event feed of all mutations done on all the Azure Cosmos DB
 /// Gremlin graphs under a specific database. This helps in scenario where
 /// container was accidentally deleted. This API requires
 /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read'
 /// permission
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// Cosmos DB region, with spaces between words and each word capitalized.
 /// </param>
 /// <param name='instanceId'>
 /// The instanceId GUID of a restorable database account.
 /// </param>
 /// <param name='restorableGremlinDatabaseRid'>
 /// The resource ID of the Gremlin database.
 /// </param>
 /// <param name='startTime'>
 /// Restorable Gremlin graphs event feed start time.
 /// </param>
 /// <param name='endTime'>
 /// Restorable Gremlin graphs event feed end time.
 /// </param>
 public static IEnumerable <RestorableGremlinGraphGetResult> List(this IRestorableGremlinGraphsOperations operations, string location, string instanceId, string restorableGremlinDatabaseRid = default(string), string startTime = default(string), string endTime = default(string))
 {
     return(operations.ListAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime).GetAwaiter().GetResult());
 }