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

CommunicationsGateways interface

表示 CommunicationsGateways 的接口。

方法

beginCreateOrUpdate(string, string, CommunicationsGateway, CommunicationsGatewaysCreateOrUpdateOptionalParams)

创建 CommunicationsGateway

beginCreateOrUpdateAndWait(string, string, CommunicationsGateway, CommunicationsGatewaysCreateOrUpdateOptionalParams)

创建 CommunicationsGateway

beginDelete(string, string, CommunicationsGatewaysDeleteOptionalParams)

删除 CommunicationsGateway

beginDeleteAndWait(string, string, CommunicationsGatewaysDeleteOptionalParams)

删除 CommunicationsGateway

get(string, string, CommunicationsGatewaysGetOptionalParams)

获取 CommunicationsGateway

listByResourceGroup(string, CommunicationsGatewaysListByResourceGroupOptionalParams)

按资源组列出 CommunicationsGateway 资源

listBySubscription(CommunicationsGatewaysListBySubscriptionOptionalParams)

按订阅 ID 列出 CommunicationsGateway 资源

update(string, string, CommunicationsGatewayUpdate, CommunicationsGatewaysUpdateOptionalParams)

更新 CommunicationsGateway

方法详细信息

beginCreateOrUpdate(string, string, CommunicationsGateway, CommunicationsGatewaysCreateOrUpdateOptionalParams)

创建 CommunicationsGateway

function beginCreateOrUpdate(resourceGroupName: string, communicationsGatewayName: string, resource: CommunicationsGateway, options?: CommunicationsGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationsGateway>, CommunicationsGateway>>

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

resource
CommunicationsGateway

资源创建参数。

返回

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

beginCreateOrUpdateAndWait(string, string, CommunicationsGateway, CommunicationsGatewaysCreateOrUpdateOptionalParams)

创建 CommunicationsGateway

function beginCreateOrUpdateAndWait(resourceGroupName: string, communicationsGatewayName: string, resource: CommunicationsGateway, options?: CommunicationsGatewaysCreateOrUpdateOptionalParams): Promise<CommunicationsGateway>

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

resource
CommunicationsGateway

资源创建参数。

返回

beginDelete(string, string, CommunicationsGatewaysDeleteOptionalParams)

删除 CommunicationsGateway

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

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

返回

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

beginDeleteAndWait(string, string, CommunicationsGatewaysDeleteOptionalParams)

删除 CommunicationsGateway

function beginDeleteAndWait(resourceGroupName: string, communicationsGatewayName: string, options?: CommunicationsGatewaysDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

返回

Promise<void>

get(string, string, CommunicationsGatewaysGetOptionalParams)

获取 CommunicationsGateway

function get(resourceGroupName: string, communicationsGatewayName: string, options?: CommunicationsGatewaysGetOptionalParams): Promise<CommunicationsGateway>

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

options
CommunicationsGatewaysGetOptionalParams

选项参数。

返回

listByResourceGroup(string, CommunicationsGatewaysListByResourceGroupOptionalParams)

按资源组列出 CommunicationsGateway 资源

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

参数

resourceGroupName

string

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

返回

listBySubscription(CommunicationsGatewaysListBySubscriptionOptionalParams)

按订阅 ID 列出 CommunicationsGateway 资源

function listBySubscription(options?: CommunicationsGatewaysListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CommunicationsGateway, CommunicationsGateway[], PageSettings>

参数

返回

update(string, string, CommunicationsGatewayUpdate, CommunicationsGatewaysUpdateOptionalParams)

更新 CommunicationsGateway

function update(resourceGroupName: string, communicationsGatewayName: string, properties: CommunicationsGatewayUpdate, options?: CommunicationsGatewaysUpdateOptionalParams): Promise<CommunicationsGateway>

参数

resourceGroupName

string

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

communicationsGatewayName

string

此部署的唯一标识符

properties
CommunicationsGatewayUpdate

要更新的资源属性。

返回