public interface CmPeersResourceV11 extends CmPeersResource
Modifier and Type | Method and Description |
---|---|
ApiCmPeer |
deletePeer(String peerName,
ApiCmPeerType peerType)
Delete Cloudera Manager peer.
|
ApiCmPeer |
readPeer(String peerName,
ApiCmPeerType peerType)
Fetch information about an existing Cloudera Manager peer.
|
ApiCommand |
testPeer(String peerName,
ApiCmPeerType peerType)
Test the connectivity of a peer.
|
createPeer, deletePeer, listPeers, readPeer, testPeer, updatePeer
@Path(value="/{peerName}") ApiCmPeer readPeer(String peerName, ApiCmPeerType peerType)
Available since API v11. Only available with Cloudera Manager Enterprise Edition.
peerName
- Name of peer to retrieve.peerType
- Type of peer to retrieve. If null, REPLICATION peer type
will be returned.@Path(value="/{peerName}") ApiCmPeer deletePeer(String peerName, ApiCmPeerType peerType)
An attempt will be made to contact the peer server, so that the configured user can be deleted.. Errors while contacting the remote server are non-fatal.
Available since API v11. Only available with Cloudera Manager Enterprise Edition.
peerName
- Name of peer to delete.peerType
- Type of peer to delete. If null, REPLICATION peer type will
be deleted.@Path(value="/{peerName}/commands/test") ApiCommand testPeer(String peerName, ApiCmPeerType peerType)
Available since API v11. Only available with Cloudera Manager Enterprise Edition.
peerName
- Name of peer to test.peerType
- Type of peer to test. If null, REPLICATION peer type will
be tested.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.