Share via


IntegrationAccountSessionCollection.CreateOrUpdate Method

Definition

Creates or updates an integration account session.

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

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.

sessionName
String

The integration account session name.

data
IntegrationAccountSessionData

The integration account session.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

sessionName or data is null.

Applies to