Partager via


IntegrationServiceEnvironmentManagedApiCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string apiName, Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Logic.IntegrationServiceEnvironmentManagedApiResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, apiName As String, data As IntegrationServiceEnvironmentManagedApiData, Optional cancellationToken As CancellationToken = Nothing) As 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 à