ExternalClusterResource.GetClusterPeer(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the Cluster Peer.
public virtual Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource> GetClusterPeer(string peerId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetClusterPeer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource>
override this.GetClusterPeer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.ClusterPeerResource>
Public Overridable Function GetClusterPeer (peerId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ClusterPeerResource)
Parameters
- peerId
- String
The name of the ClusterPeer.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
peerId is null.
peerId is an empty string, and was expected to be non-empty.