Share via


IntegrationAccountPartnerCollection.CreateOrUpdateAsync Method

Definition

Creates or updates an integration account partner.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}
  • Operation Id: IntegrationAccountPartners_CreateOrUpdate
  • Default Api Version: 2019-05-01
  • Resource: IntegrationAccountPartnerResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string partnerName, Azure.ResourceManager.Logic.IntegrationAccountPartnerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountPartnerData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountPartnerData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, partnerName As String, data As IntegrationAccountPartnerData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IntegrationAccountPartnerResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

partnerName
String

The integration account partner name.

data
IntegrationAccountPartnerData

The integration account partner.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

partnerName is an empty string, and was expected to be non-empty.

partnerName or data is null.

Applies to