PrivateEndpointConnectionsOperationsExtensions.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 or updates PrivateEndpointConnections of service namespace. https://msdn.microsoft.com/en-us/library/azure/mt639408.aspx
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, namespaceName As String, privateEndpointConnectionName As String, parameters As PrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)
Parameters
- operations
- IPrivateEndpointConnectionsOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group within the azure subscription.
- namespaceName
- String
The Namespace name
- privateEndpointConnectionName
- String
The PrivateEndpointConnection name
- parameters
- PrivateEndpointConnection
Parameters supplied to update Status of PrivateEndPoint Connection to namespace resource.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET