共用方式為


CloudHsmClusterPrivateEndpointConnectionResource.Update 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterPrivateEndpointConnectionResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As CloudHsmClusterPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As 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