共用方式為


ResourceConnectorApplianceResource.UpdateAsync Method

Definition

Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}
  • Operation Id: Appliances_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>> UpdateAsync (Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>>
override this.UpdateAsync : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>>
Public Overridable Function UpdateAsync (patch As ResourceConnectorAppliancePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceConnectorApplianceResource))

Parameters

patch
ResourceConnectorAppliancePatch

The updatable fields of an existing Appliance.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to