Freigeben über


EndpointResource.Update(EndpointResourceData, CancellationToken) Methode

Definition

Aktualisieren Sie den Endpunkt auf die Zielressource.

  • Anforderungspfad/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}
  • Vorgang IdEndpoints_Update
public virtual Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource> Update (Azure.ResourceManager.HybridConnectivity.EndpointResourceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.HybridConnectivity.EndpointResourceData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>
override this.Update : Azure.ResourceManager.HybridConnectivity.EndpointResourceData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>
Public Overridable Function Update (data As EndpointResourceData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EndpointResource)

Parameter

data
EndpointResourceData

Endpunktdetails.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: