Freigeben über


CustomLocationResource.Update(CustomLocationPatch, CancellationToken) Methode

Definition

Updates einen benutzerdefinierten Speicherort mit dem angegebenen Ressourcennamen in der angegebenen Ressourcengruppe und dem angegebenen Abonnement.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
  • Vorgang IdCustomLocations_Update
public virtual Azure.Response<Azure.ResourceManager.ExtendedLocations.CustomLocationResource> Update (Azure.ResourceManager.ExtendedLocations.Models.CustomLocationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ExtendedLocations.Models.CustomLocationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ExtendedLocations.CustomLocationResource>
override this.Update : Azure.ResourceManager.ExtendedLocations.Models.CustomLocationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ExtendedLocations.CustomLocationResource>
Public Overridable Function Update (patch As CustomLocationPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CustomLocationResource)

Parameter

patch
CustomLocationPatch

Die aktualisierbaren Felder eines vorhandenen benutzerdefinierten Speicherorts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: