Sdílet prostřednictvím


ProfileResource.UpgradeFrontDoorProfile Method

Definition

Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/upgrade
  • Operation Id: FrontDoorProfiles_Upgrade
  • Default Api Version: 2024-02-01
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource> UpgradeFrontDoorProfile (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpgradeFrontDoorProfile : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource>
override this.UpgradeFrontDoorProfile : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource>
Public Overridable Function UpgradeFrontDoorProfile (waitUntil As WaitUntil, content As ProfileUpgradeContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ProfileResource)

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.

content
ProfileUpgradeContent

Profile upgrade input parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to