IntegrationAccountAgreementCollection.CreateOrUpdate Method

Definition

Creates or updates an integration account agreement.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}
  • Operation Id: IntegrationAccountAgreements_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountAgreementResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string agreementName, Azure.ResourceManager.Logic.IntegrationAccountAgreementData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountAgreementData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountAgreementResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountAgreementData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountAgreementResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, agreementName As String, data As IntegrationAccountAgreementData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IntegrationAccountAgreementResource)

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.

agreementName
String

The integration account agreement name.

data
IntegrationAccountAgreementData

The integration account agreement.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

agreementName or data is null.

Applies to