Freigeben über


ResourceConnectorApplianceResource.UpdateAsync Methode

Definition

Updates eine Appliance mit dem angegebenen Ressourcennamen in der angegebenen Ressourcengruppe und dem angegebenen Abonnement.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}
  • Vorgangs-IdAppliances_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))

Parameter

patch
ResourceConnectorAppliancePatch

Die aktualisierbaren Felder einer vorhandenen Appliance.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: