VpnGateways interface
表示 VpnGateways 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, VpnGateway, VpnGatewaysCreateOrUpdateOptionalParams)
如果虚拟 wan vpn 网关不存在,则创建该网关,否则会更新现有网关。
function beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: VpnGateway, options?: VpnGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- vpnGatewayParameters
- VpnGateway
提供用于创建或更新虚拟 wan vpn 网关的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
beginCreateOrUpdateAndWait(string, string, VpnGateway, VpnGatewaysCreateOrUpdateOptionalParams)
如果虚拟 wan vpn 网关不存在,则创建该网关,否则会更新现有网关。
function beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: VpnGateway, options?: VpnGatewaysCreateOrUpdateOptionalParams): Promise<VpnGateway>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- vpnGatewayParameters
- VpnGateway
提供用于创建或更新虚拟 wan vpn 网关的参数。
选项参数。
返回
Promise<VpnGateway>
beginDelete(string, string, VpnGatewaysDeleteOptionalParams)
删除虚拟 WAN VPN 网关。
function beginDelete(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- options
- VpnGatewaysDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, VpnGatewaysDeleteOptionalParams)
删除虚拟 WAN VPN 网关。
function beginDeleteAndWait(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- options
- VpnGatewaysDeleteOptionalParams
选项参数。
返回
Promise<void>
beginReset(string, string, VpnGatewaysResetOptionalParams)
重置指定资源组中 VPN 网关的主网关。
function beginReset(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysResetOptionalParams): Promise<SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- options
- VpnGatewaysResetOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
beginResetAndWait(string, string, VpnGatewaysResetOptionalParams)
重置指定资源组中 VPN 网关的主网关。
function beginResetAndWait(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysResetOptionalParams): Promise<VpnGateway>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- options
- VpnGatewaysResetOptionalParams
选项参数。
返回
Promise<VpnGateway>
beginStartPacketCapture(string, string, VpnGatewaysStartPacketCaptureOptionalParams)
在指定的资源组中的 vpn 网关上启动数据包捕获。
function beginStartPacketCapture(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysStartPacketCaptureOptionalParams): Promise<SimplePollerLike<OperationState<VpnGatewaysStartPacketCaptureResponse>, VpnGatewaysStartPacketCaptureResponse>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnGatewaysStartPacketCaptureResponse>, VpnGatewaysStartPacketCaptureResponse>>
beginStartPacketCaptureAndWait(string, string, VpnGatewaysStartPacketCaptureOptionalParams)
在指定的资源组中的 vpn 网关上启动数据包捕获。
function beginStartPacketCaptureAndWait(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysStartPacketCaptureOptionalParams): Promise<VpnGatewaysStartPacketCaptureResponse>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
选项参数。
返回
beginStopPacketCapture(string, string, VpnGatewaysStopPacketCaptureOptionalParams)
停止在指定资源组中的 vpn 网关上捕获数据包。
function beginStopPacketCapture(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysStopPacketCaptureOptionalParams): Promise<SimplePollerLike<OperationState<VpnGatewaysStopPacketCaptureResponse>, VpnGatewaysStopPacketCaptureResponse>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnGatewaysStopPacketCaptureResponse>, VpnGatewaysStopPacketCaptureResponse>>
beginStopPacketCaptureAndWait(string, string, VpnGatewaysStopPacketCaptureOptionalParams)
停止在指定资源组中的 vpn 网关上捕获数据包。
function beginStopPacketCaptureAndWait(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysStopPacketCaptureOptionalParams): Promise<VpnGatewaysStopPacketCaptureResponse>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
选项参数。
返回
Promise<VpnGatewaysStopPacketCaptureResponse>
beginUpdateTags(string, string, TagsObject, VpnGatewaysUpdateTagsOptionalParams)
更新虚拟 wan vpn 网关标记。
function beginUpdateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: TagsObject, options?: VpnGatewaysUpdateTagsOptionalParams): Promise<SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- vpnGatewayParameters
- TagsObject
提供用于更新虚拟 wan vpn 网关标记的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnGateway>, VpnGateway>>
beginUpdateTagsAndWait(string, string, TagsObject, VpnGatewaysUpdateTagsOptionalParams)
更新虚拟 wan vpn 网关标记。
function beginUpdateTagsAndWait(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: TagsObject, options?: VpnGatewaysUpdateTagsOptionalParams): Promise<VpnGateway>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- vpnGatewayParameters
- TagsObject
提供用于更新虚拟 wan vpn 网关标记的参数。
选项参数。
返回
Promise<VpnGateway>
get(string, string, VpnGatewaysGetOptionalParams)
检索虚拟 wan vpn 网关的详细信息。
function get(resourceGroupName: string, gatewayName: string, options?: VpnGatewaysGetOptionalParams): Promise<VpnGateway>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
- gatewayName
-
string
网关的名称。
- options
- VpnGatewaysGetOptionalParams
选项参数。
返回
Promise<VpnGateway>
list(VpnGatewaysListOptionalParams)
列出订阅中的所有 VpnGateway。
function list(options?: VpnGatewaysListOptionalParams): PagedAsyncIterableIterator<VpnGateway, VpnGateway[], PageSettings>
参数
- options
- VpnGatewaysListOptionalParams
选项参数。
返回
listByResourceGroup(string, VpnGatewaysListByResourceGroupOptionalParams)
列出资源组中的所有 VpnGateway。
function listByResourceGroup(resourceGroupName: string, options?: VpnGatewaysListByResourceGroupOptionalParams): PagedAsyncIterableIterator<VpnGateway, VpnGateway[], PageSettings>
参数
- resourceGroupName
-
string
VpnGateway 的资源组名称。
选项参数。