/// <summary> /// Updates an existing CDN profile with the specified profile name under the /// specified subscription and resource group. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the Resource group within the Azure subscription. /// </param> /// <param name='profileName'> /// Name of the CDN profile which is unique within the resource group. /// </param> /// <param name='tags'> /// Profile tags /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ProfileInner> BeginUpdateAsync(this IProfilesOperations operations, string resourceGroupName, string profileName, IDictionary <string, string> tags, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, profileName, tags, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }