Share via


MockableStorageCacheArmClient.GetStorageCacheResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a StorageCacheResource object.

Applies to