共用方式為


PrivateEndpointConnectionsOperationsExtensions.BeginCreateOrUpdateAsync 方法

定義

核准或拒絕具有指定名稱的私人端點連線。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string automationAccountName, string privateEndpointConnectionName, Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, automationAccountName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

參數

operations
IPrivateEndpointConnectionsOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

privateEndpointConnectionName
String

私人端點連線的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於