NetAppExtensions.GetNetAppElasticAccounts 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.
Overloads
| Name | Description |
|---|---|
| GetNetAppElasticAccounts(SubscriptionResource, CancellationToken) |
List and describe all NetApp elastic accounts in the subscription. <item> Mocking. To mock this method, please mock GetNetAppElasticAccounts(CancellationToken) instead. </item> |
| GetNetAppElasticAccounts(ResourceGroupResource) |
Gets a collection of NetAppElasticAccounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetNetAppElasticAccounts() instead. </item> |
GetNetAppElasticAccounts(SubscriptionResource, CancellationToken)
- Source:
- ElasticCompatibility.cs
- Source:
- NetAppExtensions.cs
List and describe all NetApp elastic accounts in the subscription. <item> Mocking. To mock this method, please mock GetNetAppElasticAccounts(CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.NetApp.NetAppElasticAccountResource> GetNetAppElasticAccounts(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetAppElasticAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.NetAppElasticAccountResource>
<Extension()>
Public Function GetNetAppElasticAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetAppElasticAccountResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetAppElasticAccountResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.
Applies to
GetNetAppElasticAccounts(ResourceGroupResource)
- Source:
- ElasticCompatibility.cs
- Source:
- NetAppExtensions.cs
Gets a collection of NetAppElasticAccounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetNetAppElasticAccounts() instead. </item>
public static Azure.ResourceManager.NetApp.NetAppElasticAccountCollection GetNetAppElasticAccounts(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetAppElasticAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetApp.NetAppElasticAccountCollection
<Extension()>
Public Function GetNetAppElasticAccounts (resourceGroupResource As ResourceGroupResource) As NetAppElasticAccountCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
Returns
An object representing collection of NetAppElasticAccounts and their operations over a NetAppElasticAccountResource.
Exceptions
resourceGroupResource is null.