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

name

string

True

comment

string

False

policyType

string

False

rules

array[SnapMirrorRuleResponse]

True

isDefault

boolean

False

isSupported

boolean

False

reason

string

False

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

Definitions

See Definitions

SnapMirrorRuleResponse

Name Type Required Description

snapMirrorLabel

string

False

retention

integer

True