예제 #1
0
 /// <summary>
 /// Deletes an existing CDN profile with the specified parameters. Deleting a
 /// profile will result in the deletion of all of the sub-resources including
 /// endpoints, origins and custom domains.
 /// </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>
 public static void BeginDelete(this IProfilesOperations operations, string resourceGroupName, string profileName)
 {
     operations.BeginDeleteAsync(resourceGroupName, profileName).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes a profile within a hub
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='hubName'>
 /// The name of the hub.
 /// </param>
 /// <param name='profileName'>
 /// The name of the profile.
 /// </param>
 /// <param name='localeCode'>
 /// Locale of profile to retrieve, default is en-us.
 /// </param>
 public static void BeginDelete(this IProfilesOperations operations, string resourceGroupName, string hubName, string profileName, string localeCode = "en-us")
 {
     operations.BeginDeleteAsync(resourceGroupName, hubName, profileName, localeCode).GetAwaiter().GetResult();
 }