Skip to main content

Retrieve SnapMirror policies

GET /replication/metadata/snapmirror-policies/{sourceWorkingEnvironmentId}/{targetWorkingEnvironmentId}

Retrieves SnapMirror policies based on the source and destination Cloud Volumes ONTAP systems.

Parameters

Name Type In Required Description

sourceWorkingEnvironmentId

string

path

True

targetWorkingEnvironmentId

string

path

True

Error

Status: Default, Default response
Name Type Required Description

comment

string

False

isDefault

boolean

False

isSupported

boolean

False

name

string

True

policyType

string

False

reason

string

False

rules

array[SnapMirrorRuleResponse]

True

Example error response
{
  "comment": "string",
  "name": "string",
  "policyType": "string",
  "reason": "string",
  "rules": [
    {}
  ]
}

Definitions

See Definitions

SnapMirrorRuleResponse

Name Type Required Description

retention

integer

True

snapMirrorLabel

string

False