Share via


RedisEnterpriseCacheExtensions.GetClusterResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ClusterResource object.

Applies to