This is the multi-page printable view of this section. Click here to print.
Set Volume Group Replication Policy
1 - 1.4
put /v1/volume-groups/{volume_group_id}/replications/policy
Description
Set Volume Group Replication Policy.
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.4 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | volume_group_id required | Volume group id Example : c9ecae8b973b425c81c3817893cd8063 | string | None |
| body | body required | VolumeGroupReplicationUpdatePolicyRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | VolumeGroupReplicationUpdatePolicyResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/volume-groups/{volume_group_id}/replications/policy
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = baremetal-blockstorage 1.4"
Request body
{
"policy": "RESYNC"
}
Example HTTP response
Response 200
{
"cycle": "5MIN",
"sync_state": "SNAPMIRROED"
}
2 - 1.3
put /v1/volume-groups/{volume_group_id}/replications/policy
Description
Set Volume Group Replication Policy.
State ACTIVE (SUPPORTED)
| Version | Not Before |
|---|---|
| 1.3 | 20270131 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | volume_group_id required | Volume group id Example : c9ecae8b973b425c81c3817893cd8063 | string | None |
| body | body required | VolumeGroupReplicationUpdatePolicyRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | VolumeGroupReplicationUpdatePolicyResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/volume-groups/{volume_group_id}/replications/policy
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = baremetal-blockstorage 1.3"
Request body
{
"policy": "RESYNC"
}
Example HTTP response
Response 200
{
"cycle": "5MIN",
"sync_state": "SNAPMIRROED"
}
3 - 1.2
put /v1/volume-groups/{volume_group_id}/replications/policy
Description
Set Volume Group Replication Policy.
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.2 | 20260531 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | volume_group_id required | Volume group id Example : c9ecae8b973b425c81c3817893cd8063 | string | None |
| body | body required | VolumeGroupReplicationUpdatePolicyRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | VolumeGroupReplicationUpdatePolicyResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/volume-groups/{volume_group_id}/replications/policy
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = baremetal-blockstorage 1.2"
Request body
{
"policy": "RESYNC"
}
Example HTTP response
Response 200
{
"cycle": "5MIN",
"sync_state": "SNAPMIRROED"
}
4 - 1.1
put /v1/volume-groups/{volume_group_id}/replications/policy
Description
Set Volume Group Replication Policy.
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.1 | 20260331 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | volume_group_id required | Volume group id Example : c9ecae8b973b425c81c3817893cd8063 | string | None |
| body | body required | VolumeGroupReplicationUpdatePolicyRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | VolumeGroupReplicationUpdatePolicyResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/volume-groups/{volume_group_id}/replications/policy
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = baremetal-blockstorage 1.1"
Request body
{
"policy": "RESYNC"
}
Example HTTP response
Response 200
{
"cycle": "5MIN",
"sync_state": "SNAPMIRROED"
}
5 - 1.0
put /v1/volume-groups/{volume_group_id}/replications/policy
Description
Set Volume Group Replication Policy.
State ACTIVE (DEPRECATED)
Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.
| Version | Not Before |
|---|---|
| 1.0 | 20251231 |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| path | volume_group_id required | Volume group id Example : c9ecae8b973b425c81c3817893cd8063 | string | None |
| body | body required | VolumeGroupReplicationUpdatePolicyRequest |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | VolumeGroupReplicationUpdatePolicyResponse |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
| 404 | Not Found | None |
Example HTTP request
Request path
/v1/volume-groups/{volume_group_id}/replications/policy
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = en-US",
"Scp-Api-Version = baremetal-blockstorage 1.0"
Request body
{
"policy": "RESYNC"
}
Example HTTP response
Response 200
{
"cycle": "5MIN",
"sync_state": "SNAPMIRROED"
}