public async Task Update() { SubscriptionResource subscription = await Client.GetDefaultSubscriptionAsync(); ResourceGroupResource rg = await CreateResourceGroup(subscription, "testRg-"); string cdnProfileName = Recording.GenerateAssetName("profile-"); ProfileResource cdnProfile = await CreateCdnProfile(rg, cdnProfileName, CdnSkuName.StandardAkamai); var lro = await cdnProfile.AddTagAsync("newTag", "newValue"); ProfileResource updatedCdnProfile = lro.Value; ResourceDataHelper.AssertProfileUpdate(updatedCdnProfile, "newTag", "newValue"); }