/// <summary> /// Creates a new CDN profile with a 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='profile'> /// Profile properties needed to create a new profile. /// </param> public static Profile BeginCreate(this IProfilesOperations operations, string resourceGroupName, string profileName, Profile profile) { return(operations.BeginCreateAsync(resourceGroupName, profileName, profile).GetAwaiter().GetResult()); }