Delen via


IntegrationAccountSessionCollection.CreateOrUpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountSessionResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string sessionName, Azure.ResourceManager.Logic.IntegrationAccountSessionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountSessionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountSessionResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationAccountSessionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationAccountSessionResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, sessionName As String, data As IntegrationAccountSessionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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