PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, String, String, String, PrivateEndpointConnectionProperties, CancellationToken) 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.
Update the status of a private endpoint connection with the given name.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.PrivateEndpointConnection> CreateOrUpdateAsync (this Microsoft.Azure.Management.DigitalTwins.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, Microsoft.Azure.Management.DigitalTwins.Models.PrivateEndpointConnectionProperties properties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DigitalTwins.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.DigitalTwins.Models.PrivateEndpointConnectionProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DigitalTwins.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, resourceName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnectionProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)
Parameters
- operations
- IPrivateEndpointConnectionsOperations
The operations group for this extension method.
- resourceGroupName
- System.String
The name of the resource group that contains the DigitalTwinsInstance.
- resourceName
- System.String
The name of the DigitalTwinsInstance.
- privateEndpointConnectionName
- System.String
The name of the private endpoint connection.
- properties
- PrivateEndpointConnectionProperties
- cancellationToken
- System.Threading.CancellationToken
The cancellation token.
Returns
- System.Threading.Tasks.Task<PrivateEndpointConnection>