/// <summary> /// List the sparkConfigurations in a workspace. /// </summary> /// <remarks> /// List sparkConfigurations 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='workspaceName'> /// The name of the workspace. /// </param> public static IPage <SparkConfigurationResource> ListByWorkspace(this ISparkConfigurationsOperations operations, string resourceGroupName, string workspaceName) { return(operations.ListByWorkspaceAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult()); }