Dela via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Metod

Definition

Godkänn eller avvisa en privat slutpunktsanslutning med ett angivet namn.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, automationAccountName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parametrar

operations
IPrivateEndpointConnectionsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på automationskontot.

privateEndpointConnectionName
String

Namnet på den privata slutpunktsanslutningen.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för