Udostępnij za pośrednictwem


RedisEnterpriseCacheExtensions.GetClusters Method

Definition

Overloads

GetClusters(ResourceGroupResource)

Gets a collection of ClusterResources in the ResourceGroupResource.

GetClusters(SubscriptionResource, CancellationToken)

Gets all RedisEnterprise clusters in the specified subscription. Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise Operation Id: RedisEnterprise_List

GetClusters(ResourceGroupResource)

Source:
RedisEnterpriseCacheExtensions.cs

Gets a collection of ClusterResources in the ResourceGroupResource.

public static Azure.ResourceManager.RedisEnterpriseCache.ClusterCollection GetClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.RedisEnterpriseCache.ClusterCollection
<Extension()>
Public Function GetClusters (resourceGroupResource As ResourceGroupResource) As ClusterCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ClusterResources and their operations over a ClusterResource.

Applies to

GetClusters(SubscriptionResource, CancellationToken)

Source:
RedisEnterpriseCacheExtensions.cs

Gets all RedisEnterprise clusters in the specified subscription. Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cache/redisEnterprise Operation Id: RedisEnterprise_List

public static Azure.Pageable<Azure.ResourceManager.RedisEnterpriseCache.ClusterResource> GetClusters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetClusters : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RedisEnterpriseCache.ClusterResource>
<Extension()>
Public Function GetClusters (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ClusterResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ClusterResource that may take multiple service requests to iterate over.

Applies to