Sdílet prostřednictvím


DeviceUpdateInstanceResource.Update Method

Definition

Updates instance's tags.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances/{instanceName}
  • Operation Id: Instances_Update
public virtual Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateInstanceResource> Update (Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateInstancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateInstancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateInstanceResource>
override this.Update : Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateInstancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceUpdate.DeviceUpdateInstanceResource>
Public Overridable Function Update (patch As DeviceUpdateInstancePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceUpdateInstanceResource)

Parameters

patch
DeviceUpdateInstancePatch

Updated tags.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to