Freigeben über


AppLinkCollection.CreateOrUpdate Method

Definition

Create an AppLink.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppLink/appLinks/{appLinkName}.
  • Operation Id. : AppLinks_CreateOrUpdate.
  • Default Api Version. : 2025-08-01-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppNetwork.AppLinkResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string appLinkName, Azure.ResourceManager.AppNetwork.AppLinkData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppNetwork.AppLinkData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppNetwork.AppLinkResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppNetwork.AppLinkData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppNetwork.AppLinkResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, appLinkName As String, data As AppLinkData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppLinkResource)

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.

appLinkName
String

The name of the AppLink.

data
AppLinkData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

appLinkName or data is null.

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

Applies to