ProfileResource.UpgradeFrontDoorProfileAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource>> UpgradeFrontDoorProfileAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpgradeFrontDoorProfileAsync : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource>>
override this.UpgradeFrontDoorProfileAsync : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.ProfileUpgradeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Cdn.ProfileResource>>
Public Overridable Function UpgradeFrontDoorProfileAsync (waitUntil As WaitUntil, content As ProfileUpgradeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Azure SDK for .NET