Share via


ArtifactManifestCollection.CreateOrUpdateAsync Method

Definition

Creates or updates a artifact manifest.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}/artifactManifests/{artifactManifestName}
  • Operation Id: ArtifactManifests_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string artifactManifestName, Azure.ResourceManager.HybridNetwork.ArtifactManifestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactManifestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactManifestData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, artifactManifestName As String, data As ArtifactManifestData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ArtifactManifestResource))

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.

artifactManifestName
String

The name of the artifact manifest.

data
ArtifactManifestData

Parameters supplied to the create or update artifact manifest operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

artifactManifestName or data is null.

Applies to