SphereCatalogCollection.CreateOrUpdate Method

Definition

Create a Catalog

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}
  • Operation Id: Catalogs_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: SphereCatalogResource
C#
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sphere.SphereCatalogResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string catalogName, Azure.ResourceManager.Sphere.SphereCatalogData data, System.Threading.CancellationToken cancellationToken = default);

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.

catalogName
String

Name of catalog.

data
SphereCatalogData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

catalogName or data is null.

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview