Share via


InformaticaOrganizationCollection.CreateOrUpdateAsync Method

Definition

Create a InformaticaOrganizationResource

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

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.

organizationName
String

Name of the Organizations resource.

data
InformaticaOrganizationData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

organizationName or data is null.

Applies to