Share via


NetAppExtensions.GetNetAppAccountResource Method

Definition

Gets an object representing a Azure.ResourceManager.NetApp.NetAppAccountResource along with the instance operations that can be performed on it but with no data. You can use Azure.ResourceManager.NetApp.NetAppAccountResource.CreateResourceIdentifier(System.String,System.String,System.String) to create a Azure.ResourceManager.NetApp.NetAppAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetNetAppAccountResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.NetApp.NetAppAccountResource GetNetAppAccountResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetNetAppAccountResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.NetAppAccountResource
<Extension()>
Public Function GetNetAppAccountResource (client As ArmClient, id As ResourceIdentifier) As NetAppAccountResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Azure.ResourceManager.NetApp.NetAppAccountResource

Returns a Azure.ResourceManager.NetApp.NetAppAccountResource object.

Exceptions

client is null.

Applies to