Esempio n. 1
0
 /// <summary>
 /// Deletes an existing CDN profile with the specified parameters. Deleting a
 /// profile will result in the deletion of all subresources including
 /// endpoints, origins and custom domains.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='profileName'>
 /// Name of the CDN profile within the resource group.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group within the Azure subscription.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteIfExistsAsync(this IProfilesOperations operations, string profileName, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken))
 {
     await operations.BeginDeleteIfExistsWithHttpMessagesAsync(profileName, resourceGroupName, null, cancellationToken).ConfigureAwait(false);
 }