InformaticaServerlessRuntimeCollection.CreateOrUpdateAsync Method

Definition

Create a InformaticaServerlessRuntimeResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}
  • Operation Id: ServerlessRuntimes_CreateOrUpdate
  • Default Api Version: 2024-05-08
  • Resource: InformaticaServerlessRuntimeResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string serverlessRuntimeName, Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, serverlessRuntimeName As String, data As InformaticaServerlessRuntimeData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of InformaticaServerlessRuntimeResource))

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.

serverlessRuntimeName
String

Name of the Serverless Runtime resource.

data
InformaticaServerlessRuntimeData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

serverlessRuntimeName or data is null.

Applies to