Udostępnij za pośrednictwem


IntegrationAccountSchemaCollection.CreateOrUpdateAsync Method

Definition

Creates or updates an integration account schema.

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

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.

schemaName
String

The integration account schema name.

data
IntegrationAccountSchemaData

The integration account schema.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

schemaName or data is null.

Applies to