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

CloudVmClusters interface

表示 CloudVmClusters 的接口。

方法

beginAddVms(string, string, AddRemoveDbNode, CloudVmClustersAddVmsOptionalParams)

将 VM 添加到 VM 群集

beginAddVmsAndWait(string, string, AddRemoveDbNode, CloudVmClustersAddVmsOptionalParams)

将 VM 添加到 VM 群集

beginCreateOrUpdate(string, string, CloudVmCluster, CloudVmClustersCreateOrUpdateOptionalParams)

创建 CloudVmCluster

beginCreateOrUpdateAndWait(string, string, CloudVmCluster, CloudVmClustersCreateOrUpdateOptionalParams)

创建 CloudVmCluster

beginDelete(string, string, CloudVmClustersDeleteOptionalParams)

删除 CloudVmCluster

beginDeleteAndWait(string, string, CloudVmClustersDeleteOptionalParams)

删除 CloudVmCluster

beginRemoveVms(string, string, AddRemoveDbNode, CloudVmClustersRemoveVmsOptionalParams)

从 VM 群集中删除 VM

beginRemoveVmsAndWait(string, string, AddRemoveDbNode, CloudVmClustersRemoveVmsOptionalParams)

从 VM 群集中删除 VM

beginUpdate(string, string, CloudVmClusterUpdate, CloudVmClustersUpdateOptionalParams)

更新 CloudVmCluster

beginUpdateAndWait(string, string, CloudVmClusterUpdate, CloudVmClustersUpdateOptionalParams)

更新 CloudVmCluster

get(string, string, CloudVmClustersGetOptionalParams)

获取 CloudVmCluster

listByResourceGroup(string, CloudVmClustersListByResourceGroupOptionalParams)

按资源组列出 CloudVmCluster 资源

listBySubscription(CloudVmClustersListBySubscriptionOptionalParams)

按订阅 ID 列出 CloudVmCluster 资源

listPrivateIpAddresses(string, string, PrivateIpAddressesFilter, CloudVmClustersListPrivateIpAddressesOptionalParams)

按提供的筛选器列出专用 IP 地址

方法详细信息

beginAddVms(string, string, AddRemoveDbNode, CloudVmClustersAddVmsOptionalParams)

将 VM 添加到 VM 群集

function beginAddVms(resourceGroupName: string, cloudvmclustername: string, body: AddRemoveDbNode, options?: CloudVmClustersAddVmsOptionalParams): Promise<SimplePollerLike<OperationState<CloudVmCluster>, CloudVmCluster>>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

body
AddRemoveDbNode

操作请求的内容

options
CloudVmClustersAddVmsOptionalParams

选项参数。

返回

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

beginAddVmsAndWait(string, string, AddRemoveDbNode, CloudVmClustersAddVmsOptionalParams)

将 VM 添加到 VM 群集

function beginAddVmsAndWait(resourceGroupName: string, cloudvmclustername: string, body: AddRemoveDbNode, options?: CloudVmClustersAddVmsOptionalParams): Promise<CloudVmCluster>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

body
AddRemoveDbNode

操作请求的内容

options
CloudVmClustersAddVmsOptionalParams

选项参数。

返回

Promise<CloudVmCluster>

beginCreateOrUpdate(string, string, CloudVmCluster, CloudVmClustersCreateOrUpdateOptionalParams)

创建 CloudVmCluster

function beginCreateOrUpdate(resourceGroupName: string, cloudvmclustername: string, resource: CloudVmCluster, options?: CloudVmClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudVmCluster>, CloudVmCluster>>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

resource
CloudVmCluster

资源创建参数。

返回

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

beginCreateOrUpdateAndWait(string, string, CloudVmCluster, CloudVmClustersCreateOrUpdateOptionalParams)

创建 CloudVmCluster

function beginCreateOrUpdateAndWait(resourceGroupName: string, cloudvmclustername: string, resource: CloudVmCluster, options?: CloudVmClustersCreateOrUpdateOptionalParams): Promise<CloudVmCluster>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

resource
CloudVmCluster

资源创建参数。

返回

Promise<CloudVmCluster>

beginDelete(string, string, CloudVmClustersDeleteOptionalParams)

删除 CloudVmCluster

function beginDelete(resourceGroupName: string, cloudvmclustername: string, options?: CloudVmClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CloudVmClustersDeleteHeaders>, CloudVmClustersDeleteHeaders>>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

options
CloudVmClustersDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, CloudVmClustersDeleteOptionalParams)

删除 CloudVmCluster

function beginDeleteAndWait(resourceGroupName: string, cloudvmclustername: string, options?: CloudVmClustersDeleteOptionalParams): Promise<CloudVmClustersDeleteHeaders>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

options
CloudVmClustersDeleteOptionalParams

选项参数。

返回

beginRemoveVms(string, string, AddRemoveDbNode, CloudVmClustersRemoveVmsOptionalParams)

从 VM 群集中删除 VM

function beginRemoveVms(resourceGroupName: string, cloudvmclustername: string, body: AddRemoveDbNode, options?: CloudVmClustersRemoveVmsOptionalParams): Promise<SimplePollerLike<OperationState<CloudVmCluster>, CloudVmCluster>>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

body
AddRemoveDbNode

操作请求的内容

options
CloudVmClustersRemoveVmsOptionalParams

选项参数。

返回

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

beginRemoveVmsAndWait(string, string, AddRemoveDbNode, CloudVmClustersRemoveVmsOptionalParams)

从 VM 群集中删除 VM

function beginRemoveVmsAndWait(resourceGroupName: string, cloudvmclustername: string, body: AddRemoveDbNode, options?: CloudVmClustersRemoveVmsOptionalParams): Promise<CloudVmCluster>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

body
AddRemoveDbNode

操作请求的内容

options
CloudVmClustersRemoveVmsOptionalParams

选项参数。

返回

Promise<CloudVmCluster>

beginUpdate(string, string, CloudVmClusterUpdate, CloudVmClustersUpdateOptionalParams)

更新 CloudVmCluster

function beginUpdate(resourceGroupName: string, cloudvmclustername: string, properties: CloudVmClusterUpdate, options?: CloudVmClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudVmCluster>, CloudVmCluster>>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

properties
CloudVmClusterUpdate

要更新的资源属性。

options
CloudVmClustersUpdateOptionalParams

选项参数。

返回

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

beginUpdateAndWait(string, string, CloudVmClusterUpdate, CloudVmClustersUpdateOptionalParams)

更新 CloudVmCluster

function beginUpdateAndWait(resourceGroupName: string, cloudvmclustername: string, properties: CloudVmClusterUpdate, options?: CloudVmClustersUpdateOptionalParams): Promise<CloudVmCluster>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

properties
CloudVmClusterUpdate

要更新的资源属性。

options
CloudVmClustersUpdateOptionalParams

选项参数。

返回

Promise<CloudVmCluster>

get(string, string, CloudVmClustersGetOptionalParams)

获取 CloudVmCluster

function get(resourceGroupName: string, cloudvmclustername: string, options?: CloudVmClustersGetOptionalParams): Promise<CloudVmCluster>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

options
CloudVmClustersGetOptionalParams

选项参数。

返回

Promise<CloudVmCluster>

listByResourceGroup(string, CloudVmClustersListByResourceGroupOptionalParams)

按资源组列出 CloudVmCluster 资源

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

参数

resourceGroupName

string

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

返回

listBySubscription(CloudVmClustersListBySubscriptionOptionalParams)

按订阅 ID 列出 CloudVmCluster 资源

function listBySubscription(options?: CloudVmClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CloudVmCluster, CloudVmCluster[], PageSettings>

参数

返回

listPrivateIpAddresses(string, string, PrivateIpAddressesFilter, CloudVmClustersListPrivateIpAddressesOptionalParams)

按提供的筛选器列出专用 IP 地址

function listPrivateIpAddresses(resourceGroupName: string, cloudvmclustername: string, body: PrivateIpAddressesFilter, options?: CloudVmClustersListPrivateIpAddressesOptionalParams): Promise<CloudVmClustersListPrivateIpAddressesResponse>

参数

resourceGroupName

string

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

cloudvmclustername

string

CloudVmCluster 名称

body
PrivateIpAddressesFilter

操作请求的内容

返回