Sdílet prostřednictvím


NetAppExtensions.GetNetAppAccounts Method

Definition

Overloads

GetNetAppAccounts(ResourceGroupResource)

Gets a collection of NetAppAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetAppAccounts() instead.

GetNetAppAccounts(SubscriptionResource, CancellationToken)

List and describe all NetApp accounts in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: Azure.ResourceManager.NetApp.NetAppAccountResource

GetNetAppAccounts(ResourceGroupResource)

Source:
NetAppExtensions.cs
Source:
NetAppExtensions.cs

Gets a collection of NetAppAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetAppAccounts() instead.

public static Azure.ResourceManager.NetApp.NetAppAccountCollection GetNetAppAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetAppAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetApp.NetAppAccountCollection
<Extension()>
Public Function GetNetAppAccounts (resourceGroupResource As ResourceGroupResource) As NetAppAccountCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of NetAppAccountResources and their operations over a NetAppAccountResource.

Exceptions

resourceGroupResource is null.

Applies to

GetNetAppAccounts(SubscriptionResource, CancellationToken)

Source:
NetAppExtensions.cs
Source:
NetAppExtensions.cs

List and describe all NetApp accounts in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: Azure.ResourceManager.NetApp.NetAppAccountResource
public static Azure.Pageable<Azure.ResourceManager.NetApp.NetAppAccountResource> GetNetAppAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetAppAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.NetAppAccountResource>
<Extension()>
Public Function GetNetAppAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetAppAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Pageable<Azure.ResourceManager.NetApp.NetAppAccountResource>

A collection of Azure.ResourceManager.NetApp.NetAppAccountResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to