Retrieve an FC WWPN alias
Retrieves an FC WWPN alias to view the specific alias configuration for Fibre Channel networks. This information helps you manage storage connectivity and zoning in your environment.
HTTP method and endpoint
GET /network/fc/wwpn-aliases/{svm.uuid}/{alias}
Introduced in
ONTAP 9.6
Related ONTAP commands
-
vserver fcp wwpn-alias show
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
svm.uuid |
string |
path |
True |
The unique identifier of the SVM in which the alias is found. |
alias |
string |
path |
True |
The name of FC WWPN alias. |
fields |
array[string] |
query |
False |
Specify the fields to return. |
Response
Status: 200, Ok
| Name | Type | Description |
|---|---|---|
_links |
||
alias |
string |
The FC WWPN alias. Required in POST. |
svm |
SVM, applies only to SVM-scoped objects. |
|
wwpn |
string |
The FC initiator WWPN. Required in POST. |
Example response
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"alias": "host1",
"svm": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
},
"wwpn": "2f:a0:00:a0:98:0b:56:13"
}
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
1260882 |
The supplied SVM does not exist. |
| 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 |
svm
SVM, applies only to SVM-scoped objects.
| 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. |