Create a new PeerConnection object.
post
https://{host}:{port}/{basePath}/PeerConnection/
create a new PeerConnection object.
Request
Header Parameters
-
Auth-Token(required): string
Auth-Token received from a successful login response.
-
opc-request-id: string
Unique identifier for the request
Supported Media Types
- application/x-www-form-urlencoded
Root Schema : schema
Type:
Show Source
object-
peerConnection: object
PeerConnection
The PeerConnection object represents one DR peering between two different PCA racks.
Nested Schema : PeerConnection
Type:
objectThe PeerConnection object represents one DR peering between two different PCA racks.
Show Source
-
description(required): string
Maximum Length:
1000 -
displayName(required): string
Maximum Length:
200 -
faultIds: array
faultIds
-
generation: integer
-
lifecycleState: string
Allowed Values:
[ "CREATING", "WAITING_FOR_CREATE_PEER_CONNECTION", "WAITING_FOR_PEER", "CREATE_ZFSSA_PEER_CONNECTION", "WAIT_FOR_CREATE_ZFSSA_PEER_CONNECTION", "TRUST_EXCHANGE", "SHARING_TRUST", "ACTIVE", "DELETING", "DELETED", "WAIT_FOR_DELETE_ZFSSA_PEER_CONNECTION", "WAIT_FOR_DELETE_PEER_CONNECTION", "UPDATING", "UPDATED", "FAILED", "FAILED_DELETING_ZFSSA_PEER_CONNECTION", "FAILED_DELETING_PEER_CONNECTION", "CLEANUP_FAILURE", "CLEANUP_SUCCESS", "UNKNOWN", "ERROR" ] -
lifecycleStateDescription: string
Maximum Length:
1000 -
lifecycleSubState: string
Allowed Values:
[ "CREATING", "WAITING_FOR_PEER", "WAITING_FOR_CREATE_PEER_CONNECTION", "CREATE_ZFSSA_PEER_CONNECTION", "WAIT_FOR_CREATE_ZFSSA_PEER_CONNECTION", "TRUST_EXCHANGE", "SHARING_TRUST", "ACTIVE", "DELETING", "DELETED", "WAIT_FOR_DELETE_ZFSSA_PEER_CONNECTION", "WAIT_FOR_DELETE_PEER_CONNECTION", "UPDATING", "UPDATED", "FAILED", "FAILED_CREATING_PEERCONNECTION", "FAILED_TRUST_EXCHANGE", "FAILED_ZFSSA_PEERCONNECTION", "CLEANUP_FAILURE", "CLEANUP_SUCCESS", "UNKNOWN", "ERROR" ] -
localEndpoint1Ip(required): string
Maximum Length:
64 -
localEndpoint2Ip(required): string
Maximum Length:
64 -
name(required): string
Maximum Length:
256 -
peerAdminCaChain(required): string
Maximum Length:
10000 -
peerAdminHostname(required): string
Maximum Length:
64 -
peerAdminPassword(required): string
Maximum Length:
100 -
peerAdminUserName(required): string
Maximum Length:
64 -
peerDomainName(required): string
Maximum Length:
64 -
peerSerialNumber(required): string
Maximum Length:
100 -
peerSystemName(required): string
Maximum Length:
64 -
progressRecordIds: array
progressRecordIds
-
remoteAsn(required): string
Maximum Length:
64 -
remoteEndpoint1Ip(required): string
Maximum Length:
64 -
remoteEndpoint2Ip(required): string
Maximum Length:
64 -
remoteSpine1Ip(required): string
Maximum Length:
64 -
remoteSpine2Ip(required): string
Maximum Length:
64 -
timeCreated: string
Maximum Length:
64 -
timeUpdated: string
Maximum Length:
64 -
workState: string
Nested Schema : faultIds
Type:
arrayNested Schema : progressRecordIds
Type:
arraySecurity
-
basicAuth: http
Type:
http
Response
Supported Media Types
- application/json
200 Response
Request completed successfully.
Root Schema : Job
Type:
objectA Job represents the unit of work required to perform a particular action or set of actions. The Job Id value represents the time when the Job was created in milliseconds since epoch. This will be a unique value in relation to other Job objects.
Show Source
-
abortedUser: string
Maximum Length:
256 -
associatedObjId: string
Maximum Length:
128 -
associatedObjType: string
Maximum Length:
256 -
endTime: timestamp
Read-only and this operation is unsupported. @param endTime Time in milliseconds.
-
jobName(required): string
Maximum Length:
256 -
progressMessage: string
Maximum Length:
1024Read-only and this operation is unsupported. @param progressMessage. -
result: AssociatedObj
-
runState: string
Allowed Values:
[ "ACTIVE", "SUCCEEDED", "FAILED", "ABORTED" ] -
startTime: timestamp
Read-only and this operation is unsupported. @param startTime The startTime to set.
-
transcript: string
Maximum Length:
1000 -
username: string
Maximum Length:
64 -
workItemIds: array
workItemIds
-
workRequestId: string
Maximum Length:
256
Nested Schema : workItemIds
Type:
array400 Response
Bad request
Root Schema : Error
Type:
Show Source
object-
code(required): string
A short error code that defines the error, meant for programmatic parsing.
-
message(required): string
A human-readable error string.
401 Response
Unauthorized
Root Schema : Error
Type:
Show Source
object-
code(required): string
A short error code that defines the error, meant for programmatic parsing.
-
message(required): string
A human-readable error string.
404 Response
Not Found
Root Schema : Error
Type:
Show Source
object-
code(required): string
A short error code that defines the error, meant for programmatic parsing.
-
message(required): string
A human-readable error string.
500 Response
Internal Server Error
Root Schema : Error
Type:
Show Source
object-
code(required): string
A short error code that defines the error, meant for programmatic parsing.
-
message(required): string
A human-readable error string.
Default Response
An error has occurred
Root Schema : Error
Type:
Show Source
object-
code(required): string
A short error code that defines the error, meant for programmatic parsing.
-
message(required): string
A human-readable error string.