다음을 통해 공유


StorageSyncExtensions.GetStorageSyncGroupResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a StorageSyncGroupResource object.

Exceptions

client is null.

Applies to