Aliyun.Oss.Bucket.Replication.get_progress
You're seeing just the function
get_progress
, go back to Aliyun.Oss.Bucket.Replication module for more information.
Link to this function
get_progress(bucket, rule_id)
Specs
GetBucketReplicationProgress用于获取某个存储空间(Bucket)的跨区域复制进度。
Examples
iex> Aliyun.Oss.Bucket.Replication.get_progress("some-bucket", "replication_rule_id_1")
{:ok, %Aliyun.Oss.Client.Response{
data: %{
"ReplicationProgress" => %{
"Rule" => %{
"Action" => "ALL",
"Destination" => %{
"Bucket" => "replication-test",
"Location" => "oss-cn-beijing"
},
"HistoricalObjectReplication" => "disabled",
"ID" => "replication_rule_id_1",
"Progress" => %{"NewObject" => "2021-01-19T05:53:07.000Z"},
"Status" => "doing"
}
}
},
headers: [
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}}