Share via


RedisEnterpriseClusterCollection Class

Definition

A class representing a collection of RedisEnterpriseClusterResource and their operations. Each RedisEnterpriseClusterResource in the collection will belong to the same instance of ResourceGroupResource. To get a RedisEnterpriseClusterCollection instance call the GetRedisEnterpriseClusters method from an instance of ResourceGroupResource.

public class RedisEnterpriseClusterCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RedisEnterprise.RedisEnterpriseClusterResource>
type RedisEnterpriseClusterCollection = class
    inherit ArmCollection
    interface seq<RedisEnterpriseClusterResource>
    interface IEnumerable
    interface IAsyncEnumerable<RedisEnterpriseClusterResource>
Public Class RedisEnterpriseClusterCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of RedisEnterpriseClusterResource), IEnumerable(Of RedisEnterpriseClusterResource)
Inheritance
RedisEnterpriseClusterCollection
Implements

Constructors

RedisEnterpriseClusterCollection()

Initializes a new instance of the RedisEnterpriseClusterCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, RedisEnterpriseClusterData, CancellationToken)

Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Create
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
CreateOrUpdateAsync(WaitUntil, String, RedisEnterpriseClusterData, CancellationToken)

Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Create
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
Get(String, CancellationToken)

Gets information about a Redis Enterprise cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
GetAll(CancellationToken)

Lists all Redis Enterprise clusters in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise
  • Operation Id: RedisEnterprise_ListByResourceGroup
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
GetAllAsync(CancellationToken)

Lists all Redis Enterprise clusters in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise
  • Operation Id: RedisEnterprise_ListByResourceGroup
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
GetAsync(String, CancellationToken)

Gets information about a Redis Enterprise cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redisEnterprise/{clusterName}
  • Operation Id: RedisEnterprise_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: RedisEnterpriseClusterResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<RedisEnterpriseClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RedisEnterpriseClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to