Поделиться через


StorageExtensions.GetFileServiceUsageResource Method

Definition

Gets an object representing a FileServiceUsageResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a FileServiceUsageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFileServiceUsageResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a FileServiceUsageResource object.

Exceptions

client is null.

Applies to