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

ExpressRouteGateways interface

表示 ExpressRouteGateways 的接口。

方法

beginCreateOrUpdate(string, string, ExpressRouteGateway, ExpressRouteGatewaysCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 ExpressRoute 网关。

beginCreateOrUpdateAndWait(string, string, ExpressRouteGateway, ExpressRouteGatewaysCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 ExpressRoute 网关。

beginDelete(string, string, ExpressRouteGatewaysDeleteOptionalParams)

删除资源组中的指定 ExpressRoute 网关。 仅当没有连接子资源时,才能删除 ExpressRoute 网关资源。

beginDeleteAndWait(string, string, ExpressRouteGatewaysDeleteOptionalParams)

删除资源组中的指定 ExpressRoute 网关。 仅当没有连接子资源时,才能删除 ExpressRoute 网关资源。

beginUpdateTags(string, string, TagsObject, ExpressRouteGatewaysUpdateTagsOptionalParams)

更新快速路由网关标记。

beginUpdateTagsAndWait(string, string, TagsObject, ExpressRouteGatewaysUpdateTagsOptionalParams)

更新快速路由网关标记。

get(string, string, ExpressRouteGatewaysGetOptionalParams)

提取资源组中 ExpressRoute 网关的详细信息。

listByResourceGroup(string, ExpressRouteGatewaysListByResourceGroupOptionalParams)

列出给定资源组中的 ExpressRoute 网关。

listBySubscription(ExpressRouteGatewaysListBySubscriptionOptionalParams)

列出给定订阅下的 ExpressRoute 网关。

方法详细信息

beginCreateOrUpdate(string, string, ExpressRouteGateway, ExpressRouteGatewaysCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 ExpressRoute 网关。

function beginCreateOrUpdate(resourceGroupName: string, expressRouteGatewayName: string, putExpressRouteGatewayParameters: ExpressRouteGateway, options?: ExpressRouteGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpressRouteGateway>, ExpressRouteGateway>>

参数

resourceGroupName

string

资源组的名称。

expressRouteGatewayName

string

ExpressRoute 网关的名称。

putExpressRouteGatewayParameters
ExpressRouteGateway

ExpressRoute 网关 PUT作中所需的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, ExpressRouteGateway, ExpressRouteGatewaysCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 ExpressRoute 网关。

function beginCreateOrUpdateAndWait(resourceGroupName: string, expressRouteGatewayName: string, putExpressRouteGatewayParameters: ExpressRouteGateway, options?: ExpressRouteGatewaysCreateOrUpdateOptionalParams): Promise<ExpressRouteGateway>

参数

resourceGroupName

string

资源组的名称。

expressRouteGatewayName

string

ExpressRoute 网关的名称。

putExpressRouteGatewayParameters
ExpressRouteGateway

ExpressRoute 网关 PUT作中所需的参数。

返回

beginDelete(string, string, ExpressRouteGatewaysDeleteOptionalParams)

删除资源组中的指定 ExpressRoute 网关。 仅当没有连接子资源时,才能删除 ExpressRoute 网关资源。

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

参数

resourceGroupName

string

资源组的名称。

expressRouteGatewayName

string

ExpressRoute 网关的名称。

返回

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

beginDeleteAndWait(string, string, ExpressRouteGatewaysDeleteOptionalParams)

删除资源组中的指定 ExpressRoute 网关。 仅当没有连接子资源时,才能删除 ExpressRoute 网关资源。

function beginDeleteAndWait(resourceGroupName: string, expressRouteGatewayName: string, options?: ExpressRouteGatewaysDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

expressRouteGatewayName

string

ExpressRoute 网关的名称。

返回

Promise<void>

beginUpdateTags(string, string, TagsObject, ExpressRouteGatewaysUpdateTagsOptionalParams)

更新快速路由网关标记。

function beginUpdateTags(resourceGroupName: string, expressRouteGatewayName: string, expressRouteGatewayParameters: TagsObject, options?: ExpressRouteGatewaysUpdateTagsOptionalParams): Promise<SimplePollerLike<OperationState<ExpressRouteGateway>, ExpressRouteGateway>>

参数

resourceGroupName

string

ExpressRouteGateway 的资源组名称。

expressRouteGatewayName

string

网关的名称。

expressRouteGatewayParameters
TagsObject

提供用于更新虚拟 wan Express Route 网关标记的参数。

返回

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

beginUpdateTagsAndWait(string, string, TagsObject, ExpressRouteGatewaysUpdateTagsOptionalParams)

更新快速路由网关标记。

function beginUpdateTagsAndWait(resourceGroupName: string, expressRouteGatewayName: string, expressRouteGatewayParameters: TagsObject, options?: ExpressRouteGatewaysUpdateTagsOptionalParams): Promise<ExpressRouteGateway>

参数

resourceGroupName

string

ExpressRouteGateway 的资源组名称。

expressRouteGatewayName

string

网关的名称。

expressRouteGatewayParameters
TagsObject

提供用于更新虚拟 wan Express Route 网关标记的参数。

返回

get(string, string, ExpressRouteGatewaysGetOptionalParams)

提取资源组中 ExpressRoute 网关的详细信息。

function get(resourceGroupName: string, expressRouteGatewayName: string, options?: ExpressRouteGatewaysGetOptionalParams): Promise<ExpressRouteGateway>

参数

resourceGroupName

string

资源组的名称。

expressRouteGatewayName

string

ExpressRoute 网关的名称。

options
ExpressRouteGatewaysGetOptionalParams

选项参数。

返回

listByResourceGroup(string, ExpressRouteGatewaysListByResourceGroupOptionalParams)

列出给定资源组中的 ExpressRoute 网关。

function listByResourceGroup(resourceGroupName: string, options?: ExpressRouteGatewaysListByResourceGroupOptionalParams): Promise<ExpressRouteGatewayList>

参数

resourceGroupName

string

资源组的名称。

返回

listBySubscription(ExpressRouteGatewaysListBySubscriptionOptionalParams)

列出给定订阅下的 ExpressRoute 网关。

function listBySubscription(options?: ExpressRouteGatewaysListBySubscriptionOptionalParams): Promise<ExpressRouteGatewayList>

参数

返回