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

NetworkManagementClientExtensions.PutBastionShareableLinkAsync 方法

定义

为请求中指定的所有 VM 创建 Bastion 可共享链接。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>> PutBastionShareableLinkAsync (this Microsoft.Azure.Management.Network.INetworkManagementClient operations, string resourceGroupName, string bastionHostName, Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest bslRequest, System.Threading.CancellationToken cancellationToken = default);
static member PutBastionShareableLinkAsync : Microsoft.Azure.Management.Network.INetworkManagementClient * string * string * Microsoft.Azure.Management.Network.Models.BastionShareableLinkListRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.BastionShareableLink>>
<Extension()>
Public Function PutBastionShareableLinkAsync (operations As INetworkManagementClient, resourceGroupName As String, bastionHostName As String, bslRequest As BastionShareableLinkListRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of BastionShareableLink))

参数

operations
INetworkManagementClient

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

bastionHostName
String

Bastion 主机的名称。

bslRequest
BastionShareableLinkListRequest

发布所有 Bastion 可共享链接终结点的请求。

cancellationToken
CancellationToken

取消标记。

返回

适用于