共用方式為


P2SVpnGateways interface

代表 P2SVpnGateways 的介面。

方法

beginCreateOrUpdate(string, string, P2SVpnGateway, P2SVpnGatewaysCreateOrUpdateOptionalParams)

如果虛擬 wan p2s vpn 閘道不存在,則建立它,否則會更新現有的閘道。

beginCreateOrUpdateAndWait(string, string, P2SVpnGateway, P2SVpnGatewaysCreateOrUpdateOptionalParams)

如果虛擬 wan p2s vpn 閘道不存在,則建立它,否則會更新現有的閘道。

beginDelete(string, string, P2SVpnGatewaysDeleteOptionalParams)

刪除虛擬 wan p2s vpn 閘道。

beginDeleteAndWait(string, string, P2SVpnGatewaysDeleteOptionalParams)

刪除虛擬 wan p2s vpn 閘道。

beginDisconnectP2SVpnConnections(string, string, P2SVpnConnectionRequest, P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams)

中斷指定資源群組中虛擬 wan P2SVpnGateway 的 P2S vpn 連線。

beginDisconnectP2SVpnConnectionsAndWait(string, string, P2SVpnConnectionRequest, P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams)

中斷指定資源群組中虛擬 wan P2SVpnGateway 的 P2S vpn 連線。

beginGenerateVpnProfile(string, string, P2SVpnProfileParameters, P2SVpnGatewaysGenerateVpnProfileOptionalParams)

為指定資源群組中 P2SVpnGateway 的 P2S 用戶端產生 VPN 配置檔。

beginGenerateVpnProfileAndWait(string, string, P2SVpnProfileParameters, P2SVpnGatewaysGenerateVpnProfileOptionalParams)

為指定資源群組中 P2SVpnGateway 的 P2S 用戶端產生 VPN 配置檔。

beginGetP2SVpnConnectionHealth(string, string, P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams)

取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況。

beginGetP2SVpnConnectionHealthAndWait(string, string, P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams)

取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況。

beginGetP2SVpnConnectionHealthDetailed(string, string, P2SVpnConnectionHealthRequest, P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams)

取得 sas URL,以取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況詳細數據。

beginGetP2SVpnConnectionHealthDetailedAndWait(string, string, P2SVpnConnectionHealthRequest, P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams)

取得 sas URL,以取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況詳細數據。

beginReset(string, string, P2SVpnGatewaysResetOptionalParams)

重設指定資源群組中 p2s vpn 閘道的主要複本。

beginResetAndWait(string, string, P2SVpnGatewaysResetOptionalParams)

重設指定資源群組中 p2s vpn 閘道的主要複本。

beginUpdateTags(string, string, TagsObject, P2SVpnGatewaysUpdateTagsOptionalParams)

更新虛擬 wan p2s vpn 閘道標籤。

beginUpdateTagsAndWait(string, string, TagsObject, P2SVpnGatewaysUpdateTagsOptionalParams)

更新虛擬 wan p2s vpn 閘道標籤。

get(string, string, P2SVpnGatewaysGetOptionalParams)

擷取虛擬 wan p2s vpn 閘道的詳細數據。

list(P2SVpnGatewaysListOptionalParams)

列出訂用帳戶中的所有 P2SVpnGateways。

listByResourceGroup(string, P2SVpnGatewaysListByResourceGroupOptionalParams)

列出資源群組中的所有 P2SVpnGateways。

方法詳細資料

beginCreateOrUpdate(string, string, P2SVpnGateway, P2SVpnGatewaysCreateOrUpdateOptionalParams)

如果虛擬 wan p2s vpn 閘道不存在,則建立它,否則會更新現有的閘道。

function beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: P2SVpnGateway, options?: P2SVpnGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<P2SVpnGateway>, P2SVpnGateway>>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

p2SVpnGatewayParameters
P2SVpnGateway

提供用來建立或更新虛擬 wan p2s vpn 閘道的參數。

傳回

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

beginCreateOrUpdateAndWait(string, string, P2SVpnGateway, P2SVpnGatewaysCreateOrUpdateOptionalParams)

如果虛擬 wan p2s vpn 閘道不存在,則建立它,否則會更新現有的閘道。

function beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: P2SVpnGateway, options?: P2SVpnGatewaysCreateOrUpdateOptionalParams): Promise<P2SVpnGateway>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

p2SVpnGatewayParameters
P2SVpnGateway

提供用來建立或更新虛擬 wan p2s vpn 閘道的參數。

傳回

Promise<P2SVpnGateway>

beginDelete(string, string, P2SVpnGatewaysDeleteOptionalParams)

刪除虛擬 wan p2s vpn 閘道。

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

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

options
P2SVpnGatewaysDeleteOptionalParams

選項參數。

傳回

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

beginDeleteAndWait(string, string, P2SVpnGatewaysDeleteOptionalParams)

刪除虛擬 wan p2s vpn 閘道。

function beginDeleteAndWait(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

options
P2SVpnGatewaysDeleteOptionalParams

選項參數。

傳回

Promise<void>

beginDisconnectP2SVpnConnections(string, string, P2SVpnConnectionRequest, P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams)

中斷指定資源群組中虛擬 wan P2SVpnGateway 的 P2S vpn 連線。

function beginDisconnectP2SVpnConnections(resourceGroupName: string, p2SVpnGatewayName: string, request: P2SVpnConnectionRequest, options?: P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。

p2SVpnGatewayName

string

P2S Vpn 閘道名稱。

request
P2SVpnConnectionRequest

參數會提供來中斷 p2s vpn 連線的連線。

傳回

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

beginDisconnectP2SVpnConnectionsAndWait(string, string, P2SVpnConnectionRequest, P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams)

中斷指定資源群組中虛擬 wan P2SVpnGateway 的 P2S vpn 連線。

function beginDisconnectP2SVpnConnectionsAndWait(resourceGroupName: string, p2SVpnGatewayName: string, request: P2SVpnConnectionRequest, options?: P2SVpnGatewaysDisconnectP2SVpnConnectionsOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。

p2SVpnGatewayName

string

P2S Vpn 閘道名稱。

request
P2SVpnConnectionRequest

參數會提供來中斷 p2s vpn 連線的連線。

傳回

Promise<void>

beginGenerateVpnProfile(string, string, P2SVpnProfileParameters, P2SVpnGatewaysGenerateVpnProfileOptionalParams)

為指定資源群組中 P2SVpnGateway 的 P2S 用戶端產生 VPN 配置檔。

function beginGenerateVpnProfile(resourceGroupName: string, gatewayName: string, parameters: P2SVpnProfileParameters, options?: P2SVpnGatewaysGenerateVpnProfileOptionalParams): Promise<SimplePollerLike<OperationState<VpnProfileResponse>, VpnProfileResponse>>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

parameters
P2SVpnProfileParameters

提供給產生的 P2SVpnGateway VPN 用戶端套件作業的參數。

傳回

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

beginGenerateVpnProfileAndWait(string, string, P2SVpnProfileParameters, P2SVpnGatewaysGenerateVpnProfileOptionalParams)

為指定資源群組中 P2SVpnGateway 的 P2S 用戶端產生 VPN 配置檔。

function beginGenerateVpnProfileAndWait(resourceGroupName: string, gatewayName: string, parameters: P2SVpnProfileParameters, options?: P2SVpnGatewaysGenerateVpnProfileOptionalParams): Promise<VpnProfileResponse>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

parameters
P2SVpnProfileParameters

提供給產生的 P2SVpnGateway VPN 用戶端套件作業的參數。

傳回

beginGetP2SVpnConnectionHealth(string, string, P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams)

取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況。

function beginGetP2SVpnConnectionHealth(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams): Promise<SimplePollerLike<OperationState<P2SVpnGateway>, P2SVpnGateway>>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

傳回

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

beginGetP2SVpnConnectionHealthAndWait(string, string, P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams)

取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況。

function beginGetP2SVpnConnectionHealthAndWait(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysGetP2SVpnConnectionHealthOptionalParams): Promise<P2SVpnGateway>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

傳回

Promise<P2SVpnGateway>

beginGetP2SVpnConnectionHealthDetailed(string, string, P2SVpnConnectionHealthRequest, P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams)

取得 sas URL,以取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況詳細數據。

function beginGetP2SVpnConnectionHealthDetailed(resourceGroupName: string, gatewayName: string, request: P2SVpnConnectionHealthRequest, options?: P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams): Promise<SimplePollerLike<OperationState<P2SVpnConnectionHealth>, P2SVpnConnectionHealth>>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

request
P2SVpnConnectionHealthRequest

提供要求參數以取得 p2s vpn 連線的詳細健康情況。

傳回

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

beginGetP2SVpnConnectionHealthDetailedAndWait(string, string, P2SVpnConnectionHealthRequest, P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams)

取得 sas URL,以取得指定資源群組中虛擬 wan P2SVpnGateway 之 P2S 用戶端的連接健康情況詳細數據。

function beginGetP2SVpnConnectionHealthDetailedAndWait(resourceGroupName: string, gatewayName: string, request: P2SVpnConnectionHealthRequest, options?: P2SVpnGatewaysGetP2SVpnConnectionHealthDetailedOptionalParams): Promise<P2SVpnConnectionHealth>

參數

resourceGroupName

string

資源群組的名稱。

gatewayName

string

P2SVpnGateway 的名稱。

request
P2SVpnConnectionHealthRequest

提供要求參數以取得 p2s vpn 連線的詳細健康情況。

傳回

beginReset(string, string, P2SVpnGatewaysResetOptionalParams)

重設指定資源群組中 p2s vpn 閘道的主要複本。

function beginReset(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysResetOptionalParams): Promise<SimplePollerLike<OperationState<P2SVpnGateway>, P2SVpnGateway>>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

options
P2SVpnGatewaysResetOptionalParams

選項參數。

傳回

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

beginResetAndWait(string, string, P2SVpnGatewaysResetOptionalParams)

重設指定資源群組中 p2s vpn 閘道的主要複本。

function beginResetAndWait(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysResetOptionalParams): Promise<P2SVpnGateway>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

options
P2SVpnGatewaysResetOptionalParams

選項參數。

傳回

Promise<P2SVpnGateway>

beginUpdateTags(string, string, TagsObject, P2SVpnGatewaysUpdateTagsOptionalParams)

更新虛擬 wan p2s vpn 閘道標籤。

function beginUpdateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: TagsObject, options?: P2SVpnGatewaysUpdateTagsOptionalParams): Promise<SimplePollerLike<OperationState<P2SVpnGateway>, P2SVpnGateway>>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

p2SVpnGatewayParameters
TagsObject

提供用來更新虛擬 wan p2s vpn 閘道標籤的參數。

options
P2SVpnGatewaysUpdateTagsOptionalParams

選項參數。

傳回

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

beginUpdateTagsAndWait(string, string, TagsObject, P2SVpnGatewaysUpdateTagsOptionalParams)

更新虛擬 wan p2s vpn 閘道標籤。

function beginUpdateTagsAndWait(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: TagsObject, options?: P2SVpnGatewaysUpdateTagsOptionalParams): Promise<P2SVpnGateway>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

p2SVpnGatewayParameters
TagsObject

提供用來更新虛擬 wan p2s vpn 閘道標籤的參數。

options
P2SVpnGatewaysUpdateTagsOptionalParams

選項參數。

傳回

Promise<P2SVpnGateway>

get(string, string, P2SVpnGatewaysGetOptionalParams)

擷取虛擬 wan p2s vpn 閘道的詳細數據。

function get(resourceGroupName: string, gatewayName: string, options?: P2SVpnGatewaysGetOptionalParams): Promise<P2SVpnGateway>

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

gatewayName

string

閘道名稱。

options
P2SVpnGatewaysGetOptionalParams

選項參數。

傳回

Promise<P2SVpnGateway>

list(P2SVpnGatewaysListOptionalParams)

列出訂用帳戶中的所有 P2SVpnGateways。

function list(options?: P2SVpnGatewaysListOptionalParams): PagedAsyncIterableIterator<P2SVpnGateway, P2SVpnGateway[], PageSettings>

參數

options
P2SVpnGatewaysListOptionalParams

選項參數。

傳回

listByResourceGroup(string, P2SVpnGatewaysListByResourceGroupOptionalParams)

列出資源群組中的所有 P2SVpnGateways。

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

參數

resourceGroupName

string

P2SVpnGateway 的資源組名。

傳回