RedisEnterpriseCacheExtensions.GetClusters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro