IGatewayOperations.BeginGenerateVpnClientPackageAsync 方法 (String, GatewayGenerateVpnClientPackageParameters, CancellationToken)
生成 VPN 客户端包操作在 Azure 中创建指定的虚拟网络和网关的 VPN 客户端包。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/dn205126.aspx 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
Task<GatewayOperationResponse> BeginGenerateVpnClientPackageAsync(
string networkName,
GatewayGenerateVpnClientPackageParameters parameters,
CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginGenerateVpnClientPackageAsync(
String^ networkName,
GatewayGenerateVpnClientPackageParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginGenerateVpnClientPackageAsync :
networkName:string *
parameters:GatewayGenerateVpnClientPackageParameters *
cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginGenerateVpnClientPackageAsync (
networkName As String,
parameters As GatewayGenerateVpnClientPackageParameters,
cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)
参数
networkName
Type: System.String此网关的虚拟网络的的名称。
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewayGenerateVpnClientPackageParameters提供给该生成 VPN 客户端包操作的参数。
cancellationToken
Type: System.Threading.CancellationToken取消标记。
返回值
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
IGatewayOperations 接口
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首