IPrivateEndpointConnectionsOperations.BeginCreateOrUpdateWithHttpMessagesAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Een privé-eindpuntverbinding met een bepaalde naam goedkeuren of afwijzen.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string automationAccountName, string privateEndpointConnectionName, Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.PrivateEndpointConnection>>
Public Function BeginCreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PrivateEndpointConnection))
Parameters
- resourceGroupName
- String
Naam van een Azure-resourcegroep.
- automationAccountName
- String
De naam van het Automation-account.
- privateEndpointConnectionName
- String
De naam van de privé-eindpuntverbinding.
- parameters
- PrivateEndpointConnection
- customHeaders
- Dictionary<String,List<String>>
De headers die aan de aanvraag worden toegevoegd.
- cancellationToken
- CancellationToken
Het annuleringstoken.
Retouren
Uitzonderingen
Gegenereerd toen de bewerking een ongeldige statuscode retourneerde
Gegenereerd wanneer het antwoord niet kan worden gedeserialiseerd
Gegenereerd wanneer een vereiste parameter null is
Van toepassing op
Azure SDK for .NET