Partager via


IntegrationServiceEnvironmentManagedApiCollection.CreateOrUpdateAsync Méthode

Définition

Place l’api managée de l’environnement de service d’intégration.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName}/managedApis/{apiName}
  • IdIntegrationServiceEnvironmentManagedApis_Put d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string apiName, Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, apiName As String, data As IntegrationServiceEnvironmentManagedApiData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of IntegrationServiceEnvironmentManagedApiResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

apiName
String

Nom de l’API.

data
IntegrationServiceEnvironmentManagedApiData

Api managée de l’environnement de service d’intégration.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

apiName est une chaîne vide et devait être non vide.

apiName ou data est null.

S’applique à