Share via


MockableStorageCacheArmClient.GetStorageTargetResource Method

Definition

Gets an object representing a StorageTargetResource 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 StorageTargetResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.StorageCache.StorageTargetResource GetStorageTargetResource (Azure.Core.ResourceIdentifier id);
abstract member GetStorageTargetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.StorageCache.StorageTargetResource
override this.GetStorageTargetResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.StorageCache.StorageTargetResource
Public Overridable Function GetStorageTargetResource (id As ResourceIdentifier) As StorageTargetResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a StorageTargetResource object.

Applies to