Share via


EdgeSchemaResource.CreateVersionAsync Method

Definition

Create a Schema Version Resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/schemas/{schemaName}/createVersion
  • Operation Id: Schemas_CreateVersion
  • Default Api Version: 2025-06-01
  • Resource: EdgeSchemaResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaVersionResource>> CreateVersionAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.WorkloadOrchestration.Models.EdgeSchemaVersionWithUpdateType body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateVersionAsync : Azure.WaitUntil * Azure.ResourceManager.WorkloadOrchestration.Models.EdgeSchemaVersionWithUpdateType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaVersionResource>>
override this.CreateVersionAsync : Azure.WaitUntil * Azure.ResourceManager.WorkloadOrchestration.Models.EdgeSchemaVersionWithUpdateType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSchemaVersionResource>>
Public Overridable Function CreateVersionAsync (waitUntil As WaitUntil, body As EdgeSchemaVersionWithUpdateType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of EdgeSchemaVersionResource))

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.

body
EdgeSchemaVersionWithUpdateType

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to