ArtifactStoreCollection.CreateOrUpdateAsync Method

Definition

Creates or updates a artifact store.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}
  • Operation Id: ArtifactStores_CreateOrUpdate
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))

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.

artifactStoreName
String

The name of the artifact store.

data
ArtifactStoreData

Parameters supplied to the create or update application group operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

artifactStoreName or data is null.

Applies to