Share via


CloudHsmClusterPrivateEndpointConnectionResource.UpdateAsync Method

Definition

Creates or updates the private endpoint connection for the Cloud Hsm Cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}
  • Operation Id: CloudHsmClusterPrivateEndpointConnections_Create
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterPrivateEndpointConnectionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As CloudHsmClusterPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of CloudHsmClusterPrivateEndpointConnectionResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

data
CloudHsmClusterPrivateEndpointConnectionData

Parameters of the PrivateEndpointConnection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to