Condividi tramite


MockableNetAppResourceGroupResource.GetNetAppElasticAccountAsync Method

Definition

Get the NetApp Elastic Account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}
  • Operation Id: ElasticAccounts_Get
  • Default Api Version: 2025-12-15-preview
  • Resource: NetAppElasticAccountResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>> GetNetAppElasticAccountAsync(string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppElasticAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>>
override this.GetNetAppElasticAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>>
Public Overridable Function GetNetAppElasticAccountAsync (accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppElasticAccountResource))

Parameters

accountName
String

The name of the ElasticAccount.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

accountName is null.

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

Applies to