PrivateEndpointConnectionOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Private Endpoint Connection or updates an existing one.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IPrivateEndpointConnectionOperations operations, string resourceGroupName, string serviceName, string privateEndpointConnectionName, Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnectionRequest privateEndpointConnectionRequest, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IPrivateEndpointConnectionOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionOperations, resourceGroupName As String, serviceName As String, privateEndpointConnectionName As String, privateEndpointConnectionRequest As PrivateEndpointConnectionRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)
Parameters
- operations
- IPrivateEndpointConnectionOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- serviceName
- String
The name of the API Management service.
- privateEndpointConnectionName
- String
Name of the private endpoint connection.
- privateEndpointConnectionRequest
- PrivateEndpointConnectionRequest
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET