你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RedisEnterprise interface

表示 RedisEnterprise 的接口。

方法

beginCreate(string, string, Cluster, RedisEnterpriseCreateOptionalParams)

创建或更新现有缓存群集(覆盖/重新创建,并可能停机) 缓存群集

beginCreateAndWait(string, string, Cluster, RedisEnterpriseCreateOptionalParams)

创建或更新现有缓存群集(覆盖/重新创建,并可能停机) 缓存群集

beginDelete(string, string, RedisEnterpriseDeleteOptionalParams)

删除 Redis Enterprise 缓存群集。

beginDeleteAndWait(string, string, RedisEnterpriseDeleteOptionalParams)

删除 Redis Enterprise 缓存群集。

beginUpdate(string, string, ClusterUpdate, RedisEnterpriseUpdateOptionalParams)

更新现有的 Redis Enterprise 群集

beginUpdateAndWait(string, string, ClusterUpdate, RedisEnterpriseUpdateOptionalParams)

更新现有的 Redis Enterprise 群集

get(string, string, RedisEnterpriseGetOptionalParams)

获取有关 Redis Enterprise 集群的信息

list(RedisEnterpriseListOptionalParams)

列出指定订阅中的所有 Redis Enterprise 集群。

listByResourceGroup(string, RedisEnterpriseListByResourceGroupOptionalParams)

列出资源组中的所有 Redis Enterprise 群集。

listSkusForScaling(string, string, RedisEnterpriseListSkusForScalingOptionalParams)

列出用于缩放 Redis Enterprise 群集的可用 SKU。

方法详细信息

beginCreate(string, string, Cluster, RedisEnterpriseCreateOptionalParams)

创建或更新现有缓存群集(覆盖/重新创建,并可能停机) 缓存群集

function beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<SimplePollerLike<OperationState<Cluster>, Cluster>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

parameters
Cluster

提供给创建 Redis Enterprise作的参数。

options
RedisEnterpriseCreateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<Cluster>, Cluster>>

beginCreateAndWait(string, string, Cluster, RedisEnterpriseCreateOptionalParams)

创建或更新现有缓存群集(覆盖/重新创建,并可能停机) 缓存群集

function beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: RedisEnterpriseCreateOptionalParams): Promise<Cluster>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

parameters
Cluster

提供给创建 Redis Enterprise作的参数。

options
RedisEnterpriseCreateOptionalParams

选项参数。

返回

Promise<Cluster>

beginDelete(string, string, RedisEnterpriseDeleteOptionalParams)

删除 Redis Enterprise 缓存群集。

function beginDelete(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

options
RedisEnterpriseDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, RedisEnterpriseDeleteOptionalParams)

删除 Redis Enterprise 缓存群集。

function beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

options
RedisEnterpriseDeleteOptionalParams

选项参数。

返回

Promise<void>

beginUpdate(string, string, ClusterUpdate, RedisEnterpriseUpdateOptionalParams)

更新现有的 Redis Enterprise 群集

function beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Cluster>, Cluster>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

parameters
ClusterUpdate

提供给更新 Redis Enterprise作的参数。

options
RedisEnterpriseUpdateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<Cluster>, Cluster>>

beginUpdateAndWait(string, string, ClusterUpdate, RedisEnterpriseUpdateOptionalParams)

更新现有的 Redis Enterprise 群集

function beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<Cluster>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

parameters
ClusterUpdate

提供给更新 Redis Enterprise作的参数。

options
RedisEnterpriseUpdateOptionalParams

选项参数。

返回

Promise<Cluster>

get(string, string, RedisEnterpriseGetOptionalParams)

获取有关 Redis Enterprise 集群的信息

function get(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseGetOptionalParams): Promise<Cluster>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

options
RedisEnterpriseGetOptionalParams

选项参数。

返回

Promise<Cluster>

list(RedisEnterpriseListOptionalParams)

列出指定订阅中的所有 Redis Enterprise 集群。

function list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

参数

options
RedisEnterpriseListOptionalParams

选项参数。

返回

listByResourceGroup(string, RedisEnterpriseListByResourceGroupOptionalParams)

列出资源组中的所有 Redis Enterprise 群集。

function listByResourceGroup(resourceGroupName: string, options?: RedisEnterpriseListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

返回

listSkusForScaling(string, string, RedisEnterpriseListSkusForScalingOptionalParams)

列出用于缩放 Redis Enterprise 群集的可用 SKU。

function listSkusForScaling(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseListSkusForScalingOptionalParams): Promise<SkuDetailsList>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

clusterName

string

Redis Enterprise 群集的名称。 名称长度必须为 1-60 个字符。 允许的字符(A-Z、a-z、0-9)和连字符(-)。 不能有前导和尾随和连续连字符

返回

Promise<SkuDetailsList>