你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestorableCosmosDBAccountResource.GetRestorableGremlinGraphsAsync 方法

定义

显示在特定数据库下的所有 Azure Cosmos DB Gremlin 图上完成的所有突变的事件源。 这在意外删除容器的情况下有所帮助。 此 API 需要“Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read”权限

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGraphs
  • 操作IdRestorableGremlinGraphs_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph> GetRestorableGremlinGraphsAsync (string restorableGremlinDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableGremlinGraphsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
override this.GetRestorableGremlinGraphsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinGraph>
Public Overridable Function GetRestorableGremlinGraphsAsync (Optional restorableGremlinDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableGremlinGraph)

参数

restorableGremlinDatabaseRid
String

Gremlin 数据库的资源 ID。

startTime
String

可还原的 Gremlin 图形事件源开始时间。

endTime
String

可还原的 Gremlin 图形事件源结束时间。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 RestorableGremlinGraph ,可能需要多个服务请求进行迭代。

适用于