Share via


IntegrationAccountPartnerCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string partnerName, Azure.ResourceManager.Logic.IntegrationAccountPartnerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountPartnerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountPartnerData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountPartnerResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, partnerName As String, data As IntegrationAccountPartnerData, Optional cancellationToken As CancellationToken = Nothing) As 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