azure.mgmt.redisenterprise.operations module

class azure.mgmt.redisenterprise.operations.AccessPolicyAssignmentOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s access_policy_assignment attribute.

begin_create_update(resource_group_name: str, cluster_name: str, database_name: str, access_policy_assignment_name: str, parameters: AccessPolicyAssignment | IO[bytes], **kwargs: Any) LROPoller[AccessPolicyAssignment][source]

Creates/Updates a particular access policy assignment for a database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • access_policy_assignment_name (str) – The name of the Redis Enterprise database access policy assignment. Required.

  • parameters (AccessPolicyAssignment or IO[bytes]) – Parameters supplied to the create access policy assignment for database. Is either a AccessPolicyAssignment type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either AccessPolicyAssignment or the result of cls(response)

Return type:

LROPoller[AccessPolicyAssignment]

Raises:

HttpResponseError

begin_delete(resource_group_name: str, cluster_name: str, database_name: str, access_policy_assignment_name: str, **kwargs: Any) LROPoller[None][source]

Deletes a single access policy assignment.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • access_policy_assignment_name (str) – The name of the Redis Enterprise database access policy assignment. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

get(resource_group_name: str, cluster_name: str, database_name: str, access_policy_assignment_name: str, **kwargs: Any) AccessPolicyAssignment[source]

Gets information about access policy assignment for database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • access_policy_assignment_name (str) – The name of the Redis Enterprise database access policy assignment. Required.

Returns:

AccessPolicyAssignment or the result of cls(response)

Return type:

AccessPolicyAssignment

Raises:

HttpResponseError

list(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) Iterable[AccessPolicyAssignment][source]

Gets all access policy assignments..

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

Returns:

An iterator like instance of either AccessPolicyAssignment or the result of cls(response)

Return type:

ItemPaged[AccessPolicyAssignment]

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.DatabasesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s databases attribute.

begin_create(resource_group_name: str, cluster_name: str, database_name: str, parameters: Database | IO[bytes], **kwargs: Any) LROPoller[Database][source]

Creates a database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (Database or IO[bytes]) – Parameters supplied to the create or update database operation. Is either a Database type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either Database or the result of cls(response)

Return type:

LROPoller[Database]

Raises:

HttpResponseError

begin_delete(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) LROPoller[None][source]

Deletes a single database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_export(resource_group_name: str, cluster_name: str, database_name: str, parameters: ExportClusterParameters | IO[bytes], **kwargs: Any) LROPoller[None][source]

Exports a database file from target database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (ExportClusterParameters or IO[bytes]) – Storage information for exporting into the cluster. Is either a ExportClusterParameters type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_flush(resource_group_name: str, cluster_name: str, database_name: str, parameters: FlushParameters | IO[bytes] | None = None, **kwargs: Any) LROPoller[None][source]

Flushes all the keys in this database and also from its linked databases.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (FlushParameters or IO[bytes]) – Information identifying the databases to be flushed. Is either a FlushParameters type or a IO[bytes] type. Default value is None.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

Forcibly recreates an existing database on the specified cluster, and rejoins it to an existing replication group. IMPORTANT NOTE: All data in this database will be discarded, and the database will temporarily be unavailable while rejoining the replication group.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (ForceLinkParameters or IO[bytes]) – Information identifying the database to be unlinked. Is either a ForceLinkParameters type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

Forcibly removes the link to the specified database resource.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (ForceUnlinkParameters or IO[bytes]) – Information identifying the database to be unlinked. Is either a ForceUnlinkParameters type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_import_method(resource_group_name: str, cluster_name: str, database_name: str, parameters: ImportClusterParameters | IO[bytes], **kwargs: Any) LROPoller[None][source]

Imports database files to target database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (ImportClusterParameters or IO[bytes]) – Storage information for importing into the cluster. Is either a ImportClusterParameters type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_regenerate_key(resource_group_name: str, cluster_name: str, database_name: str, parameters: RegenerateKeyParameters | IO[bytes], **kwargs: Any) LROPoller[AccessKeys][source]

Regenerates the Redis Enterprise database’s access keys.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (RegenerateKeyParameters or IO[bytes]) – Specifies which key to regenerate. Is either a RegenerateKeyParameters type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either AccessKeys or the result of cls(response)

Return type:

LROPoller[AccessKeys]

Raises:

HttpResponseError

begin_update(resource_group_name: str, cluster_name: str, database_name: str, parameters: DatabaseUpdate | IO[bytes], **kwargs: Any) LROPoller[Database][source]

Updates a database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

  • parameters (DatabaseUpdate or IO[bytes]) – Parameters supplied to the create or update database operation. Is either a DatabaseUpdate type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either Database or the result of cls(response)

Return type:

LROPoller[Database]

Raises:

HttpResponseError

begin_upgrade_db_redis_version(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) LROPoller[None][source]

Upgrades the database Redis version to the latest available.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

get(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) Database[source]

Gets information about a database in a Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

Returns:

Database or the result of cls(response)

Return type:

Database

Raises:

HttpResponseError

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) Iterable[Database][source]

Gets all databases in the specified Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

An iterator like instance of either Database or the result of cls(response)

Return type:

ItemPaged[Database]

Raises:

HttpResponseError

list_keys(resource_group_name: str, cluster_name: str, database_name: str, **kwargs: Any) AccessKeys[source]

Retrieves the access keys for the Redis Enterprise database.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • database_name (str) – The name of the Redis Enterprise database. Required.

Returns:

AccessKeys or the result of cls(response)

Return type:

AccessKeys

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s operations attribute.

list(**kwargs: Any) Iterable[Operation][source]

Lists all of the available REST API operations of the Microsoft.Cache provider.

Returns:

An iterator like instance of either Operation or the result of cls(response)

Return type:

ItemPaged[Operation]

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.OperationsStatusOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s operations_status attribute.

get(location: str, operation_id: str, **kwargs: Any) OperationStatus[source]

Gets the status of operation.

Parameters:
  • location (str) – The name of Azure region. Required.

  • operation_id (str) – The ID of an ongoing async operation. Required.

Returns:

OperationStatus or the result of cls(response)

Return type:

OperationStatus

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.PrivateEndpointConnectionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s private_endpoint_connections attribute.

begin_delete(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, **kwargs: Any) LROPoller[None][source]

Deletes the specified private endpoint connection associated with the Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_put(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, properties: PrivateEndpointConnection | IO[bytes], **kwargs: Any) LROPoller[PrivateEndpointConnection][source]

Updates the state of the specified private endpoint connection associated with the Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

  • properties (PrivateEndpointConnection or IO[bytes]) – The private endpoint connection properties. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response)

Return type:

LROPoller[PrivateEndpointConnection]

Raises:

HttpResponseError

get(resource_group_name: str, cluster_name: str, private_endpoint_connection_name: str, **kwargs: Any) PrivateEndpointConnection[source]

Gets the specified private endpoint connection associated with the Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection associated with the Azure resource. Required.

Returns:

PrivateEndpointConnection or the result of cls(response)

Return type:

PrivateEndpointConnection

Raises:

HttpResponseError

list(resource_group_name: str, cluster_name: str, **kwargs: Any) Iterable[PrivateEndpointConnection][source]

Lists all the private endpoint connections associated with the Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

An iterator like instance of either PrivateEndpointConnection or the result of cls(response)

Return type:

ItemPaged[PrivateEndpointConnection]

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.PrivateLinkResourcesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s private_link_resources attribute.

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) Iterable[PrivateLinkResource][source]

Gets the private link resources that need to be created for a Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

An iterator like instance of either PrivateLinkResource or the result of cls(response)

Return type:

ItemPaged[PrivateLinkResource]

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>
class azure.mgmt.redisenterprise.operations.RedisEnterpriseOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through RedisEnterpriseManagementClient’s redis_enterprise attribute.

begin_create(resource_group_name: str, cluster_name: str, parameters: Cluster | IO[bytes], **kwargs: Any) LROPoller[Cluster][source]

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

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • parameters (Cluster or IO[bytes]) – Parameters supplied to the Create Redis Enterprise operation. Is either a Cluster type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either Cluster or the result of cls(response)

Return type:

LROPoller[Cluster]

Raises:

HttpResponseError

begin_delete(resource_group_name: str, cluster_name: str, **kwargs: Any) LROPoller[None][source]

Deletes a Redis Enterprise cache cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

An instance of LROPoller that returns either None or the result of cls(response)

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_update(resource_group_name: str, cluster_name: str, parameters: ClusterUpdate | IO[bytes], **kwargs: Any) LROPoller[Cluster][source]

Updates an existing Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

  • parameters (ClusterUpdate or IO[bytes]) – Parameters supplied to the Update Redis Enterprise operation. Is either a ClusterUpdate type or a IO[bytes] type. Required.

Returns:

An instance of LROPoller that returns either Cluster or the result of cls(response)

Return type:

LROPoller[Cluster]

Raises:

HttpResponseError

get(resource_group_name: str, cluster_name: str, **kwargs: Any) Cluster[source]

Gets information about a Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

Cluster or the result of cls(response)

Return type:

Cluster

Raises:

HttpResponseError

list(**kwargs: Any) Iterable[Cluster][source]

Lists all Redis Enterprise clusters in the specified subscription.

Returns:

An iterator like instance of either Cluster or the result of cls(response)

Return type:

ItemPaged[Cluster]

Raises:

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[Cluster][source]

Lists all Redis Enterprise clusters in a resource group.

Parameters:

resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

Returns:

An iterator like instance of either Cluster or the result of cls(response)

Return type:

ItemPaged[Cluster]

Raises:

HttpResponseError

list_skus_for_scaling(resource_group_name: str, cluster_name: str, **kwargs: Any) SkuDetailsList[source]

Lists the available SKUs for scaling the Redis Enterprise cluster.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • cluster_name (str) – The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens. Required.

Returns:

SkuDetailsList or the result of cls(response)

Return type:

SkuDetailsList

Raises:

HttpResponseError

models = <module 'azure.mgmt.redisenterprise.models' from '/mnt/vss/_work/1/s/sdk/redisenterprise/azure-mgmt-redisenterprise/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/redisenterprise/models/__init__.py'>