Retrieve an SVM peer permission instance
GET /svm/peer-permissions/{cluster.uuid}/{svm.uuid}
Retrieves the SVM peer permission instance.
Related ONTAP commands
- 
vserver peer permission show 
Example
The following example shows how to retrieve the parameters for an SVM peer permission.
GET "/api/svm/peer-permissions/d3268a74-ee76-11e8-a9bb-005056ac6dc9/8f467b93-f2f1-11e8-9027-005056ac81fc"
Learn more
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
cluster.uuid  | 
string  | 
path  | 
True  | 
Peer cluster UUID  | 
svm.uuid  | 
string  | 
path  | 
True  | 
SVM UUID  | 
fields  | 
array[string]  | 
query  | 
False  | 
Specify the fields to return.  | 
return_timeout  | 
integer  | 
query  | 
False  | 
The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.  | 
Response
Status: 200, Ok
| Name | Type | Description | 
|---|---|---|
_links  | 
||
applications  | 
array[string]  | 
A list of applications for an SVM peer relation.  | 
cluster_peer  | 
Peer cluster details  | 
|
svm  | 
Local SVM permitted for peer relation. To create peer permissions for all SVMs, specify the SVM name as "*".  | 
Example response
{
  "_links": {
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "applications": [
    "snapmirror",
    "flexcache"
  ],
  "cluster_peer": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "name": "cluster2",
    "uuid": "ebe27c49-1adf-4496-8335-ab862aebebf2"
  },
  "svm": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "name": "svm1",
    "uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
  }
}
Error
Status: Default
ONTAP Error Response Codes
| Error codes | Description | 
|---|---|
26345574  | 
Failed to find the SVM or volume name with UUID.  | 
| Name | Type | Description | 
|---|---|---|
error  | 
Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}
Definitions
See Definitions
href
| Name | Type | Description | 
|---|---|---|
href  | 
string  | 
_links
| Name | Type | Description | 
|---|---|---|
self  | 
cluster_peer
Peer cluster details
| Name | Type | Description | 
|---|---|---|
_links  | 
||
name  | 
string  | 
|
uuid  | 
string  | 
svm
Local SVM permitted for peer relation. To create peer permissions for all SVMs, specify the SVM name as "*".
| Name | Type | Description | 
|---|---|---|
_links  | 
||
name  | 
string  | 
The name of the SVM.  | 
uuid  | 
string  | 
The unique identifier of the SVM.  | 
error_arguments
| Name | Type | Description | 
|---|---|---|
code  | 
string  | 
Argument code  | 
message  | 
string  | 
Message argument  | 
error
| Name | Type | Description | 
|---|---|---|
arguments  | 
array[error_arguments]  | 
Message arguments  | 
code  | 
string  | 
Error code  | 
message  | 
string  | 
Error message  | 
target  | 
string  | 
The target parameter that caused the error.  |