共用方式為


ResourceConnectorApplianceResource.Update 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 Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource> Update (Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>
override this.Update : Azure.ResourceManager.ResourceConnector.Models.ResourceConnectorAppliancePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceConnector.ResourceConnectorApplianceResource>
Public Overridable Function Update (patch As ResourceConnectorAppliancePatch, Optional cancellationToken As CancellationToken = Nothing) As 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