Share via


EdgeConfigTemplateResource.CreateVersion 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeConfigTemplateVersionResource> CreateVersion(Azure.WaitUntil waitUntil, Azure.ResourceManager.WorkloadOrchestration.Models.ConfigTemplateVersionWithUpdateType body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateVersion : Azure.WaitUntil * Azure.ResourceManager.WorkloadOrchestration.Models.ConfigTemplateVersionWithUpdateType * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeConfigTemplateVersionResource>
override this.CreateVersion : Azure.WaitUntil * Azure.ResourceManager.WorkloadOrchestration.Models.ConfigTemplateVersionWithUpdateType * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeConfigTemplateVersionResource>
Public Overridable Function CreateVersion (waitUntil As WaitUntil, body As ConfigTemplateVersionWithUpdateType, Optional cancellationToken As CancellationToken = Nothing) As 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