/// <summary> /// Delete the Provisioning Service /// </summary> /// <remarks> /// Deletes the Provisioning Service. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='provisioningServiceName'> /// Name of provisioning service to delete. /// </param> /// <param name='resourceGroupName'> /// Resource group identifier. /// </param> public static void BeginDelete(this IIotDpsResourceOperations operations, string provisioningServiceName, string resourceGroupName) { operations.BeginDeleteAsync(provisioningServiceName, resourceGroupName).GetAwaiter().GetResult(); }