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

Clusters interface

表示群集的接口。

方法

beginCreateOrUpdate(string, string, Cluster, ClustersCreateOrUpdateOptionalParams)

创建新群集或更新群集的属性(如果存在)。

beginCreateOrUpdateAndWait(string, string, Cluster, ClustersCreateOrUpdateOptionalParams)

创建新群集或更新群集的属性(如果存在)。

beginDelete(string, string, ClustersDeleteOptionalParams)

删除提供的群集。

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

删除提供的群集。

beginDeploy(string, string, ClustersDeployOptionalParams)

将群集部署到提供的机架。

beginDeployAndWait(string, string, ClustersDeployOptionalParams)

将群集部署到提供的机架。

beginUpdate(string, string, ClustersUpdateOptionalParams)

修补提供的群集的属性,或更新与群集关联的标记。 属性和标记更新可以独立完成。

beginUpdateAndWait(string, string, ClustersUpdateOptionalParams)

修补提供的群集的属性,或更新与群集关联的标记。 属性和标记更新可以独立完成。

beginUpdateVersion(string, string, ClusterUpdateVersionParameters, ClustersUpdateVersionOptionalParams)

将提供的群集的版本更新为可用的受支持版本之一。

beginUpdateVersionAndWait(string, string, ClusterUpdateVersionParameters, ClustersUpdateVersionOptionalParams)

将提供的群集的版本更新为可用的受支持版本之一。

get(string, string, ClustersGetOptionalParams)

获取所提供群集的属性。

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

获取提供的资源组中的群集列表。

listBySubscription(ClustersListBySubscriptionOptionalParams)

获取提供的订阅中的群集列表。

方法详细信息

beginCreateOrUpdate(string, string, Cluster, ClustersCreateOrUpdateOptionalParams)

创建新群集或更新群集的属性(如果存在)。

function beginCreateOrUpdate(resourceGroupName: string, clusterName: string, clusterParameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Cluster>, Cluster>>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

clusterParameters
Cluster

请求正文。

options
ClustersCreateOrUpdateOptionalParams

选项参数。

返回

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

beginCreateOrUpdateAndWait(string, string, Cluster, ClustersCreateOrUpdateOptionalParams)

创建新群集或更新群集的属性(如果存在)。

function beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, clusterParameters: Cluster, options?: ClustersCreateOrUpdateOptionalParams): Promise<Cluster>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

clusterParameters
Cluster

请求正文。

options
ClustersCreateOrUpdateOptionalParams

选项参数。

返回

Promise<Cluster>

beginDelete(string, string, ClustersDeleteOptionalParams)

删除提供的群集。

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

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, ClustersDeleteOptionalParams)

删除提供的群集。

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

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersDeleteOptionalParams

选项参数。

返回

Promise<void>

beginDeploy(string, string, ClustersDeployOptionalParams)

将群集部署到提供的机架。

function beginDeploy(resourceGroupName: string, clusterName: string, options?: ClustersDeployOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersDeployOptionalParams

选项参数。

返回

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

beginDeployAndWait(string, string, ClustersDeployOptionalParams)

将群集部署到提供的机架。

function beginDeployAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeployOptionalParams): Promise<OperationStatusResult>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersDeployOptionalParams

选项参数。

返回

beginUpdate(string, string, ClustersUpdateOptionalParams)

修补提供的群集的属性,或更新与群集关联的标记。 属性和标记更新可以独立完成。

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

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersUpdateOptionalParams

选项参数。

返回

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

beginUpdateAndWait(string, string, ClustersUpdateOptionalParams)

修补提供的群集的属性,或更新与群集关联的标记。 属性和标记更新可以独立完成。

function beginUpdateAndWait(resourceGroupName: string, clusterName: string, options?: ClustersUpdateOptionalParams): Promise<Cluster>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersUpdateOptionalParams

选项参数。

返回

Promise<Cluster>

beginUpdateVersion(string, string, ClusterUpdateVersionParameters, ClustersUpdateVersionOptionalParams)

将提供的群集的版本更新为可用的受支持版本之一。

function beginUpdateVersion(resourceGroupName: string, clusterName: string, clusterUpdateVersionParameters: ClusterUpdateVersionParameters, options?: ClustersUpdateVersionOptionalParams): Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

clusterUpdateVersionParameters
ClusterUpdateVersionParameters

请求正文。

options
ClustersUpdateVersionOptionalParams

选项参数。

返回

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

beginUpdateVersionAndWait(string, string, ClusterUpdateVersionParameters, ClustersUpdateVersionOptionalParams)

将提供的群集的版本更新为可用的受支持版本之一。

function beginUpdateVersionAndWait(resourceGroupName: string, clusterName: string, clusterUpdateVersionParameters: ClusterUpdateVersionParameters, options?: ClustersUpdateVersionOptionalParams): Promise<OperationStatusResult>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

clusterUpdateVersionParameters
ClusterUpdateVersionParameters

请求正文。

options
ClustersUpdateVersionOptionalParams

选项参数。

返回

get(string, string, ClustersGetOptionalParams)

获取所提供群集的属性。

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

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ClustersGetOptionalParams

选项参数。

返回

Promise<Cluster>

listByResourceGroup(string, ClustersListByResourceGroupOptionalParams)

获取提供的资源组中的群集列表。

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

参数

resourceGroupName

string

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

返回

listBySubscription(ClustersListBySubscriptionOptionalParams)

获取提供的订阅中的群集列表。

function listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cluster, Cluster[], PageSettings>

参数

返回