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

Servers interface

表示服务器的接口。

方法

get(string, string, string, ServersGetOptionalParams)

获取有关群集中的服务器的信息。

listByCluster(string, string, ServersListByClusterOptionalParams)

列出群集的服务器。

方法详细信息

get(string, string, string, ServersGetOptionalParams)

获取有关群集中的服务器的信息。

function get(resourceGroupName: string, clusterName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ClusterServer>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

serverName

string

服务器的名称。

options
ServersGetOptionalParams

选项参数。

返回

Promise<ClusterServer>

listByCluster(string, string, ServersListByClusterOptionalParams)

列出群集的服务器。

function listByCluster(resourceGroupName: string, clusterName: string, options?: ServersListByClusterOptionalParams): PagedAsyncIterableIterator<ClusterServer, ClusterServer[], PageSettings>

参数

resourceGroupName

string

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

clusterName

string

群集的名称。

options
ServersListByClusterOptionalParams

选项参数。

返回