다음을 통해 공유


EdgeSolutionCollection.CreateOrUpdate Method

Definition

Create or update a Solution Resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/targets/{targetName}/solutions/{solutionName}
  • Operation Id: Solution_CreateOrUpdate
  • Default Api Version: 2025-06-01
  • Resource: EdgeSolutionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string solutionName, Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, solutionName As String, data As EdgeSolutionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of EdgeSolutionResource)

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.

solutionName
String

Name of the solution.

data
EdgeSolutionData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

solutionName or data is null.

Applies to