/// <summary>
 /// Get SparkConfiguration by name.
 /// </summary>
 /// <remarks>
 /// Get SparkConfiguration by name in a workspace.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='sparkConfigurationName'>
 /// SparkConfiguration name
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <SparkConfigurationResource> GetAsync(this ISparkConfigurationOperations operations, string resourceGroupName, string sparkConfigurationName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, sparkConfigurationName, workspaceName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get SparkConfiguration by name.
 /// </summary>
 /// <remarks>
 /// Get SparkConfiguration by name in a workspace.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='sparkConfigurationName'>
 /// SparkConfiguration name
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace
 /// </param>
 public static SparkConfigurationResource Get(this ISparkConfigurationOperations operations, string resourceGroupName, string sparkConfigurationName, string workspaceName)
 {
     return(operations.GetAsync(resourceGroupName, sparkConfigurationName, workspaceName).GetAwaiter().GetResult());
 }