Share via


MockableNetAppResourceGroupResource.GetNetAppElasticAccount 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 Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource> GetNetAppElasticAccount(string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetAppElasticAccount : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>
override this.GetNetAppElasticAccount : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>
Public Overridable Function GetNetAppElasticAccount (accountName As String, Optional cancellationToken As CancellationToken = Nothing) As 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