Share via


ArtifactManifestCollection.CreateOrUpdate 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string artifactManifestName, Azure.ResourceManager.HybridNetwork.ArtifactManifestData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactManifestData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.HybridNetwork.ArtifactManifestData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.HybridNetwork.ArtifactManifestResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, artifactManifestName As String, data As ArtifactManifestData, Optional cancellationToken As CancellationToken = Nothing) As 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