Language

MockableNetAppResourceGroupResource.GetNetAppExternalClusterAsync Method

Definition

Get the External Cluster

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/externalClusters/{externalClusterName}.
  • Operation Id. : ExternalClusters_Get.
  • Default Api Version. : 2026-09-15-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppExternalClusterResource>> GetNetAppExternalClusterAsync(string externalClusterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppExternalClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppExternalClusterResource>>
override this.GetNetAppExternalClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppExternalClusterResource>>
Public Overridable Function GetNetAppExternalClusterAsync (externalClusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppExternalClusterResource))

Parameters

externalClusterName
String

The name of the ExternalCluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

externalClusterName is null.

externalClusterName is an empty string, and was expected to be non-empty.

Applies to