你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Volumes - Replication Status
获取卷复制状态
获取复制的状态
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus?api-version=2023-11-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
account
|
path | True |
string |
NetApp 帐户的名称 Regex pattern: |
pool
|
path | True |
string |
容量池的名称 Regex pattern: |
resource
|
path | True |
string |
资源组的名称。 此名称不区分大小写。 |
subscription
|
path | True |
string uuid |
目标订阅的 ID。 该值必须是 UUID。 |
volume
|
path | True |
string |
卷的名称 Regex pattern: |
api-version
|
query | True |
string |
要用于此操作的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Volumes_ReplicationStatus
Sample Request
GET https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/replicationStatus?api-version=2023-11-01
Sample Response
{
"healthy": true,
"relationshipStatus": "Idle",
"mirrorState": "Mirrored",
"totalProgress": "1048576",
"errorMessage": ""
}
定义
名称 | 说明 |
---|---|
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Mirror |
复制的状态 |
Relationship |
镜像关系的状态 |
replication |
复制状态 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
MirrorState
复制的状态
名称 | 类型 | 说明 |
---|---|---|
Broken |
string |
|
Mirrored |
string |
|
Uninitialized |
string |
RelationshipStatus
镜像关系的状态
名称 | 类型 | 说明 |
---|---|---|
Idle |
string |
|
Transferring |
string |
replicationStatus
复制状态
名称 | 类型 | 说明 |
---|---|---|
errorMessage |
string |
如果复制处于错误状态,则显示错误消息 |
healthy |
boolean |
复制运行状况检查 |
mirrorState |
复制的状态 |
|
relationshipStatus |
镜像关系的状态 |
|
totalProgress |
string |
复制进度 |