Share via


EdgeConfigTemplateResource.CreateVersionAsync Method

Definition

Create or update a Config Template Version Resource with the specified UpdateType

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

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
ConfigTemplateVersionWithUpdateType

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to