FrontendResource.UpdateAsync(FrontendPatch, CancellationToken) 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.
Update a Frontend
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}
- Operation Id: FrontendsInterface_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>> UpdateAsync (Azure.ResourceManager.ServiceNetworking.Models.FrontendPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.FrontendPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
override this.UpdateAsync : Azure.ResourceManager.ServiceNetworking.Models.FrontendPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
Public Overridable Function UpdateAsync (patch As FrontendPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontendResource))
Parameters
- patch
- FrontendPatch
The resource properties to be updated.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.