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

PrivateEndpointConnectionOperationsExtensions.CreateOrUpdateAsync 方法

定义

批准或拒绝专用终结点连接

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.PrivateEndpointConnectionResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IPrivateEndpointConnectionOperations operations, string resourceGroupName, string factoryName, string privateEndpointConnectionName, Microsoft.Azure.Management.DataFactory.Models.PrivateLinkConnectionApprovalRequestResource privateEndpointWrapper, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IPrivateEndpointConnectionOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.PrivateLinkConnectionApprovalRequestResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.PrivateEndpointConnectionResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionOperations, resourceGroupName As String, factoryName As String, privateEndpointConnectionName As String, privateEndpointWrapper As PrivateLinkConnectionApprovalRequestResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnectionResource)

参数

operations
IPrivateEndpointConnectionOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称。

factoryName
String

工厂名称。

privateEndpointConnectionName
String

专用终结点连接名称。

ifMatch
String

专用终结点连接实体的 ETag。 应仅为 update 指定,它应与现有实体匹配,或者对于无条件更新,可为 * 。

cancellationToken
CancellationToken

取消标记。

返回

适用于