Freigeben über


RelationshipLinkResourceFormatCollection.CreateOrUpdate Methode

Definition

Erstellt einen Beziehungslink oder aktualisiert einen vorhandenen Beziehungslink innerhalb eines Hubs.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}
  • Vorgang IdRelationshipLinks_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string relationshipLinkName, Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CustomerInsights.RelationshipLinkResourceFormatResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, relationshipLinkName As String, data As RelationshipLinkResourceFormatData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of RelationshipLinkResourceFormatResource)

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

relationshipLinkName
String

Der Name des Beziehungslinks.

data
RelationshipLinkResourceFormatData

Parameter, die für den CreateOrUpdate-Beziehungslinkvorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

relationshipLinkName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

relationshipLinkName oder data ist NULL.

Gilt für: