Partager via


ArtifactStoreCollection.CreateOrUpdateAsync Méthode

Définition

Crée ou met à jour un magasin d’artefacts.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}
  • IdArtifactStores_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string artifactStoreName, Azure.ResourceManager.HybridNetwork.ArtifactStoreData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactStoreData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactStoreData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, artifactStoreName As String, data As ArtifactStoreData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ArtifactStoreResource))

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.

artifactStoreName
String

Nom du magasin d’artefacts.

data
ArtifactStoreData

Paramètres fournis à l’opération de création ou de mise à jour d’un groupe d’applications.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

artifactStoreName ou data est null.

S’applique à