Partilhar via


EdgeDynamicSchemaVersionCollection.CreateOrUpdateAsync Method

Definition

Create or update a Dynamic Schema Version Resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/schemas/{schemaName}/dynamicSchemas/{dynamicSchemaName}/versions/{dynamicSchemaVersionName}
  • Operation Id: DynamicSchemaVersion_CreateOrUpdate
  • Default Api Version: 2025-06-01
  • Resource: EdgeDynamicSchemaVersionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string dynamicSchemaVersionName, Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeDynamicSchemaVersionResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, dynamicSchemaVersionName As String, data As EdgeDynamicSchemaVersionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of EdgeDynamicSchemaVersionResource))

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.

dynamicSchemaVersionName
String

The name of the DynamicSchemaVersion.

data
EdgeDynamicSchemaVersionData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

dynamicSchemaVersionName or data is null.

Applies to