共用方式為


HybridDataManagerResource.UpdateAsync Method

Definition

Updates the properties of an existing data manager resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}
  • Operation Id: DataManagers_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridData.HybridDataManagerResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HybridData.Models.HybridDataManagerPatch patch, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridData.Models.HybridDataManagerPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridData.HybridDataManagerResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.HybridData.Models.HybridDataManagerPatch * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridData.HybridDataManagerResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As HybridDataManagerPatch, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of HybridDataManagerResource))

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.

patch
HybridDataManagerPatch

Data manager resource details from request body.

ifMatch
String

Defines the If-Match condition. The patch will be performed only if the ETag of the data manager resource on the server matches this value.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to